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 kevinenergy, 02-17-2023, 12:42 PM
        117 responses
        2,766 views
        1 like
        Last Post jculp
        by jculp
         
        Started by Mongo, Today, 11:05 AM
        5 responses
        15 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by SightCareAubetter, Today, 12:55 PM
        0 responses
        3 views
        0 likes
        Last Post SightCareAubetter  
        Started by traderqz, Today, 12:06 AM
        8 responses
        16 views
        0 likes
        Last Post traderqz  
        Started by SightCareAubetter, Today, 12:50 PM
        0 responses
        2 views
        0 likes
        Last Post SightCareAubetter  
        Working...
        X