PureBytes Links
Trading Reference Links
|
Dom,
Thank you for
the reply and the sample. I did exactly as you suggested and searched the
archives. I did find some examples there, but being totally new to AFL, I could
not get them to work when errors came up. I think most of it had to do with
Relative Strength. . I did get your sample to work though. Weinstein's method
boils down to 4 key areas. Increasing trend after a consolidation,
Increasing volume with the increasing trend , a strong RSI and definite increase
above the 30 week MA.
I guess I
will have to slowly learn the AFL language and experiment to see if I can
somehow get the above 3 criteria into a mechanical system. If anyone has any
suggestions, they would be more than welcome.
Thank you
all
Tom
Thomas R. Csibor
DMI Insurance Services, Inc.
1-408-465-2198 or
1-800-877-2525 ext. 2198
Fax: 1-408-465-2199
Look in the .chm archives under
"Weinstein". Here's a Weinstein uptrend scan
example:
OBVa=OBV();
OBVsequp60to30=EMA( OBVa,30)>EMA( OBVa,40)
AND EMA( OBVa,40)>EMA( OBVa,50) AND EMA( OBVa,50)>EMA( OBVa,60)
;
k=StochK(14);
d=StochD(14);
kdCross=Cross(k,d) AND
StochK(14)<60;
OBVcross=Cross(OBV(),EMA(OBV(),3));
exremarray=Cross(k,d)
AND
StochK(14)<60;
exremlimit=ExRem(exremarray,exremarray);
higherlow2=ValueWhen(kdCross,C,2);
higherlow3=ValueWhen(kdCross,C,3);
twohigherlows=C>higherlow2
AND higherlow2>higherlow3;
Buy=MA(V,50)>100000 AND OBVcross AND
twohigherlows AND exremlimit
AND OBVsequp60to30;
dom
Please
note that this group is for discussion between users only.
To get support
from AmiBroker please send an e-mail directly to SUPPORT {at}
amibroker.com
For other support material please check also: http://www.amibroker.com/support.html
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Sponsor |
ADVERTISEMENT
| |
|
Yahoo! Groups Links
|