Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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
|
|
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
|
|
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
|
|
Registered User Joined: 10/7/2004 Posts: 28
|
thank you, all. tedk
|
|
Guest-1 |