Highest & Lowest price.
Created at 18 Oct 2015, 07:37
Highest & Lowest price.
18 Oct 2015, 07:37
How can I collect Highest & Lowest price of some Bars in cAlgo?
MQL4 example:
High[iHighest(_Symbol,PERIOD_CURRENT,MODE_HIGH,BarCount,1)];
Low[iLowest(_Symbol,PERIOD_CURRENT,MODE_LOW,BarCount,1)];
KABUM
18 Oct 2015, 20:22
MarketData.GetSeries(TimeFrame.Daily).High.Last(index);
MarketData.GetSeries(TimeFrame.Daily).Low.Last(index);
Where index = 0 is current bar. TimeFrame to change as you wish
@KABUM