以下是通达信浮筹比例指标源码和截图
通达信浮筹比例指标源码:
获利盘:ma(WINNER(CLOSE)*100,10),colorRed,linethick3;
套牢盘:ma(100*(1-WINNER(C)),20),colorgreen,linethick3;
浮筹筹码:ma((winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100,5),color0050ff,linethick1;
底线:20;
顶线:80;
DRAWICON((获利盘>80and浮筹筹码<20),low,2),colorred;
DRAWICON((套牢盘>80and浮筹筹码<20),HIgh,1),colorred;
N:=1110209;
VAR1:=IF(DATE<1111201ANDDATE>900101,1,1);
今浮筹比例:(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100*VAR1,COLORFF00FF,LINETHICK1;
前浮筹比例:REF(今浮筹比例,1),COLOR00FF00,LINETHICK1;
浮筹比增:今浮筹比例-前浮筹比例,NODRAW;
STICKLINE(浮筹比增>=0,0,浮筹比增,2,0),COLOR00FF00;
STICKLINE(浮筹比增<0,浮筹比增,0,2,0),COLOR0000FF;
DRAWNUMBER(ISLASTBAR,浮筹比增,浮筹比增);
RQ:=BARSLAST(DATE=N);
某日比增:REF(浮筹比增,RQ),NODRAW;
VAR0:=(C+H+L+O)/4;
VAR1:=(HHV(H,24)-C)/(HHV(H,24)-LLV(L,24))*100;
VAR2:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100;
B:=EMA((VAR0-LLV(L,26))/(HHV(H,34)-LLV(L,26))*100,16);
空方1:=SMA(VAR1,3,1);
浮筹1:=EMA(B,4);
短线1:=SMA(SMA(VAR2,2,1)+3,2,1);
浮筹:=EMA(B,4),COLORYELLOW,LINETHICK2;
STICKLINE((空方1>浮筹,1),浮筹,空方1,4,0),COLOR2EA643;
STICKLINE((浮筹>=浮筹,1),0,浮筹,4,0),COLORD1BE21;
空方:SMA(VAR1,3,1),COLORBLUE,LINETHICK2;
浮筹A:EMA(B,4),COLORYELLOW,LINETHICK2;
短线:SMA(SMA(VAR2,2,1)+3,2,1),LINETHICK2,COLORRED;
DRAWICON(CROSS(短线,浮筹),10,1),COLOR0000FF;
通达信浮筹比例指标截图
评论(0)