![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Indicator Lines
Thank you... WOW... That 's a lot of stuff![](https://c.mql5.com/forextsd/smiles/teeth_smile.png)
OK... I have the "Vertical line figured out now... The HORIZONTAL line is the one actually giving me trouble.
I did Vertical like this:
ExtMapBuffer1=OpenPrice;
ObjectCreate("Start Trading Day", OBJ_VLINE, 0, D'2004.09.07 07:00', ExtMapBuffer1[0]);
Horizontal line works if I put a manual price (hard-coded) like this:
ObjectCreate("Neutral Line", OBJ_HLINE, 0, D'2004.09.07 07:00', 1.7828, ExtMapBuffer2[0]);
But I need help making those into "extern" variable, so I don't have to change the code and re-compile each time I use it. I need it to set on OPEN on the DATE I set in extern variable.
I hope I'm making sense... Thank you so much for trying.
Done
I found a script... Please ignore my post.... Thank you.
have you found a indicator/script that can draw reliable horizontal lines? which of them can do that? thanks
Mktopen only puts todays lines... no good for backtesting..
have you found a indicator/script that can draw reliable horizontal lines? which of them can do that? thanks
Actually, that would be a very useful indicator.