操盘趋势
VAR1:=EXPMEMA(EXPMEMA(CLOSE,7),7);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED;
A10:=CROSS(控盘,0);
建仓:IF(控盘>REF(控盘,1) AND 控盘<0 AND CROSS(C,EXPMEMA(C,7)),控盘,0),COLORYELLOW,NODRAW;
加仓:IF(A10,控盘,0),COLORMAGENTA,NODRAW;
持股:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;
减仓:IF(控盘<REF(控盘,1) AND 控盘>0.8,控盘,0),COLORGREEN,NODRAW;
回补:IF(控盘>0 AND 控盘<0.8,控盘,0),COLORLIRED,NODRAW;
控盘线:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED;
持币:IF(控盘线<0,控盘线,DRAWNULL),COLORCYAN,LINETHICK1;
操盘价:EXPMEMA(CLOSE,7),COLORWHITE,NODRAW;
EXPMEMA(CLOSE,14),COLORYELLOW,NODRAW;
EXPMEMA(CLOSE,26),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
DRAWBAND(0,RGB(0,224,224),控盘,RGB(139,0,0));
操盘线:=IF(控盘线>=0,控盘线,DRAWNULL),COLORRED,LINETHICK1;
IF(控盘>REF(控盘,1) AND 控盘<0 AND CROSS(C,EXPMEMA(C,7)),控盘*0.5,0),LINETHICK1,COLORYELLOW;
IF(A10 AND CURRBARSCOUNT=1,2,0),LINETHICK1,COLORMAGENTA;
0,COLORRED;
STICKLINE(BETWEEN(控盘,0,0.8) AND CURRBARSCOUNT=1,0,0,4,0),COLORLIRED;
STICKLINE(BETWEEN(控盘,100,0.8) AND 控盘<REF(控盘,1) AND CURRBARSCOUNT=1,0,0,4,0),COLORGREEN;
202264482342788.png
|