马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
四底选股
{指标名:4底信号Z ==用于<<大智慧新一代>>中选股
MA5:=MA(c,5);
{1.早晨之星}
AA:=MA5<REF(MA5,5)
and
(REF(CLOSE,2)/REF(OPEN,2)< 0.95
AND
REF(OPEN,1) < REF(CLOSE,2)
AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03
AND
CLOSE/OPEN>1.05 AND CLOSE>REF(close,2) );
{2.旭日东升}
BB:=MA5<REF(MA5,5)
and
( REF(CLOSE,1)<REF(OPEN,1)
AND
ref(o,1)>open>ref(c,1) AND CLOSE>REF(open,1) );
{3.曙光初现}
CC:=MA5<REF(MA5,5)
and
( REF(CLOSE,1)/REF(open,1)<=0.96
AND
open(ref(c,1)+ref(o,1))/2 and c<=ref(open,1) );
{4.穿头破脚}
DD:=MA5<REF(MA5,5)
and
( REF(CLOSE,1)/REF(open,1)<0.97
AND
{ c<REF(C,4) c and openref(open,1) );
{5.大光头光脚}
EE:=(O=L and C=H) OR (O=H and C=L);
xg:AA and BB and CC and DD and EE;
|