年相对价位:=100*(CLOSE-REF(LLV(C,240),1))/(REF(HHV(C,240),1)-REF(LLV(C,240),1));
NHDG:=MAX(MAX(MA5,MA10),MAX(MA20,MA30));
NHZG:=MAX(MAX(NHDG,MA60),MAX(MA90,MA120));
NHDD:=MIN(MIN(MA5,MA10),MIN(MA20,MA30));
NHZD:=MIN(MIN(NHDD,MA60),MIN(MA90,MA120));
粘合:=(NHZG/NHZD-1)*100 10 AND 年相对价位
NH穿5:=CROSS(C,MA5);{www.9m8.cn 九毛八公式指标网}
NH穿10:= CROSS(C,MA10);
NH穿20:= CROSS(C,MA20);
NH穿30:= CROSS(C,MA30);
NHFLSZ:=(C/REF(C,1)-1)*100 =2 AND V REF(V,1);
NHDXTP:=( NH穿5 + NH穿10 + NH穿20 + NH穿30 )
多头:=MA5 REF(MA5,1) AND MA10 REF(MA10,1) AND MA20 REF(MA20,1) AND MA30 REF(MA30,1) AND MA60 REF(MA60,1);
开花:=(COUNT(CROSS(MA20,MA30),20) + COUNT(CROSS(MA5,MA10),20) + COUNT(CROSS(MA10,MA20),20) + COUNT(CROSS(MA30,MA60),20) + COUNT(CROSS(MA60,MA120),20) )
线粘合:NHFLSZ AND NHDXTP AND 多头 AND 开花;