Trigger buy or sell on "Indicator Appear"
-
Hi, I have an indicator that works well for me, but I can't get it to trigger a buy/sell when the color change occurs.
I use the buffers to code for either red or green as a filter, but I want to use the change in color. I can use the Indicator Appear block to draw lines when the change occurs, but when I try to use the same block to trigger trades - no trades occur.
Here are my attempts:
Draw lines on color change: https://fxdreema.com/shared/Eb0I78NY - Works fine
Trade on color change: https://fxdreema.com/shared/tUZHMs2vc - Not working, no lines or trades
Regular filter for overall trend (color) https://fxdreema.com/shared/LqU5pk4Ac - works fine
I have been strgguling with this for a long while, any help or suggestions would be appreciated!
-
Don't use 'indicator appears' block. Use 'indicator is visible' instead. However, I'm afraid the problem is that the indicator repaints. That will never make the bot to work properly.