Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

IMI call from other indicator

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

    IMI call from other indicator

    Hi, i can't call the imi indicator from my custom indicator.
    private int imiOB = 70; // Default setting for IMI
    private int imiOS = 30; // Default setting for IMI
    private int imiPeriod = 12; // Default setting for IMI
    private int imiAvgP = 1; // Default setting for IMI
    // i call it like this:
    double imiValue = IMI(imiPeriod,imiAvgP,false)[0];
    thanks for any hit...

    #2
    Hi mate41,

    I am unfamiliar with this indicator, so I am not sure about its usage.

    However, you can show the overloads it is expecting. To do this, place the cursor somewhere on the word IMI, then hold the Shift & Ctrl key and then tap the space bar. This brings up the intellisense tips that will let you know the different possible parameters an indicator will accept.

    Please let me know if this does not resolve your inquiry.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks, but nothing happen when do as you said.

      Comment


        #4
        Hello mate41,

        If you send me a copy of the IMI script, I will find the overload methods for you and report back.

        You can attach the script to your next post, or if you would like me to view this privately, send an email with this indicator attached to support[at]ninjatrader[dot]com. In the body of the email please write Attn: Chelsea #822163.


        Let me know if you would like me to do this for you.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi mate41,

          I wanted to let you know that I have received your email and am reviewing the indicator. I will be replying to your personal email from now on.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Thanks ChelseaB, stupid of me. I couldn't see this error.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Waxavi, Today, 02:10 AM
            1 response
            16 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by Kaledus, Today, 01:29 PM
            5 responses
            13 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by Waxavi, Today, 02:00 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by alifarahani, Today, 09:40 AM
            5 responses
            23 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by gentlebenthebear, Today, 01:30 AM
            3 responses
            17 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X