Hello,
Yesterday, doing backtest of a system with a combined stop of this type:
“SET STOP pLOSS x pTRAILING y: A stop loss is placed at x points from average position price and it
becomes a trailing stop of y points if the trailing stop level becomes closer to current price than the stop loss
level (this occurs price varies favorably by y points – x points).”
I understand that the logic of this order is to programm the “y”> “x”.
But I tried to optimise with “y” and “x” as a variables and I reach the best combination with a “y”<“x”.
As I understand, if I put the “y”<“x” it have to be the same if I put an order with only a trailing like: “SET STOP pTRAILING y”, because the trailing always be closer to the price than the fixed stop.
So I tried to reprogrammate the code only with the trailing order and the result are drasticaly different.
My question is:
- How a combined stop really works?
- Why is different an order like “SET STOP pLOSS 10 pTRAILING 5” than a “SET STOP pTRAILING 5”????
Sorry if my explanation is not the best, I know is a strange question and problem, but I really aprecciate if somebody can help me, is very important to me.
Thanks in advance.