Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

drawing an EMA(4000) on chart

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

    drawing an EMA(4000) on chart

    what is the code for to draw an EMA(4000) on a chart, I need to add this line of code in to my strategy so when I backtest and click on chart I can see the EMA! easy question I know, thanks!

    #2
    James, please put this line of code into the Initialize() section of your strategy:
    Code:
    Add(EMA(4000));
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    29 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Yesterday, 02:41 AM
    0 responses
    13 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    22 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Working...
    X