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

Add SMA to custom indicator the easy way

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

    Add SMA to custom indicator the easy way

    Hi,

    I am trying to add a SMA to a custom indicator and have found a few posts that cover some of what I need but I am having trouble applying the methods to my indciator.

    I did however come across an easer way...the suggestion to add indicator SMA to chart and then use my indicator as the input series which I did but I would suspect that because it plots on the price chart and requires real time data the first print is way off how could I fix this problem?

    Regards,
    suprsnipes

    #2
    Hello suprsnipes,
    Please refer to this YouTube video which demonstrates how to apply an indicator over another indicator.


    Are you facing any specific issues. If so can you send a screenshot depicting the scenario

    I look forward to assisting you further.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thank you for you response.I watched the short video covers the basics.

      Because the custom indicator plots on the price chart and has no historical data the first plot of the SMA is way off (please see screenshot attached) and takes a few bars to get aligned correctly. How can I fix this?
      Attached Files

      Comment


        #4
        Hello suprsnipes,
        To assist you further can you please send a toy NinjaScript code* replicating the behavior to support[AT]ninjatrader[DOT]com

        Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

        I look forward to assisting you further.

        *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        6 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        7 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Yesterday, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Working...
        X