通达信千钧正向思维源码副图贴图
源码
J0:=(HIGH+LOW)/2;
QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
VAR1:=IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,5),5));
VAR2:=IF(CAPITAL<1,WMA(VAR1,360),WMA(VAR1,90));
RSV:=(((CLOSE-LLV(LOW,10)) / (HHV(HIGH,10) - LLV(LOW,10))) * 100);
K:=SMA(RSV,6,1);
D:=SMA(K,6,1);K2:=IF((K>D),K,D);
K3:=(D-(K-D));
K4:=IF((K3<D),K3,D);
RSV1:=((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)))*100;
LWR1:=SMA(RSV1,3,1);
LWR2:=SMA(LWR1,3,1);
STICKLINE(VAR1>=VAR2,90,50,2.8,0),COLOR880088;
STICKLINE(VAR1<VAR2,0,50,2.8,0),COLOR008800;
STICKLINE((LWR1>LWR2),LWR1,LWR2,2.6,1),COLORFFFF00;
STICKLINE((K>D),K4*1.05,K2,2.6,1),COLOR0000FF;
刀妹原话;“首先,原码二货。无论“一发千钧”还是那个“骂我的”。他们原本都来自一个公式——资金流量,而且照抄得有点傻(不思考)。”
刀妹公布原码:《哈利路亚》
X_10:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_11:=IF(CLOSE>OPEN,X_10*(HIGH-LOW),IF(CLOSE<OPEN,X_10*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-X_10*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-X_10*(HIGH-LOW),0-VOL/2));
X_14:=X_11/20/1.15;
X_15:=X_14*0.55+REF(X_14,1)*0.33+REF(X_14,2)*0.22;
X_16:=EMA(X_15,3);
X_17:=X_16*1/10000;
X_18:=EMA(X_17,5);
X_19:=CROSS(X_17,X_18);
STICKLINE((X_17 > X_18),X_17 - X_18,0,2,0),COLORRED;
STICKLINE((X_17 < X_18),X_17 - X_18,0,2,0),COLORFF0000;
罪恶滔天:MA(X_17 - X_18,4),COLORGREEN,DOTLINE;
- 上一篇公式:通达信半分MACD主图源码
- 下一篇公式:通达信主力监控之王幅图指标源码