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

Multiple time frame question

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

    Multiple time frame question

    I am trying to plot 15 mins value of a freely available NT indicator on a 5 min chart. The indicator is attached herewith.

    For some reason, I cannot plot it as it seems like I am defining MAtype in a wrong way.

    Can someone help please? This is my current syntax.

    Ploto.Set(TrendStrengthA(BarsArray[1],SMA(10),PeriodEnd,PeriodStart,End)[0]);

    Thanks,
    Vishal
    Attached Files

    #2
    Hi Vishal, for the type, do you have the using directive running for the VC Trend Strength Utility?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Multiple time frame question

      I am sorry, I just don't understand what would you mean by using directive for the VC trend strength utility?


      Can you please explain a bit more?

      Thanks

      Comment


        #4
        Please take a look at the strategy script you shared, and then into it's declaration section at top -

        using VC.NinjaScript.Utility;

        This is needed to call the indicator types as parameters successfully in the overload.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kempotrader, Today, 08:56 AM
        0 responses
        6 views
        0 likes
        Last Post kempotrader  
        Started by kempotrader, Today, 08:54 AM
        0 responses
        4 views
        0 likes
        Last Post kempotrader  
        Started by mmenigma, Today, 08:54 AM
        0 responses
        2 views
        0 likes
        Last Post mmenigma  
        Started by halgo_boulder, Today, 08:44 AM
        0 responses
        1 view
        0 likes
        Last Post halgo_boulder  
        Started by drewski1980, Today, 08:24 AM
        0 responses
        4 views
        0 likes
        Last Post drewski1980  
        Working...
        X