GAP EA F40 sell order stop
-
my EA does not take a trade in sell the config is the exact opposite of long yet it does not take a sell, I do not understand, The EA is made to go on the F40 (CAC40) where the opening of the market is at 09:00 https://fxdreema.com/shared/9u9Se5fNb i use in timeframe 5 min
-
Is this the whole structure or just part of it?
-
its whole structure just for try Gap trading, but i skiped this EA, (the problem isnt resolute)
-
But is the bot programmimg any pending orders or none at all?
-
the robot waits for the first candle on the CAC40 to have passed (Timeframe M5) and places a stop/limit order on the high/low on the first candle of the day to hope to fill the gap/2 this makes it possible to avoid some gap of breakup
-
@biez6900 Then you should substitute block 17 setting and copy those from block 6 but changing the sign in the opposite direction.

-

I don't think it's useful, on the screen as in the project but as you can see I reversed it on the candle ID -
Then I can't see any issue other than a bug somewhere in the code. This structure should work.
-
thank you for taking the time to try to help me, it's nice
-
You're welcome. Try contacting the admin. Maybe he'll be able to find where's the problem.
-
@biez6900 try putting the formula results on ugly comment, then test it, I think that the problem is in the logic of the results, because you are using them on TP,SL and also you are using these that every thick affects on your variable...

I think that for use it you must to put a condition there that happen every event that happens
-
Also, usually shorts and longs doesn't works on the same way, maybe for sells you must to multiply by 1 instead a negative number, just a such of example