Alexander Atilla Kallai: but this only extends 5 minutes in the future
Don't do that. Just draw the TLine and enable Ray to extend.
hello thans for the response. i do the trendline as i wanted the line only to paint until a set time (max drawing to lets say 16:00)
basically the line follows the current bar but offsets 5 bars to the right. if i use a ray right it will draw trough the whole chart
got it done solution was
TimeCurrent()+PeriodSeconds()*(5)

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
hello, how can i make a candle bar offset with an trendline
currently used
(ObjectCreate(0,name,OBJ_TREND,0,iTime(_Symbol,PERIOD_CURRENT,startPaintingCandel),nextLowPt,iTime(_Symbol,PERIOD_CURRENT,0)+5*60,nextLowPt
but this only extends 5 minutes in the future
thank you