Registered User Joined: 2/8/2005 Posts: 16
|
Hi,
Not sure if this is possible, but I would like to create a PCF for a candle counting indicator. Here's how it would work. The 2 period simple moving average crosses above/below the 8 period sma. If the 2 period sma is above/below the 8 period sma after 12 consecutive days, place a red dot above the candle. Continue placing dots above the candles until the 2 period sma re-crosses the 8 period sma. Stop placing dots above the candles with a re-cross.
If this is possible I would like to do this with 2 moving average crossovers on the same chart.
Thanks for you help.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The following Custom PCF Indicator would plot dots at the high of price when using the Dots Plot Style overlayed into the same pane and scale as price.
IIF(TrueInRow(AVGC2 > XAVGC8, 12) = 12, H, 1 / 0)
You scan change the H in the formula to adjust where the dot is plotted.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 2/8/2005 Posts: 16
|
Thank you Bruce. Can you explain or send in the right direction - how to use the Dots Plot Style overlayed into the same pane and scale as price?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Custom PCF Indicator is just a regular indicator, but it can take a Formula as one of its settings.
Make sure to choose And Scale With (and then choose price) when overlaying the Custom PCF Indicator into the price pane.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|