I want to to create a trailing stoploss and draw a dot on the chart to track the changes. The dot tracker works but it moves in both directions I only want it to move up with a buy position and down with a sell position. Also the stoploss
I have an EA that enters a stoploss based on the low of the last '5' bars. This is updated each bar to make a trailing stop. There is also a dot drawn once a bar to track the updated stoploss. This has been working fine and I have
Hi I am trying to use the MACD divergence indicator as a signal for my EA. In order to do this, I have tried to add another array into the indicator that stays at 0 and signals 1 when a divergence condition is met. I wanted to plot this array
I am trying to count the number of bars while a condition is met. In the chart below I want to count the number of red bars (when aray is < 0). I want to make an EA but first I am trying to visulise it to ensure its working correctly.
Hi, I'm a complete beginner so apologies in advance. I have created an EA based on a consolidation breakout indicator. Once the conditions are met it sends two pending orders at the high and low of the consolidation. Once one order is entered the