不怕洗盘
{不怕洗盘}
DRAWGBKLAST(CLOSE>0,STRIP(RGB(85,105,185),RGB(0,0,0),0));
赢:=MA(C,1);
在:=SMA(SMA(SMA(赢,2,1),2,1),2,1);
龙:=MA(在,3);
FILLRGN(在,龙,在>=龙),ColorFFFFFF;
FILLRGN(在,龙,在<龙),color008800;
赢在龙头:=(L+H+C*4)/6;
工作:EMA(赢在龙头,12),COLOR00FF00;
度假:EMA(赢在龙头,19);
赢在:=(工作-REF(工作,1))/REF(工作,1)*100;
龙头:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(赢在,0));
赢在龙:REF(赢在龙头,G),COLORWHITE,LINETHICK1;
A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5-A6);
PARTLINE(LLV(L,21),A7),COLORFFFF00;
PARTLINE(LLV(L,21),A7),COLORRED,CIRCLEDOT;
STICKLINE(C>REF(C,1),C,O,5,0),COLOR00EEEE;
STICKLINE(C>REF(C,1),C,O,3.5,0),COLOR0088CC;
STICKLINE(C>REF(C,1),C,O,3,0),COLOR0066DD,LINETHICK2;
STICKLINE(C>REF(C,1),C,O,2,0),COLOR0044EE;
STICKLINE(C>REF(C,1),C,O,1,0),COLOR0022FF;
STICKLINE(C<REF(C,1),C,O,2,0),COLORGREEN,LINETHICK1;
PARTLINE(度假,龙头>=0),COLORMAGENTA,LINETHICK2;
PARTLINE(工作,赢在>=0),COLOR0000FF,LINETHICK2;
PARTLINE(赢在龙,赢在>=0),LINETHICK1,COLORRED;
STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),Color00FF00,POINTDOT,LINETHICK1;
STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),Color00FF00,POINTDOT,LINETHICK2;
STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,1),Color00FF00,CIRCLEDOT,LINETHICK3;
STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),Color00FF00,POINTDOT,LINETHICK4;
STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),Color00FF00,POINTDOT,LINETHICK5;
STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),Color00FF00,POINTDOT,LINETHICK6;
STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),Color00FF00,POINTDOT,LINETHICK7; |