Trailing Stop as Initial Stop Loss
2 replies
Greg Doscher
1 year ago #281111
Hi there, perhaps this isn’t possible but is there any way to have SQX recognize a trailing stop as the initial stop loss for the sake of calculating % of balance or equity in the money management tab? When generating strategies I don’t like to have it randomly generate an ATR based initial stop, trailing stop AND trailing stop activation because I’m weary of that many conditions leading to overfitting. I would like to have just one trailing stop level, but I’ve noticed in my retesting with money management applied, that it doesn’t seem to size the trades appropriately and I’m guessing it’s because it’s not recognizing the ATR based trailing stop the same as an initial stop and is defaulting to PIPs. Thanks for any guidance here.
tomas262
1 year ago #281163
Hi
this would be possible to do using a template. You can assign a random value to a variable and use the variable for both SL and TSL. See the image attached and this link on how to use templates https://strategyquant.com/?s=template
Greg Doscher
1 year ago #281176
Thanks Tomas, I did figure out a way to do it with a template, but would like to use it when I’m having SQX combine various indicators. Could you request this feature in a future update please? Thanks again for your help.
Viewing 2 replies - 1 through 2 (of 2 total)