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 burtoninlondon, Today, 12:38 AM
            0 responses
            5 views
            0 likes
            Last Post burtoninlondon  
            Started by AaronKoRn, Yesterday, 09:49 PM
            0 responses
            14 views
            0 likes
            Last Post AaronKoRn  
            Started by carnitron, Yesterday, 08:42 PM
            0 responses
            11 views
            0 likes
            Last Post carnitron  
            Started by strategist007, Yesterday, 07:51 PM
            0 responses
            13 views
            0 likes
            Last Post strategist007  
            Started by StockTrader88, 03-06-2021, 08:58 AM
            44 responses
            3,982 views
            3 likes
            Last Post jhudas88  
            Working...
            X