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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        55 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        142 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X