PDA

View Full Version : Period 14 crossing Period Linear Regression 25


Viper3
10-20-2007, 08:42 AM
Woodie CCI indicator has a Period 14 and Period Linear Regression 25 I am having problems setting this up to plot the cross of the 14 over/under the period linear regression 25, I have tried many ways but nothing is showing on my charts.

Any help would be great.

NinjaTrader_Ray
10-20-2007, 09:11 AM
I am not sure I fully understand what you are after.

- Are you referring to the Strategy Wizard/Condition Builder?
- Are you trying to manually program a cross over condition in the NinjaScript Editor?

From what I can tell of the indicator, there is not Linear Regression plot value.

Viper3
10-20-2007, 01:39 PM
Hello Ray,

- Are you referring to the Strategy Wizard/Condition Builder? yes
- Are you trying to manually program a cross over condition in the NinjaScript Editor? I am new so I think the answer is No I am following the steps in wizard.
From what I can tell of the indicator, there is not Linear Regression plot value. I see what you are talking about under the Plot

If you look at the Woodie CCI Indicator under Parameters you will see the
Period 14 and Period Lin. Regr. 25

I want the chart to plot and print arrows when it crosses with auto alerts, if you look at the CCI the Period 14 it is the black line on the bars and the Period Linear regression 25 is the Zero Line.

Can this be done in Condition builder or maybe the User Defined Inputs

Thx for your time on this,

NinjaTrader_Josh
10-20-2007, 02:12 PM
Yes this is possible. The CCI line is the WoodiesCCI plot. In your condition builder select WoodiesCCI indicator and then on the bottom of the left half select "WoodiesCCI" for the Plot parameter. Then in the center choose CrossAbove or CrossBelow. On the right side select "Misc" and then choose "Numeric value". Put the value of 0 in there. Now you have the condition of crossing over the zero line.

NinjaTrader_Ray
10-20-2007, 02:13 PM
Unfortunately I am not a student of Woodies CCI. I assume that what you mean is if CCI line cross above or below a value of zero?

If this is what you want, please look at the following.

http://www.ninjatrader-support.com/HelpGuideV6/ConditionBuilder-IndicatorToValueComparisons.html

Viper3
10-21-2007, 08:05 AM
Thx, I completed the strategy I am not getting any auto alerts and arrows plotted on the Woodie CCI Indicator on my chart. In condition builders bottom under (Do the following) I picked My up arrow and +Y I picked woodie cci and under Plot on chart I picked True. On the chart properties I made sure to pick Plot markers only. Any idea what I did wrong.......

NinjaTrader_Ray
10-21-2007, 09:09 AM
Arrows will plot on panel 1 (price) and make sure you set the y value of the plot to something that will be displayed. If you set it to the CCI value for sure you will not see it. Try setting it to the High of the current bar for example.

Viper3
10-21-2007, 10:45 AM
Thx Ray that worked . I sent a email to support to see if they could add a 2nd panel so I can plot on the indicator and not the chart. Woodie CCI does not use price bars so I move them out of the way. One more thing in the wizard help I do not see anything on Stops and Targets.

NinjaTrader_Ray
10-21-2007, 10:51 AM
It is possible to plot on the indicator panel if you were implementing your login in an indicator. Unfortunately, you need to manually program this.