Break even and max stop loss together


Was looking in the forum but can not find solution to have move to break even and max stop loss.
For max stop loss i use:

ApplyStop( stopTypeLoss, stopModePercent, maxSL );

For move to break even I found solution:

ApplyStop( stopTypeLoss, stopModePercent, 0.0001, True, False, 0, 0, -1, activationFloor=3);

In one of the topics @Tomasz wrote:
"Many cases are just covered by ApplyStop() funciton or combination of two or more ApplyStop() . Really 90%+ of user cases can be handled that way."

My question is how to combine ApplyStop() because if I use together max stop loss and break even code one overwrites another.

Or have to use loop?

I dont need TrailStop.


Frankly these two combined are pretty much the same as single trailing stop. Trailing stop acts as max loss until highest high reaches breakeven threshold, and from then on it is just profitable or breakeven.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.