通信达公式指标大全 通达信看量能逢高出货副图公式源码
2016-08-15 11:01 股票知识 zhishi.southmoney.com
VAR1:=HIGH-LOW;
VAR2:=ABS(OPEN-CLOSE);
VAR3:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);
VAR4:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;
VAR5:=VAR2/VAR1*VOL;
VAR6:=VAR3/VAR1*VOL;
VAR7:=VAR4/VAR1*VOL;
VAR8:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));
MA5: MA(VOL,5), , COLORRED;
MA10: MA(VOL,10), , COLORGREEN;
多头成交量: STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,3,1), , COLORRED;
空头成交量: STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,3,1), , COLORGREEN;
向上攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE>OPEN,0,VAR5,3,0), , COLORRED;
向下攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE>OPEN,0,VAR5,3,0), , COLORGREEN;
上探量: STICKLINE(VAR6>VAR5 AND VAR6>VAR7,0,VAR6,3,0), , COLORCCCC66;
下探量: STICKLINE(VAR7>VAR5 AND VAR7>VAR6,0,VAR7,3,0), , COLORFF6633;
相对地量: STICKLINE(VAR8>2 AND VOL<MA(VOL,5)/2,0,VOL,1.5,0), , COLORMAGENTA;
放量: STICKLINE(VOL>MA(VOL,5)*3,0,VOL,1.5,0), , COLORWHITE;
逢高出货: DRAWTEXT(VAR6>VAR5 AND VAR6>VAR7 AND CLOSE>MA(CLOSE,5)
AND CLOSE>MA(CLOSE,34) AND HIGH>MA(CLOSE,55) AND VOL>MA5
AND VAR6>MA(VOL,5),VOL,'逢高出货'), , COLORRED;
VAR2:=ABS(OPEN-CLOSE);
VAR3:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);
VAR4:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;
VAR5:=VAR2/VAR1*VOL;
VAR6:=VAR3/VAR1*VOL;
VAR7:=VAR4/VAR1*VOL;
VAR8:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));
MA5: MA(VOL,5), , COLORRED;
MA10: MA(VOL,10), , COLORGREEN;
多头成交量: STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,3,1), , COLORRED;
空头成交量: STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,3,1), , COLORGREEN;
向上攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE>OPEN,0,VAR5,3,0), , COLORRED;
向下攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE>OPEN,0,VAR5,3,0), , COLORGREEN;
上探量: STICKLINE(VAR6>VAR5 AND VAR6>VAR7,0,VAR6,3,0), , COLORCCCC66;
下探量: STICKLINE(VAR7>VAR5 AND VAR7>VAR6,0,VAR7,3,0), , COLORFF6633;
相对地量: STICKLINE(VAR8>2 AND VOL<MA(VOL,5)/2,0,VOL,1.5,0), , COLORMAGENTA;
放量: STICKLINE(VOL>MA(VOL,5)*3,0,VOL,1.5,0), , COLORWHITE;
逢高出货: DRAWTEXT(VAR6>VAR5 AND VAR6>VAR7 AND CLOSE>MA(CLOSE,5)
AND CLOSE>MA(CLOSE,34) AND HIGH>MA(CLOSE,55) AND VOL>MA5
AND VAR6>MA(VOL,5),VOL,'逢高出货'), , COLORRED;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。