Add "HighLine" in "DrawCurrentSession" as follow.
// Draw session lines /*for(i = 0; i <= iNrOfBars; i++) { miaHiBuffer[i] = dSessionHigh; miaLoBuffer[i] = dSessionLow; } //endfor */ string objName = "HighLine"; if (ObjectFind(objName) < 0) { ObjectCreate(objName, OBJ_HLINE, 0, Time[0], dSessionHigh); ObjectSet(objName, OBJPROP_COLOR, clrYellow); ObjectSet(objName, OBJPROP_STYLE, STYLE_SOLID); ObjectSet(objName, OBJPROP_BACK, true); } else { ObjectMove(objName, 0, Time[0], dSessionHigh); }
Add "LowLine" in a similar way.
Add these 2 lines in "deinit".
ObjectDelete("HighLine"); ObjectDelete("LowLine");
Nagisa Unada:
Add "HighLine" in "DrawCurrentSession" as follow.
Add "LowLine" in a similar way.
Add these 2 lines in "deinit".
wow! Thank you very much it worked for me just as I needed it! grateful for your help

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, I currently have this indicator that I modify with some parameters by watching tutorials (I am not a programmer) this indicator marks the high and low in an hour range from 23:00 to 14:00 but what can I do so that the lines that draw the high and low fully extend?