sunshineh:
This ? https://docs.mql4.com/series/iBarShift
How can I get the High-Level from a from "Time[i-1]". That means how can I convert a specific Time into the actual i??
Time[i-1] is a future time compared to Time[i] don't you mean Time[i+1]

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I am writing an indicator:
First I've tried
...
lastlowpos = i-1;
ObjectCreate(...,Time[lastlospos], High[lastlospos]); //=working with i
.... and it work's great in the backtest but not in the livetest
Now I wanted to convert my indicator to use the Time[]-funktion, that mean's working with the bars back to 1970.
...
lastlowpos = Time[i-1];
ObjectCreate(...,lastlowpos, High[?????]);
...
How can I get the High-Level from a from "Time[i-1]". That means how can I convert a specific Time into the actual i??
I hope, you can understand my question.
Lot's of thanks, sunshineh