源码

DP1:=INDEXADV/(INDEXADV+INDEXDEC)*INDEXA/100000000;
DP2:=WMA(EMA(DP1,3),3);
A:=(HHV(DP2,5)-DP2)/(HHV(DP2,5)-LLV(DP2,5))*100-80;
空头:EMA(3*A-2*SMA(A,18,1),5),LINETHICK3,PRECISION2,COLORGREEN;
B:=(DP2-LLV(DP2,5))/(HHV(DP2,5)-LLV(DP2,5))*80-80;
多头:3*SMA(B,3,1)-2*SMA(SMA(B,3,1),5,1),LINETHICK3,PRECISION2,COLORMAGENTA;
大盘1:=(INDEXC*2+INDEXH+INDEXL)/4;
大盘K := EMA(大盘1,13) – EMA(大盘1,34);
大盘D := EMA(大盘K,3);
大盘B:=(大盘K-大盘D);
大资金进:if(大盘B>=0,大盘B*8.8,0),LINETHICK,PRECISION2,COLORRED;
大资金撤:if(大盘B<=0,大盘B*2.58,0),LINEDOT,PRECISION2,COLORWHITE;
STICKLINE(大盘B<=0 and 大资金撤<=ref(大资金撤,1),0,大资金撤,2,0),COLORCYAN;
STICKLINE(大盘B<=0 and 大资金撤>=ref(大资金撤,1),0,大资金撤,2,0),ColorFFA6FF;
STICKLINE(大盘B>=0 and 大资金进>=ref(大资金进,1),0,大资金进,2,0),COLORRED;
STICKLINE(大盘B>=0 and 大资金进<=ref(大资金进,1),0,大资金进,2,0),COLORYELLOW;
PARTLINE(1,大资金进),LINEDOT,COLORYELLOW;
PARTLINE(1,0),LINETHICK2,COLORGRAY;
 


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。