I somehow got it.
I added 24 * 60 * 60 to today's time
Hi doshur,
I thought what you need is ObjectSetInteger() with OBJPROP_RAY_RIGHT or some PeriodSecond() to the right - click that.
-->> 911 <<--
onewithzachy:
Hi doshur,
I thought what you need is ObjectSetInteger() with OBJPROP_RAY_RIGHT or some PeriodSecond() to the right - click that.
-->> 911 <<--
PeriodSecond() is useful
Thanks
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 have the codes to draw a horizontal trend line
datetime dt[];
ArraySetAsSeries(dt, true);
if(CopyTime(Symbol(), PERIOD_D1, 0, 2, dt) <= 0) return(0);
ObjectCreate(0, objname, OBJ_TREND, 0, dt[0], price, dt[1], price);
It draws a horizontal line from today's open hour to yesterday's open hour
but I want to draw from today's open to now (all the way to the right of the chart)
Any idea?