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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        62 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        33 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        44 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        58 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        47 views
        0 likes
        Last Post CarlTrading  
        Working...
        X