How do draw a line on the candle clicked?
-
is there any way I can draw a horizontal line on the candle that I clicked on, or the candle closest to my mouse. just on the chart, not in the strategy tester.
The lines won't be there long enough for any new candles to form, So I was thinking I would do this just by getting the candle id of the candle closest to my mouse and storing that in a variable, any way to do this?
-
@supersako I would recommend you to use a custom indicator doing it. If you need an EA to draw a line and a different EA to your openings you will need two different charts to trade, which is hard to do. However, if you find a custom indicator doing so, then you can normally use your launcher EA.
-
@supersako The best option is to use a button that executes or draws the lines you want, I have something similar and it is the only way I have been able to obtain.