攻击流量-精品通达信指标公式源码分享
QJJ:=VOL / ((H - L) * 2 - ABS(C - O));
XVL:=IF(C > O,QJJ * (H - L),IF(C < O,QJJ * (H - O + (C - L)), VOL/ 2)) + IF(C > O,0 - QJJ * (H - C + (O - L)),IF(C < O,0 - QJJ * (H - L),0 - VOL / 2));
HSL:=XVL / 20 / 1.15;
YZBGZS:HSL * 0.55 + REF(HSL,1) * 0.33 + REF(HSL,2) * 0.22,COLORWHITE;
AB:0,COLORWHITE;
STICKLINE(YZBGZS>0 AND YZBGZS>REF(YZBGZS,1),0,YZBGZS,2.5,0),COLOR000055;
STICKLINE(YZBGZS>0 AND YZBGZS>REF(YZBGZS,1),0,YZBGZS,1.8,0),COLOR000099;
STICKLINE(YZBGZS>0 AND YZBGZS>REF(YZBGZS,1),0,YZBGZS,1.1,0),COLOR0000BB;
STICKLINE(YZBGZS<=0 AND YZBGZS>REF(YZBGZS,1),0,YZBGZS,2.5,0),COLORFF3300;
STICKLINE(YZBGZS<=0 AND YZBGZS>REF(YZBGZS,1),0,YZBGZS,1.8,0),COLORFF5500;
STICKLINE(YZBGZS<=0 AND YZBGZS>REF(YZBGZS,1),0,YZBGZS,1.1,0),COLORFF7700;
STICKLINE(YZBGZS>0 AND YZBGZS<REF(YZBGZS,1),0,YZBGZS,2.5,0),COLOR000055;
STICKLINE(YZBGZS>0 AND YZBGZS<REF(YZBGZS,1),0,YZBGZS,1.8,0),COLOR000099;
STICKLINE(YZBGZS>0 AND YZBGZS<REF(YZBGZS,1),0,YZBGZS,1.1,0),COLOR0000BB;
STICKLINE(YZBGZS<=0 AND YZBGZS<REF(YZBGZS,1),0,YZBGZS,2.5,0),COLORFF3300;
STICKLINE(YZBGZS<=0 AND YZBGZS<REF(YZBGZS,1),0,YZBGZS,1.8,0),COLORFF5500;
STICKLINE(YZBGZS<=0 AND YZBGZS<REF(YZBGZS,1),0,YZBGZS,1.1,0),COLORFF7700;
STICKLINE(HSL * 0.4 >= 0,HSL * 0.4 * 1.5,0,0,1),COLORYELLOW;
STICKLINE(HSL * 0.4 < 0,HSL * 0.4 * 1.5,0,0,1),COLORGREEN;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!