{金叶珠宝模式判断}
J10:=O>REF(C,1) AND C
J20:=J15>5;
HSL:=100*DYNAINFO(37),VOLSTICK;
MA(HSL,20),COLORYELLOW;
P1:=HSL<=1;
P2:=HSL>1 AND HSL<=3;
P3:=HSL>3 AND HSL<=5;
P4:=HSL>5 AND HSL<=10;
P5:=HSL>10;
STICKLINE(P1,0,HSL,3,0),COLOR808080;
STICKLINE(P2,0,1,3,0),COLOR808080;
STICKLINE(P2,1,HSL,3,0),COLOR008000;
STICKLINE(P3,0,1,3,0),COLOR808080;
STICKLINE(P3,1,3,3,0),COLOR008000;
STICKLINE(P3,3,HSL,3,0),COLOR0080FF;
STICKLINE(P4,0,1,3,0),COLOR808080;
STICKLINE(P4,1,3,3,0),COLOR008000;
STICKLINE(P4,3,5,3,0),COLOR0080FF;
STICKLINE(P4,5,HSL,3,0),COLOR0000FF;
STICKLINE(P5,0,1,3,0),COLOR808080;
STICKLINE(P5,1,3,3,0),COLOR008000;
STICKLINE(P5,3,5,3,0),COLOR0080FF;
STICKLINE(P5,5,10,3,0),COLOR0000FF;
STICKLINE(P5,10,HSL,3,0),COLORFF0000;
最佳启动源码如下:
DIF:EMA(CLOSE,9)-EMA(CLOSE,150),NODRAW;
DEA:EMA(DIF,12),NODRAW;
MACD:2*(DIF-DEA),COLORSTICK;
DIK:4*DIF-3*DEA,COLORYELLOW;
DED:=EMA(DIK,1),COLORGREEN;
IF(C>DED,DED,DRAWNULL),COLORRED,LINETHICK3;
IF(DED<=REF(DED,1),DED,DRAWNULL),COLORGREEN,LINETHICK3;
启动点:=MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)AND REF(MACD ,2)AND REF(MACD ,3)STICKLINE(启动点,8,MACD,2,0),COLORMAGENTA;
分界线:0,COLORFF00FF;
DRAWICON(启动点,20,11);
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR40FF00;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR40FF00;