In some cases it may be possible that both the entry and the exit orders will be executed based on the same tick.
For a detailed description see [[<span style="color: red;">'''LINK'''</span> /04_PL/41-0002_Scripts.html name="2=23"; How_Scripts_Work#Order_Execution_Priority|Order Execution Priority]]
=== Strategy Order Calculation for Historical Data ===
In some cases it may be possible that both the entry and the exit orders will be executed based on the same bar.
For a detailed description see [[<span style="color: red;">'''LINK'''</span> /04_PL/41-0002_Scripts.html name="2=23"; How_Scripts_Work#Order_Execution_Priority|Order Execution Priority]]