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 TraderG23, 12-08-2023, 07:56 AM
            9 responses
            382 views
            1 like
            Last Post Gavini
            by Gavini
             
            Started by oviejo, Today, 12:28 AM
            0 responses
            1 view
            0 likes
            Last Post oviejo
            by oviejo
             
            Started by pechtri, 06-22-2023, 02:31 AM
            10 responses
            125 views
            0 likes
            Last Post Leeroy_Jenkins  
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Yesterday, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Working...
            X