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 |

Combining Two Custom PCF % True into One Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
traderlady
Posted : Thursday, November 1, 2018 10:21:14 AM
Registered User
Joined: 10/7/2004
Posts: 1,178

Let's use GLBS as an example today with a timeframe of 1D.

 

First, as a Histogram on one-minute candles, I've overlaid my Custom PCF % True for "Dojis * 0.05%" (see below):

ABS(O - C) <= ((H - L) * 0.05)

 

Second, as another Histgram, this time overlaid on Volume Bars is my Custom PCF % True for "V<100" (see below):

V<100

 

By doing this one can see there are a number of false or inaccurate Doji Histograms are overlaid on candles as well as the accurate ones.

 

The inaccurate or false ones are Histograms that occur on candles where the volume is less than 100 (hyphens).

 

To create an accurate picture, I wish to eliminate these false Dojis by combining my two Custom PCF % Trues into one.  I've tried various ways to do this but haven't yet succeeded.

 

Can you solve this problem, Bruce, of somehow combing ABS(O - C) <= ((H - L) * 0.05)  minus V<100?

 

 

 

 

 

Bruce_L
Posted : Thursday, November 1, 2018 10:31:12 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following.

ABS(O - C) <= ((H - L) * 0.05) AND NOT(V < 100)

This could be shortened somewhat to the following.

20 * ABS(O - C) <= H - L AND V >= 100

But I would probably also add the requirement that the high is above the low.

H > L AND 20 * ABS(O - C) <= H - L AND V >= 100



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
traderlady
Posted : Thursday, November 1, 2018 12:15:18 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

Thanks, Bruce.  Each of your above PCFs works great.  I am using your third one because it further reduces the number of Dojis * 0.05 with sufficient volume that appear as Histograms on the candles.

Now, lets move on to the most efficient PCFs for 1) Gaps Up on one-minute candles with V>100 as well as 2) Gaps Down on one-minute candles with V>100.

Bruce_L
Posted : Thursday, November 1, 2018 12:20:10 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

It kind of depends on your definition of gap up and gap down. If you are just comparing the open to the previous close:

Gap Up:

O > C1 AND V > 100

Gap Down:

O < C1 AND V > 100

If you are comparing the open to the previous high or low:

Gap Up:

O > H1 AND V > 100

Gap Down:

O < L1 AND V > 100

If you are comparing the high or low to the previous high or low:

Gap Up:

L > H1 AND V > 100

Gap Down:

H < L1 AND V > 100



-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.