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 gcztraders, Yesterday, 03:58 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by reynoldsn, 05-10-2024, 07:04 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by franciscog21, 05-10-2024, 05:27 PM
    1 response
    30 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by llanqui, Today, 11:10 AM
    0 responses
    8 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by llanqui, Today, 10:29 AM
    0 responses
    9 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Working...
    X