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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X