一目了然操盘线主图公式源码
主力资金:EXPMA(CLOSE,3),LINETHICK1;
散户资金:EXPMA(CLOSE,26)COLORLIMAGENTA,LINETHICK2;
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,9);
VAR3:=REF(VAR2,1);
持股: IF(VAR2>VAR3,VAR2,DRAWNULL), POINTDOT,LINETHICK6, COLORYELLOW;
持币: IF(VAR2<VAR3,VAR3,DRAWNULL),POINTDOT,LINETHICK6, COLORBLUE;
AA:=CROSS(MA(C,5),MA(C,18));
DRAWICON(AA,L*0.98,11);
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;
71455899.jpg
|