Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Figuring out logic for reversal entry, or bar only of certain OHLC length

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

    Figuring out logic for reversal entry, or bar only of certain OHLC length

    Hi guys,

    Ive been fiddling around in the strategy builder trying to make this work, but I am failing on the logic I need to get this working properly.

    I am using UniRenko to produce reversal bars, and simply want to enter on a bar of a certain length.

    In my attached example, I am using 35 ticks (or 8.75 points on ES) to produce an entry bar (essentially a reversal). I simply want that bar (which is 35 ticks OHLC) to produce a long entry. The strategy can only take short position next (since a reversal bar would have to be generated to signal it) and after a short position, only a long position, etc.

    Let me know if this makes sense. Thank you in advance for any suggestions!

    #2
    Hello quicksandatl,

    The only way to be able to do arithmetic would be to use a Series, you could add a custom series to be used for calculating a difference value on each bar.

    For what you described that would require using 1 custom series. You would need to set the series to the High minus the Low which would give you a difference. That result series could be compared against the Misc. -> Numeric value or a user input. That would be a price difference so you would need to determine how much price is equal to 35 ticks and then check for that amount of price difference.

    You could control the direction of the trade based on the current strategy position. For example if you are in a long position and your condition to trade becomes true you could submit a short entry to reverse the position.

    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
    135 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
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X