plot a line considering the open of the current day adding up the difference between the high and the low from the previous session
Vars: Range(0),Dif(0);
Dif=HighD(1)-LowD(1);
Level=OpenD(1)-Dif;
Plot1 (Level,"level",green,default,3);
You added your country falg, but you posted on the spanish forum, I’ll move it to the english one.
The posts are written in English, I moved the topic into the appropriate forum.
The translated code into Prorealtime programming language would be:
Dif=dHigh(1)-dLow(1)
Level=dOpen(1)-Dif
return level coloured(0,255,0) style(line,3) as "level"
(not tested, please do).