I’m developing a strategy using the Building Block tool, focusing on simple buy rules and testing exits with ATR. When I test Sell ATR Limit + Sell ATR Stop, it works as expected. However, when I try Sell ATR Limit + Sell ATR Trailing, both exits cancel each other out after the first candle. I recall using Sell ATR Limit + Sell ATR Trailing a few months ago, and it worked fine back then. Here are some example images.
Rename
Thanks for the report. We'll look into it ASAP.
For now, you'll be able to run this if you "Open as a C# Coded Strategy" and change this statement at the bottom:
Those 'stops' TimeSeries are actually not required and may be eliminated for the next update.
CODE:
// IS: private TimeSeries stops; //CHANGE TO: private TimeSeries stops = new();
Those 'stops' TimeSeries are actually not required and may be eliminated for the next update.
This way it worked perfectly. Thank you!
Your Response
Post
Edit Post
Login is required