Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to define an specific bar High or Low

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

    How to define an specific bar High or Low

    Hi,

    Is it possible, using the Strategy Wizard, to define a High or Low price from an specific bar.

    For example

    If Bid Price >= 09:00 Bar High then Buy at Market

    It is possible to define that "Time Bar High or Low"


    Thanks,
    Carlos

    #2
    Hello CarlosTTW,

    Thanks for opening the thread.

    Values in a Price Series like Open, High, Low and Close, can be referenced for previous bar values using a barsAgo index. It is possible to find a barsAgo index using a given time, but this would require unlocking the strategy and using custom programming.

    Some approaches that can be used in the Strategy Wizard would involve:
    1. Checking if the current bar time is 9:00AM and then save the High of that bar to a variable to use later
    2. Use a barsAgo reference for High to reference the High from 9:00AM. This would require knowing what data series you intend to apply the strategy to so you can enter the correct barsAgo reference.


    On a 15 minute data series, a barsAgo reference of 1 will represent the bar that closed fifteen minutes ago, a barsAgo reference of 2 would represent the bar that closed 30 minutes ago, etc.

    The Strategy Wizard tutorial demonstrates creating time checks and using variables in the Strategy Wizard. If you have not seen this tutorial yet, I highly recommend reviewing it for Strategy Wizard development.

    Strategy Wizard 301 - https://www.youtube.com/watch?v=FmBiNYsf1e8

    Please let us know if we can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X