AS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
NS1:=MA(AS3,5)COLORGREEN;
IF(NS1>REF(NS1,1),NS1,DRAWNULL),LINETHICK1,LINETHICK1,COLORRED;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*0.70828;
主动卖盘:=(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2))*0.63275;
P:=(主动买盘+主动卖盘)*(2*CLOSE+HIGH+LOW)/4;
DIFF:=EMA(P,12)-EMA(P,26), LINETHICK1,COLORWHITE;
DEA:=EMA(DIFF,9),COLORGREEN;
MACD:DIFF-DEA, COLORSTICK;
IF(DIFF>=REF(DIFF,1),DIFF,DRAWNULL),COLORYELLOW,LINETHICK3;
DIF:DIFF,LINETHICK2,COLOR00FFFF;
建仓:IF(DIF<0,DIF,0),COLORYELLOW,LINETHICK2;
加仓:IF(DIF<0,0,DIF),COLORRED,LINETHICK2;
白线卖:IF(DIF<DEA,DIF,DEA),COLORWHITE,LINETHICK2;
趋势:IF(DIF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;
负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:
https://www.zhibiao123.cn/161245.html,转载请注明出处。