Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MTF MA on one chart

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

    MTF MA on one chart

    Hi

    I want ask does NT give a possibillity to display Moving Averages from custom higher time frames on lower time frames
    example - I would like to use 25period SMA based on H7 candel values with 50 period SMA basen on H35 candle values - both of these MA should be displayed on H1 chart.

    Thanks
    Last edited by noobplx; 03-22-2013, 11:38 AM.

    #2
    Hello noobplx,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    You can do this by adding the additional chart intervals to your chart and then "hiding" them by setting them to Transparent for their bar color and use the intervals as the input for the indicators.

    You can find a video detailing this process at the following link: http://youtu.be/x_6BN5SIiig

    Please let me know if I may be of further assistance.

    Comment


      #3
      I tried to test to draw SMA 3 Yearly periods on weekly chart. Please advise why there is no SMA on the attached chart. Thanks.
      Igor
      Attached Files

      Comment


        #4
        Hi Igor,

        This is because the indicator will require at least 20 bars before is begins its calculations.
        You can create your own custom indicator to work around.

        Tools -> Edit NinjaScript -> Indicator... -> Select the SMA -> Right click in the editor -> Save As... -> Give it a new name, make sure its unique to avoid errors -> Click Save -> In the new window place this code in the Initialize method after the Add( new Plot....

        Code:
        BarsRequired = 0;
        Hit F5 to compile or press the button on the toolbar.
        Once done, add the indicator to the chart.

        Let me know if I can be of further assistance.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Hi Cal,

          Thank you very much for your advice. It works!!!

          Igor

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by giulyko00, Yesterday, 12:03 PM
          3 responses
          12 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by habeebft, Today, 07:27 AM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_ChristopherS  
          Started by AveryFlynn, Today, 04:57 AM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by Max238, Today, 01:28 AM
          4 responses
          39 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by r68cervera, Today, 05:29 AM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X