Fixed Stop not Executing on Bar 1
3 replies
Brandon
1 year ago #290478
Hello, I’m hoping someone can help me with an issue I’m experiencing, assuming I’ve overlooked a setting somewhere.
I’m using daily data in StrategyQuant X (Build 141), and I have “Use initial SL & PT” turned on in the Trading Options. From the tooltip, it seems that this should cause SL/PT to be applied immediately after a trade is filled, even on the same bar.
However, when I review the trade logs, I’m seeing a consistent pattern:
Trades that violate the stop loss level on the entry bar don’t close until the open of the next bar.
Even though the SL price is clearly within the high-low range of the entry bar, the exit isn’t triggered until the next day.
Trades that violate the SL on Day 2 or later execute as expected intrabar at the stop level as expected.
Am I misunderstanding how this works with daily data? Is there another setting that I’m missing somewhere?
I’ll give one specific example shown in the attached screenshots. This strategy utilizes a 120-pip or 30-point stop-loss. On 2022.02.17, a trade is opened at the open price of 5047.25, and a stop should be in place at 5017.25. The low on that day was 4950, well below the stop level. That trade was closed on the next open instead of stopping out.
Thank you in advance for any guidance.
0
Brandon
1 year ago #290483
*Not sure what happened with the formatting or attachments. It gave me an error when I posted.
Hello, I’m hoping someone can help me with an issue I’m experiencing, assuming I’ve overlooked a setting somewhere.
I’m using daily data in StrategyQuant X (Build 141), and I have “Use initial SL & PT” turned on in the Trading Options. From the tooltip, it seems that this should cause SL/PT to be applied immediately after a trade is filled, even on the same bar.
However, when I review the trade logs, I’m seeing a consistent pattern:
* Trades that violate the stop loss level on the entry bar don’t close until the open of the next bar.
* Even though the SL price is clearly within the high-low range of the entry bar, the exit isn’t triggered until the next day.
* Trades that violate the SL on Day 2 or later execute as expected intrabar at the stop level as expected.
Am I misunderstanding how this works with daily data? Is there another setting that I’m missing somewhere?
I’ll give one specific example shown in the attached screenshots. This strategy utilizes a 120-pip or 30-point stop-loss. On 2022.02.17, a trade is opened at the open price of 5047.25, and a stop should be in place at 5017.25. The low on that day was 4950, well below the stop level. That trade was closed on the next open instead of stopping out.
Thank you in advance for any guidance.
0
Tomas Matejka
1 year ago #290532
Hello,
the dev team is aware of the issue and is looking into it now. It will be debugged and fixed into the upcoming update
0
Brandon
1 year ago #290550
Ok, thank you for the update. Is there or will there be an issue/bug ticket on the Roadmap dashboard that I can follow? Do you know when the update is targeted to be released?
0
Viewing 3 replies - 1 through 3 (of 3 total)