Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IsFirstTickOfBar in strategy builder

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

    IsFirstTickOfBar in strategy builder

    I have a strategy where I’m using on price Change however my 3 indicator need to use on bar close. From reading the forums I understand I must use IsFirstTickOfBar to make this possible. I am not familiar with coding with this software however, I am familiar with the strategy builder and I’m trying to understand how I useIsFirstTickOfBar so that way my indicators update on bar close. I cannot find a post that states how to make this possible using the default strategy builder. A good example would be I use the parabolic sars and a hull moving average how would i use the strategy builder to make those move onIsFirstTickOfBar. Thank you for the help​

    #2
    Hello Psmithbb,

    Thank you for your post.

    The strategy will dictate the indicator calculate setting, so if you want to have the indicators simulate Calculate.OnBarClose this would require calling the indicator directly when IsFirstTickOfBar is true. To achieve this in the Strategy Builder, you could create a double variable and when IsFirstTickOfBar is true assign the variable the value of the indicator. Then the variable's value is only updated once per bar.

    Please let us know if you have any further questions.​

    Comment

    Latest Posts

    Collapse

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