Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MA in Market Analyzer

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

    MA in Market Analyzer

    Hi,

    I have done some research on the forum but did not find any solution. I want to have one MA column. In that column I want to display the MA-200 and the background color would be green if the price is above MA-200, MA-50 and MA-50.

    Is this possible?

    Thanks!
    Last edited by x3000gold; 03-21-2011, 09:12 AM.

    #2
    Hello x3000gold,

    This is only available with custom programming. If you want to get started coding this, a common approach is to set the plot values as 1 when your condition is true and 0 otherwise.

    You will have to put this into an indicator script, but one way to get started making these types of conditions is using the strategy wizard. This allows you to define the conditions in a point and click interface and then view the resulting code for it. The following link can help you get started with the condition builder to define these conditions.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Oh darn. I think its to complicated for me.

      I did the the strategy wizard and have attached a image. What settings would it be in it?

      Thanks
      Attached Files
      Last edited by x3000gold; 03-21-2011, 10:02 AM.

      Comment


        #4
        The strategy wizard is good for defining the conditions. Ultimately it will need to be in a custom indicator script, looking something like this for the OnBarUpdate() method:

        if (Close[0] > SMA(200)[0] && Close[0] > SMA(50)[0])
        Value.Set(1);

        else
        Value.Set(0);

        There is more information on custom indicator development in NinjaTrader available here.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Okay! Seems to complicated for me.

          I guess I forget about it. Thanks anyway

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by funk10101, Today, 09:43 PM
          0 responses
          6 views
          0 likes
          Last Post funk10101  
          Started by pkefal, 04-11-2024, 07:39 AM
          11 responses
          37 views
          0 likes
          Last Post jeronymite  
          Started by bill2023, Yesterday, 08:51 AM
          8 responses
          44 views
          0 likes
          Last Post bill2023  
          Started by yertle, Today, 08:38 AM
          6 responses
          26 views
          0 likes
          Last Post ryjoga
          by ryjoga
           
          Started by algospoke, Yesterday, 06:40 PM
          2 responses
          24 views
          0 likes
          Last Post algospoke  
          Working...
          X