Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

BuySellPressure with a moving average

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

    BuySellPressure with a moving average

    I want to modify the BuySellPressure indicator, essentially split the buy pressure and sell pressure and make 2 separate indicators, then I want to apply a moving average to each. Is it possible to apply a moving average to the separate real-time indicators?

    I've tried adding a moving average to one of the indicators but it does not show up. Should I rather try to "Add" the moving average to the code ?

    Thanks

    #2
    Hello padddler,

    Thank you for your post.

    The real-time only indicators have to build up the needed amount of bars for the Moving Average. The default BarsRequired is 20 and then you have the period as well. So you would need to wait 20+period bars before seeing the Moving Average plot a value.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rocketman7, Today, 02:12 AM
    5 responses
    23 views
    0 likes
    Last Post rocketman7  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    7 responses
    28 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by samish18, 04-17-2024, 08:57 AM
    17 responses
    66 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by briansaul, Today, 05:31 AM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by PaulMohn, Today, 03:49 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X