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

SMI convertion for Ninja

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

    SMI convertion for Ninja

    Hi all, i been looking around for the Smart Money Index for Ninja but culdntfind it, found an onther "SMI" but its a Stochastic Momentum Index, nothing to do with what im looking for, so i found the formula in tradingview but i dint know how to make the convertion, a little help please.

    // Smart money index (SMI) or smart money flow index is a technical analysis indicator demonstrating investors sentiment.
    // The index was invented and popularized by money manager Don Hays.[1] The indicator is based on intra-day price patterns.
    // The main idea is that the majority of traders (emotional, news-driven) overreact at the beginning of the trading day
    // because of the overnight news and economic data. There is also a lot of buying on market orders and short covering at the opening.
    // Smart, experienced investors start trading closer to the end of the day having the opportunity to evaluate market performance.
    // Therefore, the basic strategy is to bet against the morning price trend and bet with the evening price trend. The SMI may be calculated
    // for many markets and market indices (S&P 500, DJIA, etc.)
    //
    // The SMI sends no clear signal whether the market is bullish or bearish. There are also no fixed absolute or relative readings signaling
    // about the trend. Traders need to look at the SMI dynamics relative to that of the market. If, for example, SMI rises sharply when the
    // market falls, this fact would mean that smart money is buying, and the market is to revert to an uptrend soon. The opposite situation
    // is also true. A rapidly falling SMI during a bullish market means that smart money is selling and that market is to revert to a downtrend
    // soon. The SMI is, therefore, a trend-based indicator.
    // Some analysts use the smart money index to claim that precious metals such as gold will continually maintain value in the future.
    ////////////////////////////////////////////////////////////
    study(title="Smart Money Index (SMI)", shorttitle="Smart Money Index")
    xcloseH1 = security(tickerid, "60", close)
    xopenH1 = security(tickerid, "60", open)
    nRes = nz(nRes[1], 1) - (open - close) + (xopenH1 - xcloseH1)
    plot(nRes, color=green, title="SMI")

    #2
    Hello kabott,

    Thank you for the post.

    I am working on a conversion now. Please stand by for an update.

    I look forward to assisting further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hello kabott,

      Thank you for your post.

      My colleague will be doing this conversion as a courtesy. Please note we do not provide programming services.

      Comment


        #4
        Thank you so much you guys!

        Comment


          #5
          Hello,

          Thank you for your patience.

          Here is the Smart Money Index for NinjaTrader 7 and 8. I have uploaded it to the forum so others may use it as well.

          I used the following formula for this indicator:

          Today's SMI reading = yesterday's SMI – Opening net change + last hour change

          Note that this indicator was designed to be used on daily charts only.

          Follow this link to download:
          http://www.ninjatrader.com/support/f...d=4&linkid=980 - NinjaTrader 7
          http://www.ninjatrader.com/support/f...d=7&linkid=981 - NinjaTrader 8

          Please let us know if we may be of any further assistance.
          Chris L.NinjaTrader Customer Service

          Comment


            #6
            Thank you very much Chris!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by gentlebenthebear, Today, 01:30 AM
            2 responses
            13 views
            0 likes
            Last Post gentlebenthebear  
            Started by Kaledus, Today, 01:29 PM
            2 responses
            8 views
            0 likes
            Last Post Kaledus
            by Kaledus
             
            Started by frankthearm, Yesterday, 09:08 AM
            13 responses
            45 views
            0 likes
            Last Post frankthearm  
            Started by PaulMohn, Today, 12:36 PM
            2 responses
            16 views
            0 likes
            Last Post PaulMohn  
            Started by Conceptzx, 10-11-2022, 06:38 AM
            2 responses
            56 views
            0 likes
            Last Post PhillT
            by PhillT
             
            Working...
            X