Announcement

Collapse
No announcement yet.

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?

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        43 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        56 views
        0 likes
        Last Post CarlTrading  
        Working...
        X