{麒麟波段短线主图源码如下}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HGW1:=CROSS(3*SMA(RSV,3,1)-2*SMA(SMA(RSV,3,1),3,1),MA(3*SMA(RSV,3,1)-2*SMA(SMA(RSV,3,1),3,1),2))AND C>O;
HGW2:=((REF(C,3)-REF(C,1))/C)*100>6;
HGW3:= CLOSE>REF(CLOSE,1)*1.03 ;
HGW4:= REF(((H-O)/C)*100< 2,1);
HGW5:=REF(C< O,2) AND REF(C< O,1);
HGW6:=((H-C)/C)*100< 2 AND H>REF(H,1);
HGW7:=((REF(O,1)-REF(C,1))/C)*100>1;
HGW8:=((REF(O,2)-REF(C,2))/C)*100< 9;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
HGW试:=MACD>REF(MACD,1) AND MACD< 0;
麒麟波段:=HGW1 AND HGW2 AND HGW3 AND HGW4 AND HGW5 AND HGW6 AND HGW7 AND HGW8 AND HGW试;
DRAWSL(麒麟波段,L,0,10,0),COLORGREEN;
DRAWICON(麒麟波段,L,1);
{麒麟波段短线副图源码如下}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HGW1:=CROSS(3*SMA(RSV,3,1)-2*SMA(SMA(RSV,3,1),3,1),MA(3*SMA(RSV,3,1)-2*SMA(SMA(RSV,3,1),3,1),2))AND C>O;
HGW2:=((REF(C,3)-REF(C,1))/C)*100>6;
HGW3:= CLOSE>REF(CLOSE,1)*1.03 ;
HGW4:= REF(((H-O)/C)*100< 2,1);
HGW5:=REF(C< O,2) AND REF(C< O,1);
HGW6:=((H-C)/C)*100< 2 AND H>REF(H,1);
HGW7:=((REF(O,1)-REF(C,1))/C)*100>1;
HGW8:=((REF(O,2)-REF(C,2))/C)*100< 9;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
HGW试:=MACD>REF(MACD,1) AND MACD< 0;
麒麟波段: HGW1 AND HGW2 AND HGW3 AND HGW4 AND HGW5 AND HGW6 AND HGW7 AND HGW8 AND HGW试;