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 |

Sir Old Viking Trader Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
tedk
Posted : Saturday, April 7, 2007 10:28:50 AM
Registered User
Joined: 10/7/2004
Posts: 28
Would SIR OLD VIKING TRADER, or anyone else for that matter, please tell me how to write a PCF that gives the 10 DAY AVERAGE of CLOSE minus A MULTIPLE OF the greater of (H-L), (H-C1), AND (L-C1)[his ATR in his 04/05/07 submission to Worden Reports]? It sounds slick, but how is it done?
tedk
diceman
Posted : Saturday, April 7, 2007 10:38:17 AM
Registered User
Joined: 1/28/2005
Posts: 6,049
Try:

C-((ATR Equation)*2)

2 is the multiplier. The larger its value the
lower your stop.

This can be plotted on the price scale as a custom
indicator. (in the top window)

You may be interested in this:

ATR Sir Old Viking in latest Worden Report

Plotting Custom Indicators with Examples

Thanks
diceman
bustermu
Posted : Saturday, April 7, 2007 11:38:18 AM
Registered User
Joined: 1/1/2005
Posts: 2,645
tedk,

The PCF you asked for is:

C-2.0*(AVGH10-AVGC10.1/2-AVGL10/2 +(ABS(C1-L0)+ABS(C2-L1)+ABS(C3-L2)+ABS(C4-L3)+ABS(C5-L4)+ABS(C6-L5)+ABS(C7-L6)+ABS(C8-L7)+ABS(C9-L8)+ABS(C10-L9))/20)

where the "multiple" is the 2.0.

The problem is that it is likely not what you want. You will probably eventually find what you want at:

Sir Old Viking Trader and PCFs

Thanks,
Jim Murphy
bustermu
Posted : Saturday, April 7, 2007 12:38:02 PM
Registered User
Joined: 1/1/2005
Posts: 2,645
QUOTE (tedk)
... a PCF that gives the 10 DAY AVERAGE of CLOSE minus A MULTIPLE OF the greater of (H-L), (H-C1), AND (L-C1)[his ATR in his 04/05/07 submission to Worden Reports]?


tedk,

I did not give you what you asked for.

What I gave you was:

1) The CLOSE minus A MULTIPLE OF the 10 DAY AVERAGE of the greater of (H-L), (H-C1), AND (L-C1):

C-2.0*(AVGH10-AVGC10.1/2-AVGL10/2 +(ABS(C1-L0)+ABS(C2-L1)+ABS(C3-L2)+ABS(C4-L3)+ABS(C5-L4)+ABS(C6-L5)+ABS(C7-L6)+ABS(C8-L7)+ABS(C9-L8)+ABS(C10-L9))/20)

What you asked for was either:

2) The (10 DAY AVERAGE of CLOSE) minus A MULTIPLE OF the greater of (H-L), (H-C1), AND (L-C1):

AVGC10-2.0*(H-(C1+L-ABS(C1-L))/2)

or,

3) The 10 DAY AVERAGE of (CLOSE minus A MULTIPLE OF the greater of (H-L), (H-C1), AND (L-C1)):

AVGC10-2.0*(AVGH10-AVGC10.1/2-AVGL10/2 +(ABS(C1-L0)+ABS(C2-L1)+ABS(C3-L2)+ABS(C4-L3)+ABS(C5-L4)+ABS(C6-L5)+ABS(C7-L6)+ABS(C8-L7)+ABS(C9-L8)+ABS(C10-L9))/20)

At least one is what you asked for, but I do not believe any is what you actually want.

Thanks,
Jim Murphy
tedk
Posted : Saturday, April 7, 2007 5:31:53 PM
Registered User
Joined: 10/7/2004
Posts: 28
thank you, all.
tedk
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.