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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    64 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    139 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X