This snippet demonstrates how to set a stop loss order in ProBuilder, specifically setting it to a very high threshold to effectively disable it under normal trading conditions. The code sets the stop loss percentage to 100%, meaning the stop will only trigger if the instrument’s value drops to zero.
SET Stop %Loss 100
Explanation of the Code:
This approach might be used in scenarios where a trader wants to maintain an open position without an active stop loss under normal market conditions, but still have a safety mechanism in case of a complete price collapse.
Check out this related content for more information:
https://www.prorealcode.com/topic/how-do-you-clear-stop-orders/#post-73384
Visit Link