收藏
http://www.360doc.com/content/16/0519/19/33451880_560518232.shtml
1.-------------------------------------------------------------------------
M5:=MA(C,5);M10:=MA(C,10);M20:=MA(C,20);
XG:CROSS(C,M5) AND CROSS(C,M10) AND CROSS(C,M20);
2.-------------------------------------------------------------------------
MA1:=MA(CLOSE,1);
MA2:=MA(CLOSE,250);
AA:=CROSS(MA1,MA2);
MA3:=MA(CLOSE,1);
MA4:=MA(CLOSE,16);
BB:=CROSS(MA3,MA4);
MA5:=MA(CLOSE,1);
MA6:=MA(CLOSE,44);
CC:=CROSS(MA5,MA6);
三穿:AA AND BB AND CC ;
------------------------------------------------------------------------------------------------------
指标源码:
T1:=REF(C>O,3);
T2:=REF(C<O,2);
T3:=REF(C<O,1);
T4:=C>O;
T5:=C>REF(O,2) AND C>REF(O,1);
{双阴缩量}
T6:=VOL>REF(VOL,1) AND VOL>REF(VOL,2);
T7:=REF(VOL,3)>REF(VOL,2) AND REF(VOL,3)>REF(VOL,1);
一阳盖双阴:T1 AND T2 AND T3 AND T4 AND T5 AND T6 AND T7;