My EA won't open any trades..
-
I'm building my 2nd EA to test a hair brained idea strategy out and I'm hitting a brick wall.
https://fxdreema.com/shared/tVVMI6ssc
I've tried everything I could think of.. But it's just not opening any trades when I back test.
Any helpful comments are greatly appreciated!
-
Just take out the No Position block.
Use position count = 1 if you want to make it a single trade ea. -
I disconnected check positions count and just had the no trades block connected but it still didn't work. I have these indicators loaded up and they have multiple true passes per day, so IDK why this is failing still. maybe I messed up somewhere in the candle settings or something. I changed them from 0 to 1 and it still doesn't work.
Could all those blocks I have turned off affect it? -
How would you define when fractal is higher or lower than BB Bands?
-
@nicholasweber86
You have to test one condition after the other.
I have created a help for you to do this.
In the comment you can see that your EA only gets to the first condition.
Now you have to move the control block further and further until you know with which setting all conditions are fulfilled.
Of course, you can also use only one control block.
Also, no order is smaller than 10. Here you only need one block.
In your current setup, the EA would open a position with every tick if the conditions are fulfilled. You have to prevent this.
Attention! The display is in black letters. If you use a black background, you must choose a different colour. -
Another option is you will need a custom indicator for fractal where you can use the arrow as an object and make a condition where it is located above or below the BB band.
-
@nicholasweber86 said in My EA won't open any trades..:
I'm building my 2nd EA to test a hair brained idea strategy out and I'm hitting a brick wall.
https://fxdreema.com/shared/tVVMI6ssc
I've tried everything I could think of.. But it's just not opening any trades when I back test.
Any helpful comments are greatly appreciated!
attention, the fractal indicator does not work on the candle ID1, but on candle ID2 instead. You should change this value
-
@ambrogio This is what fixed it! Thank you. Now to optimize it and tweak it and run into more errors! haha.
-
@nicholas86 you're welcome!