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