press button and draw horizontal line
-
Hello
I want to put a button on the chart and by pressing the button
Mark the highest and lowest prices of the past 20 candles with a horizontal line.
But....
There is a problem....
The button appears on the chart, but pressing it does not change anything.
where am i going wrong?
Here is the link:
https://fxdreema.com/shared/WrepvcFO -
Do this on tick, this way works on back test, condition block, object on chart with button name==1, this is for button on, do required settings, redraw button off, use if testing block above, once working copy on yo on trade tab without if testing.