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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        45 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        14 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        20 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X