Exit settings or SL/TP?

 

Hello!

If an EA uses SL and TP (UseStopLoss = True and UseTakeProfit =True), can it, at the same time, use exit settings?

On my EA, it seems everytime I set it to work with SL and TP, the exit settings are disabled. When I do this the profit is allways the same even if I change radically exit settings...

Does anyone have an idea?

Thanks!

 

unless c code how give ok answer?

best

 
fbj wrote >>

unless c code how give ok answer?

best

Hello!

So if the TP and SL are disableing the exit settings, here must be something wrong with the code, right? There is no reason (logical reason) for the exit settings to be besabled when SL an TP are on... Is that right?

 

RC

Usually means you are trailing stops too close?

Or... they may be a fault in your close logic?

Try a back test with VERY wide SL, TP & TS to see if you get closed trades in the results tab
If still no luck, post the code & we will tell you if possible?

-BB-

 
BarrowBoy wrote >>

RC

Usually means you are trailing stops too close?

Or... they may be a fault in your close logic?

Try a back test with VERY wide SL, TP & TS to see if you get closed trades in the results tab
If still no luck, post the code & we will tell you if possible?

-BB-

Thanks!

 
BarrowBoy wrote >>

RC

Usually means you are trailing stops too close?

Or... they may be a fault in your close logic?

Try a back test with VERY wide SL, TP & TS to see if you get closed trades in the results tab
If still no luck, post the code & we will tell you if possible?

-BB-

Hello BarrowBoy !

You were absolutelly right! I used very wide TP and SL and the exit setings "steped in"! Thanks!

Reason: