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 jaybedreamin, Today, 05:56 PM
            0 responses
            3 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            18 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            1 view
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            6 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Working...
            X