IndicatorCounted in FT3
Posted: Thu Jun 29, 2017 5:14 am
IndicatorCounted function is not present in FT3 API, so how would you convert this MQL4 loop to FT3?
I couldn't figure it out from the documentation.
Code: Select all
int counted_bars = IndicatorCounted();
if (counted_bars > 0) { counted_bars--; }
int limit = Bars - counted_bars;
for (int i = 0; i < limit; i++) {
// calculations happen here using High(i), Low(i), Volume(i), etc...
}
I couldn't figure it out from the documentation.