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 |

doji scan Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mopman
Posted : Tuesday, July 27, 2010 9:15:05 PM
Registered User
Joined: 4/12/2010
Posts: 14

The formula for a doji is the O=C. Would you help me create a formula where I can set the open and the close within a few cents or a few dollars of each other. Thanks in advance.

Mopman

Bruce_L
Posted : Wednesday, July 28, 2010 8:57:09 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
A formula for the Open and Close being within say 3 cents of each other might be:

ASB(O - C) <= .03

A formula for the Open and Close being within say $1 of each other might be:

ABS(O - C) <= 1

A formula for the Open and Close being within say 1% of each other might be:

((O + C + ABS(O - C)) / 2) / ((O + C - ABS(O - C)) / 2) <= 1.01

A formula for the Open and Close being within say 5% of the Bar's Range might be:

ABS(O - C) <= .05 * (H - L)

A formula forthe Open and Close being within say 5% of the Range of the most recent 10 Bars might be:

ABS(O - C) <= .05 * (MAXH10 - MINL10)

You may wish to review the following:

How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Min Max PCFs
Handy PCF example formulas to help you learn the syntax of PCFs!

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