PureBytes Links
Trading Reference Links
|
Milt,
I have listed below a quick code for what you described.
This is not a system test, just a code that can be displayed with
your chart. Since you are using 6.52, you may wish to delete
the line "CCI(Cp);" and display your own CCI code from the
drop down list (that would allow you to change the look of the
moving average for easier viewing).
Adam
{CCI moving average, This will display
the Standard CCI and a moving average
of the CCI}
{Lb is the Moving average look-back
Cp is the CCI period}
Lb:=Input("Look-back period ?",2,100,3);
Cp:=Input("CCI periods ?",3,60,14);
CCI(Cp);
Mov(CCI(Cp),Lb,S)
----- Original Message -----
From: <MFall31148@xxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Saturday, July 08, 2000 6:06 PM
Subject: Formula HELP!!!
> Friends:
> Having just bought a new computer and installed MetaStock 6.52 with
all
> the patches, etc., I find that I've lost some custom formulas. Stupid me
> that I didn't print them out, but such is the way things go sometimes.
Can't
> remember what I did before, so I need help. Here it is... I want to buy
when
> the CCI (standard) goes above a moving average of itself (the CCI
> (standard)): conversely I want to sell when the CCI (standard) goes below
a
> moving average of itself (the CCI (standard)). Will be optimizing this,
but
> I can figure that part out myself. Sorry to put anyone at extra effort
that
> can help me...will do my best to return favor. Thanks, Milt Fall
>
|