Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Input Parameter help for ADXVMA

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

    Input Parameter help for ADXVMA

    Hi Support...

    My name is Yusuf and recently I am in the process of reading the codes of different indicators and strategies either readily available or imported from NT Forum. I need help in defining the Inputs for ADXVMA. I am trying to use ADXVMA in a Strategy but it failed on compiling mainly because I don't know the syntax of defining the MA type. Now, the user inputs used in indicator ADXVMA are as follows.

    privateint aDXPeriod = 6;
    privateint mAPeriod = 1;
    private NinjaTrader.Indicator.MAV.MAType mAType = NinjaTrader.Indicator.MAV.MAType.EMA;

    I define ADXVMA to used in strategy as follows:

    ADXVMA(6,1,NinjaTrader.Indicator.MAV.MAType.EMA);

    But it gives error.
    Help is appreciated.

    Thanks & best regards,
    Yusuf SHAIKH

    #2
    How have you defined this MAType variable? Please see this reference sample for the only supported approach in doing this. http://www.ninjatrader-support.com/v...ead.php?t=3420
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks JOSH...

      Hi JOSH,

      Thanks for your reply. I will go through the sample and revert back in case if I am still in trouble. Thanks once again for your prompt response.

      Best regards,
      Yusuf SHAIKH

      Comment


        #4
        Thanks JOSH...

        Hi JOSH,

        Thanks buddy for your expert advice ad the link. The trick worked and I was able to plot what I was looking for. Now I have to experiment with it. Thanks once again for your response.

        Best regards,
        Yusuf SHAIKH

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        571 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        330 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        549 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        549 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X