Entry check based on overall PNL

Any clues here why it is not working?

All looks good. I don’t see any issue in code. Ideally it should work.

That is the issue…don’t know what is the problem here

Maybe universal exit is taking preference over set exit?

Any suggestions here what to do?

Can you also show me your PE order exit conditions? You have shown only CE conditions above.
Also what frequency conditions are checked in the strategy?

Entry for PUT


Advance settings

My analysis.
You are playing with 4 points target at set level and 7 point target at strategy level. There is a possibility that 7 point can be reached at strategy level before reaching 4 points at set level. Ex. 3.5 +3.5 or some other combination. Also 4 points variation can happen very fast in live market within few seconds.

To test set exit working - make strategy ext at 10 points. 10 is more than combined set level exit 4+4.
So it is absolute that at least one set must exit before universal exit
OR
Observe few more days with the current setup and see how strategy is behaving

My point is current setup looks good and should work as expected

Thank you…will update the universal exit and see how it behaves