Hello friend,
Maybe use ObjectDelete()
I've seen your solution, the problem is not so much that I draw the lines, but that draws them continuously, in fact, it should draw the red line ONLY when the sell condition happens, and the green line ONLY when the buy condition occurs, NOT always continuously at every tick.
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
Hi guys, I did this function "TouchMedia ()" I would like it to work in the following way:
1) Buy Condition: when the average "touches" the lower shadow of the candle "n" and therefore at the candle "n + 1" should recall the function “AllertForBuy” then draw a green line ONLY on the candle " n + 1 ";
2)Sell Condition: when the average "touches" the upper shadow of the candle "n" and therefore to the candle "n + 1" should recall the function "AllertForSell " then draw a red line ONLY on the candle" n + 1 ";
and not how it works now because it makes a series of red and green lines (see the photos in attachment).