通达信成交量,量神源码
V113:=(V*((((2/3)*(H-C))/(H-L)) + (((1/3)*(C-L))/(H-L))));
VD11:=IF(V111,V112,0);
VZ11:=IF(V111,V113,0);
V121:=(((((H=L) AND (C=O)) AND (H=C)) AND (L=C)) AND ((((C-REF(C,1))/REF(C,1))*100)>9.75));
VD12:=IF(V121,V,0);
V122:=(((((H=L) AND (C=O)) AND (H=C)) AND (L=C)) AND ((((C-REF(C,1))/REF(C,1))*100)<(0-9.75)));
VZ12:=IF(V122,V,0);
V131:=((((((H=L) AND (C=O)) AND (H=C)) AND (L=C)) AND ((((C-REF(C,1))/REF(C,1))*100)<9.75)) AND ((((C-REF(C,1))/REF(C,1))*100)>(0-9.75)));
VD13:=IF(V131,(0.5*V),0);
V132:=((((((H=L) AND (C=O)) AND (H=C)) AND (L=C)) AND ((((C-REF(C,1))/REF(C,1))*100)<9.75)) AND ((((C-REF(C,1))/REF(C,1))*100)>(0-9.75)));
VZ13:=IF(V132,(0.5*V),0);
魔鬼:=VZ1 + VZ2 + VZ3 + VZ4 + VZ5 + VZ6 + VZ7 + VZ8 + VZ9 + VZ10 + VZ11 + VZ12 + VZ13;
量比a:(V/MA(V,5)),LINETHICK0,coloryellow;
V10:=真神;
V20:=魔鬼;
JX1:=BARSSINCE(V10);
JY1:=IF(((121>JX1) AND (JX1>0)),JX1,120);
JY2:=IF(((4>JX1) AND (JX1>0)),JX1,3);
V30:=MA(V,JY2);
动神:V10,colorf00ff0;
鬼力:V20,colorBBBBBB;
神比:=(动神/V30);
鬼比:=(鬼力/V30); V2:=(H-L);
V3:=ABS((O-C));
V4:=(H-IF((C>O),C,O));
V5:=(IF((C>O),O,C)-L);
V6:=((V3/V2)*V);
V7:=((V4/V2)*V);
V8:=((V5/V2)*V);
V9:=IF(((V/CAPITAL)>0.001),1,EXP(ABS(LOG(((V/CAPITAL)*100)))));
VA:=(((C-MA(C,5))/MA(C,5))*100);
VB:=(((MA(C,5)>MA(C,10)) AND (MA(C,10)>MA(C,30))) AND (MA(C,30)>MA(C,60)));
VC:=((MA(C,5)<MA(C,10)) AND (MA(C,10)<MA(C,30)));
V40:=((IF((((V6 >= V7) AND (V6 >= V8)) AND (C>O)),V6,动神) + 动神)/2);
V41b:=((IF(((V7>V6) AND (V7>V8)),V7,动神) + 动神)/2);
V42b:=((IF(((V8>V6) AND (V8>V7)),V8,动神) + 动神)/2);
V50:=((IF((((V6 >= V7) AND (V6 >= V8)) AND (C<O)),V6,鬼力) + 鬼力)/2);
STICKLINE((鬼力>0),鬼力,0,3,0),colorFF3399;
多头:STICKLINE((C>MA(C,30)),0,V,3,1),colorred;
空头:STICKLINE((C<MA(C,30)),0,V,3,0),colorgreen;
STICKLINE((鬼力>0),鬼力,0,3,0),colorFF3399;
上攻量:STICKLINE((((V6 >= V7) AND (V6 >= V8)) AND (C>O)),0,V6,3,0),color66FFff;
下攻量:STICKLINE((((V6 >= V7) AND (V6 >= V8)) AND (C<O)),0,V6,3,0),color6633ff;
上探量:STICKLINE(((V7>V6) AND (V7>V8)),0,V7,3,0),colorCCCC66;
下探量:STICKLINE(((V8>V6) AND (V8>V7)),0,V8,3,0),colorFF6633;
相对地量:STICKLINE(((V9>2) AND (V<(MA(V,5)/2))),0,V,3,0),color9966CC;
地量:DRAWTEXT(((V9>2) AND (V<(MA(V,5)/2))),V,'地量'),colorf00ff0;
放量:STICKLINE((V>(MA(V,5)*2.5)),0,V,3,0),colorFFFFFF;
STICKLINE((动神>0),动神,0,1.5,0),colorf00ff0;
逢高出货:DRAWTEXT(((((((((V7>V6) AND (VA>2)) AND (V9>V8)) AND (C>MA(C,5))) AND (C>MA(C,30))) AND (H>MA(C,60))) AND (V>MA(V,5))) AND (V7 >= MA(V,5))),V,'逢高出货'),colorf00ff0;
逢低跟进:DRAWTEXT(((((((V8>V6) AND (V8>V7)) AND (VA<(0-2))) AND (C<MA(C,30))) AND (V8<(MA(V,5)/2))) AND (MA(V,5)<MA(V,10))),V,'低进'),colorFF00FF;
强势参与:DRAWTEXT((((((V6>(MA(V,5)*2)) AND (V6 >= V7)) AND (V6 >= V8)) AND (C>O)) OR ((V>(MA(V,5)*3)) AND VB)),V,'强势参与'),colorCC99CC;
空头释放:DRAWTEXT(((((((V6 >= V7) AND (V6 >= V8)) AND (C<O)) AND ((V6/V)>0.7)) AND VC) AND (V6>MA(V,5))),(V6*2),'空头释放'),colorf00ff0;
- 上一篇公式:通达信趋势,买卖,趋势买卖主副图同发源码
- 下一篇公式:通达信买卖,24 节气主语源码