Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Placing a Stop Loss below a candle's low or high

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Placing a Stop Loss below a candle's low or high

    Hi!
    Is there a way in Strategy Builder to set a Stop Loss 2 ticks below a candle's low or high, without unlocking the code? And if not, is there code that I could borrow to do this?
    Thanks in advance!

    #2
    Hello jpeep,

    Thanks for your post.

    The Stops and Targets allows for setting static stop losses based on the entry. If you would like to place stop losses based on price action, you will need to design logic in the Conditions and Actions page to call ExitLongStopMarket when the Strategy Position is long.

    I have attached an example that demonstrates protecting your position with Exit methods in the Strategy Builder. This demonstrates a move to Breakeven, but you could consider moving the stop loss to the Low of a previous bar instead of moving it to Position.AveragePrice.

    We look forward to assisting.
    Attached Files

    Comment


      #3
      Thanks
      I'll check it out and let you know if anything.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      93 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      152 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      80 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      53 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      64 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X