Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can you tell me what I have wrong on this?

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

    Can you tell me what I have wrong on this?

    I used the wizard to try to set up this simple PPO crossover strategy long and short. I wanted it to plot an up arrow on cross above PPO and down for cross below PPO. (settings 9,45,9). Arrows won't plot

    For example here http://screencast.com/t/ZGUzN2M3N2Et


    Can someone point out my error(s) and (please) correct? I appreciate it a lot.

    =========
    Attached Files

    #2
    Hi drmax,

    The syntax for the DrawArrowUp() method is...

    DrawArrowUp(string tag, bool autoScale, int barsAgo, double y, Color color)

    For your y value, I see you have a zero, which will plot it at a price value of zero. You can try something like High[0], for example, instead.
    TimNinjaTrader Customer Service

    Comment


      #3
      Thanks...

      It's beyond me to figure this out I think. Have been working at it for hours. Can you please fix it for me? I would appreciate it very much.

      Comment


        #4
        Hi drmax,

        Unfortunately, I cannot debug or write this for you. I am willing to lead you down the right path, however...

        In this example, a "y" value is entered so that the diamond is drawn at the High of the current bar, plus one tick.


        In this example, a crossover condition is created.
        TimNinjaTrader Customer Service

        Comment


          #5
          is this an issue?

          Simple crossover of 2 EMA seems clear to me, thanks

          PPO, the indicator I'm working with has 2 lines.

          One instance of PPO for example has

          Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.


          So how can you have that crossing above or below another instance of

          Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.


          Thanks,
          Drmax

          Comment


            #6
            Hi drmax,

            The fast and slow period are actually used for internal calculations.

            The PPO actually has two lines, one default plot and another titled "Smoothed". The Smoothed line is the other line you are seeing in the plot, known as the signal line.

            More info at - http://www.ninjatrader-support.com/H...eOscillatorPPO

            To set a condition where the default PPO lines crosses below the signal Smoothed line, you can select the plot from the condition parameters.

            Please see the attached screenshot.
            Attached Files
            TimNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by ursavent, Today, 12:54 PM
            0 responses
            2 views
            0 likes
            Last Post ursavent  
            Started by Mizzouman1, Today, 07:35 AM
            3 responses
            17 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by RubenCazorla, Today, 09:07 AM
            2 responses
            13 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by i019945nj, 12-14-2023, 06:41 AM
            7 responses
            82 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by timmbbo, 07-05-2023, 10:21 PM
            4 responses
            158 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X