Disliked{quote} If your are looking at the current timeframe, it's: double highest = High[iHighest(_Symbol,_Period,MODE_HIGH,lookback,start_from)]; double lowest = Low[iLowest(_Symbol,_Period,MODE_LOW,lookback,start_from)]; If your are looking at the another timeframe, it's: double highest = iHigh(_Symbol,Tf,iHighest(_Symbol,Tf,MODE_HIGH,lookback,start_from)); double lowest = iLow(_Symbol,Tf,iLowest(_Symbol,Tf,MODE_LOW,lookback,start_from));Ignored
It prints ( HH LL HL LH ) and I'd like to get the highest and lowest candles string symbol.
Attached File(s)
ZigZagEA.mq4
1 KB
|
146 downloads
Zig Zag text .mq4
17 KB
|
143 downloads