ObjectCreate("link",OBJ_TREND,0,Time[1],PRICE1,Time[0],PRECE2);
...
Because the parameter n used by Time[n] cannot be negative. so how can i shift the trendline object rigth to beyond the most recent bar?
...
Because the parameter n used by Time[n] cannot be negative. so how can i shift the trendline object rigth to beyond the most recent bar?
Calculate time as "Time[0] +Period()*60* n" it should work.
ObjectCreate("link",OBJ_TREND,0,Time[1],PRICE1,Time[0],PRECE2);
...
Because the parameter n used by Time[n] cannot be negative. so how can i shift the trendline object rigth to beyond the most recent bar?
...
Because the parameter n used by Time[n] cannot be negative. so how can i shift the trendline object rigth to beyond the most recent bar?
Calculate time as "Time[0] +Period()*60* n" it should work.
actually it does WORK!
Thank you very much!
Happy New Year.
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
...
Because the parameter n used by Time[n] cannot be negative. so how can i shift the trendline object rigth to beyond the most recent bar?