Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATR bars

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

    ATR bars

    Is there a way to set a condition in strategy builder for if the color of the bar is too big?

    Like on the long side, a huge red candle (compared to its ATR) sets off an exit position? thanks

    #2
    Hello ezrollin,

    To make that type of condition you would need to subtract the High from the Low to get a difference in price to know how large or small a bar is. The color would not be able to be used in any type of condition, you would need to use a price so that can be used in a condition.

    A custom series could be used to do math like that, in a sets action you can set a custom series to the High with a minus offset and subtract the low. That would set the series to the difference which could be used later in your other sets conditions.

    Comment


      #3
      Click image for larger version

Name:	dfff.png
Views:	285
Size:	26.9 KB
ID:	1207372
      Was able to set the price Difference[0]
      But I cant figure out how to use the Difference[0] on another set.
      Theres no way to pull it up in the "IF" condition set.

      So I was trying to write an IF condition for IF close > Difference[0] and a red bar (close < open)
      but theres just no way to use the Difference[0] custom series.

      Comment


        #4
        Hello ezrollin,

        You can find the custom series you made under Misc -> Custom Series when making conditions.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        90 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        137 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
        120 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        72 views
        0 likes
        Last Post PaulMohn  
        Working...
        X