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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    46 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X