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

how to replace fixed int period with a variable int in EMA

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

    how to replace fixed int period with a variable int in EMA

    Is it possible to update int period by any new variable instead of fixed int number,actually i want to calculate EMA(BuyingVol,14)[0] in this i want to replace int period with index number of that candle from the start of trading day.

    #2
    Originally posted by avrege View Post
    Is it possible to update int period by any new variable instead of fixed int number,actually i want to calculate EMA(BuyingVol,14)[0] in this i want to replace int period with index number of that candle from the start of trading day.
    Solved got the answer :by creating new private int series int period can be replaced.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rayyyu12, Today, 12:47 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by guyonabuffalo, Yesterday, 10:01 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by thumper57, Yesterday, 04:30 PM
    3 responses
    12 views
    0 likes
    Last Post thumper57  
    Started by DT215, 01-14-2023, 07:59 PM
    4 responses
    132 views
    1 like
    Last Post NinjaTrader_BrandonH  
    Started by ETFVoyageur, Yesterday, 12:52 AM
    2 responses
    32 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X