Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicators and OnBarClose, OnPriceChange

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

    Indicators and OnBarClose, OnPriceChange

    Guessing these are all easy questions.

    QUESTION 1
    : If a strategy is set to Calc OnPriceChange, but an indicator is designed to work OnBarClose, does that mean the indicator now will provide "skewed" results to the strategy?

    Example
    • Running strategy against 1 min bars, OnPriceChange
    • Indicator in strategy set to 20 periods (for example).
    • On a simple 1min candlestick chart, 20 periods would mean 20 full bars. But given we're on price change, 20 periods now means "20 changes in price" which would almost always happen within 1 bar. Noticed some indicators perform better than others OnPriceChange.
    QUESTION 2: In the end does it depend on the indicator, it's purpose and design? I assume it's up to the developer to understand each indicator's purpose and implementation and apply accordingly?

    QUESTION 3: Any suggestions / hints on where a person can find a list of NT indicators that can work with OnPriceChange and those that don't work so well?

    Thanks!

    #2
    Hello cshox,

    Yes depending on how its coded. The indicator will assume the strategies Calculate setting so it may produce different values. You would need to edit that indicator to work with OnPriceChange if you see wrong results when using it with the strategy.

    2) Yes this would depend on the indicator and how the developer created it to work.

    3) I am not aware of a list of indicators that compares them in any way. Each indicator uses unique logic and depending on the authors goal they may have used more complex logic that requires a specific setting. You can see what the default setting is by applying the indicator, that would be what the author intended. You can then apply a second instance of the indicator with a different Calculate setting to see how it changes the data.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    42 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    65 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