通达信《每日筹码》副图指标公式源码:
X_1:=6; X_2:=6; X_3:=IF(HIGH=HHV(HIGH,8*X_1),HIGH,DRAWNULL); X_4:=CONST(BARSLAST(X_3=HIGH))+1; X_5:=CONST(IF(X_4=1,HIGH,REF(HIGH,X_4-1))); X_6:=IF(LOW=LLV(LOW,8*X_2),LOW,DRAWNULL); X_7:=CONST(BARSLAST(X_6=LOW))+1; X_8:=CONST(IF(X_7=1,LOW,REF(LOW,X_7-1))); X_9:=CURRBARSCOUNT<=X_7 AND LOW=X_8; X_10:=CURRBARSCOUNT<=X_4 AND HIGH=X_5; STICKLINE(IF(X_7>X_4,X_10,X_9),X_8,X_5,0,0),COLOR628962; STICKLINE(IF(X_7>X_4,X_9,X_10),X_8,X_5,0,0),COLOR628962; NOTEXT高:REF(HIGH,BARSLAST(X_10)),DOTLINE,COLOR628962; NOTEXT低:REF(LOW,BARSLAST(X_9)),DOTLINE,COLOR628962; X_11:=LLV(MA((LOW+HIGH+CLOSE+OPEN)/4,6),88); X_12:=EMA((HIGH+LOW+CLOSE)/3*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*20/10+X_11,2); X_13:=(3*X_12-2*SMA(X_12,5,1))*0.3;{WWW.ZHIBIAO123.CN} X_14:=(HHV(INDEXH,13)-INDEXC)/(HHV(INDEXH,13)-LLV(INDEXL,13)); X_15:=EMA(3*X_14-2*SMA(X_14,18,1),5); X_16:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8)); X_17:=3*SMA(X_16,3,1)-2*SMA(SMA(X_16,3,1),5,1); X_18:=(INDEXC*2+INDEXH+INDEXL)/4; X_19:=EMA(X_18,13)-EMA(X_18,34); X_20:=EMA(X_19,5); X_21:=(X_19-X_20+X_11)*1; X_22:=1.86*EMA(CLOSE,5)-EMA(CLOSE,13); 资金力度:X_22,COLORYELLOW,LINETHICK2; X_23:=MA(CLOSE,1); X_24:=SMA(SMA(SMA(X_23,2,1),2,1),2,1); X_25:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10; X_26:=(X_24-REF(X_24,1))/REF(X_24,1)*100; X_27:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); X_28:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1); X_29:=IF(MA(CLOSE,17)<X_28,X_28,MA(CLOSE,17)); X_30:=EMA(CLOSE,243); X_31:=EMA(CLOSE,3); X_32:=X_29-(X_31-X_29); 散筹:X_30-(X_31-X_30),COLORGREEN,LINETHICK2; NOTEXTCG:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORFFAA99; NOTEXTCG1:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORFFAA99; 主筹:IF(MA(CLOSE,17)<X_28,X_28,MA(CLOSE,17)),COLORLIMAGENTA,LINETHICK2; NOTEXT3:IF(主筹<REF(主筹,1),主筹,DRAWNULL),COLORFFAA99,LINETHICK2; NOTEXT4:IF(主筹>REF(主筹,1),主筹,DRAWNULL),COLORLIMAGENTA,LINETHICK2; X_33:=FORCAST(CLOSE,5); 黄:LLV(FORCAST(CLOSE,5),2),COLORYELLOW; X_34:=X_33*100-黄*100; DRAWBAND(X_33,RGB(155,155,0),黄,RGB(0,155,0)); 绿:IF(X_34=0,黄,DRAWNULL),COLORGREEN,LINETHICK2; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); XH:=FILTER(主筹>REF(主筹,1) AND CROSS(X_34,黄) AND C>NOTEXTCG,5); DRAWICON(XH,主筹,26);
负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/159372.html,转载请注明出处。
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/159372.html,转载请注明出处。