Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help converting Tradestation ELA

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

    Help converting Tradestation ELA

    Can anyone please help me converting this Tradestation indicator to NT7?

    It plots 60 minute EMA on 5 minute chart.

    I'm moving over from TS to NT and this is the only one I don't have for NT7 now.

    I know I can use 2nd pane of 60 minute chart and overlay it on 5 minute chart but it looks

    a little awkward and slows down.


    TIA

    Here's ELA code.



    Inputs: length(20);


    If CurrentBar = 240 then Value1 = xaverage(C, 240);

    If CurrentBar > 240 then begin

    If Fracportion((time - 30)/100) = 0 or time =1315 then begin

    value1 = value1[1] + (2 / ( Length + 1 )) * ( C - value1[1] );
    Value2 = value1;
    Plot1(value1, "60 min 20EMA");

    end
    else begin
    Value2 = value1 + (2 / ( Length + 1 )) * ( C - value1[1] );
    Plot1(value2, "60 min 20EMA");
    end;end;
    Last edited by kalalex; 07-01-2011, 04:22 PM.

    #2
    Hi kalalex, we could unfortunately not convert this for you to NinjaScript, but a complete set of tutorials to get started programming custom scripts is located here which should help you get going in this area:

    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Kaledus, Today, 01:29 PM
    3 responses
    9 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by frankthearm, Yesterday, 09:08 AM
    14 responses
    47 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by gentlebenthebear, Today, 01:30 AM
    2 responses
    13 views
    0 likes
    Last Post gentlebenthebear  
    Started by PaulMohn, Today, 12:36 PM
    2 responses
    17 views
    0 likes
    Last Post PaulMohn  
    Started by Conceptzx, 10-11-2022, 06:38 AM
    2 responses
    56 views
    0 likes
    Last Post PhillT
    by PhillT
     
    Working...
    X