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 |

PCF Formula for a Swing Candle Trade Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
stockjaguar2730
Posted : Saturday, January 12, 2019 12:55:35 PM
Registered User
Joined: 1/3/2017
Posts: 4

Hello Bruce,

I would appreciate if you could guide me to write a PCF for the following

1) Last 5 days close within 2% of each other (looking for a tight action)

2) Low of the last 2, 3, 4, or 5 days within 1-2%

3) Today's close at the highs or within 2% of the high today

 

Thanks,

SJ

bcochrane
Posted : Saturday, January 12, 2019 6:02:36 PM
Registered User
Joined: 9/17/2010
Posts: 484

To get you started from http://forums.worden.com/default.aspx?g=posts&t=68321

"The following condition formula is an example checking for the entire range of price to be less than 3% over 15 bars (about 3 weeks in a daily time frame).

MAXH15 <= 1.03 * MINL15

The following condition formula checks for the closing prices to be in a 2% range over 15 bars.

MAXC15 <= 1.02 * MINC15"

so 5 days within 2%

MAXC5 <= 1.02 * MINC5

The lows within 2%

MAXLx <= 1.02 * MINLx and last

H<C*1.02

stockjaguar2730
Posted : Saturday, January 12, 2019 8:36:17 PM
Registered User
Joined: 1/3/2017
Posts: 4

Thank You bcochrane...much appreciated!

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.