Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Candle Counting PCF/Indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
sclapp
Posted : Wednesday, June 27, 2018 9:20:34 AM
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.

 

Bruce_L
Posted : Wednesday, June 27, 2018 10:17:20 AM


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
sclapp
Posted : Wednesday, June 27, 2018 11:04:07 AM
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?

Bruce_L
Posted : Wednesday, June 27, 2018 11:15:57 AM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.