您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

通信达公式导入 分时突破买卖点分时主图源码(3)

2018-03-15 11:15    股票知识   zhishi.southmoney.com
    

高:=1.03;

DRAWTEXT(CROSS(主力,1.02),C*0.999,'-拉升'),COLORCYAN;

DRAWICON(CROSS(主力,1.04),C,24);

DRAWTEXT(CROSS(主力,1.04),C*0.999,'-冲涨停'),COLORLIMAGENTA;

A1:=(VOL/CLOSE)/3;

A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);

A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);

A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);

A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);

A6:=((A2+A3)+A4)+A5;

A7:=IF((BARSTATUS=2),((100*A2)/A6),0);

A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));

A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));

A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));

机构买盘:=(A2),LINETHICK2;

机构卖盘:=(A3),LINETHICK2;

散户买盘:=(A4);

散户卖盘:=(A5);

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力1:=L1+P1*7/8,COLORGREEN;

支撑3:=L1+P1*0.5/8,COLORMAGENTA;

DRAWTEXT(LONGCROSS(支撑3,C,2),C,'买'),COLORYELLOW;

DRAWTEXT(LONGCROSS(C,阻力1,2),C,'卖'),COLORGREEN;

量价:=(VOL/CLOSE)/3;

B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);

B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);

B6:=B2+B3;DD1:=1;比:=B2/B3;

AAA:=MAX(DYNAINFO(3),DYNAINFO(5));

BBB:=MIN(DYNAINFO(3),DYNAINFO(6));

CCC:=AAA-BBB;

中轨:=(AAA+BBB)/1,POINTDOT;

阻力:BBB+CCC*7/8,COLORBLUE,POINTDOT;

支撑:BBB+CCC*1/8,COLORMAGENTA,POINTDOT;

支撑1:BBB+CCC*0.5/8,POINTDOT;

上顶:BBB+CCC*2/3,POINTDOT;

下底:BBB+CCC/3,COLORBLUE,POINTDOT;

STICKLINE(C>阻力,阻力,C,2,0),COLORGREEN;

STICKLINE(C<支撑,支撑,C,2,0),COLORLIMAGENTA;

DRAWTEXT(LONGCROSS(支撑1,C,2),下底,'B'),COLORYELLOW;

DRAWTEXT(LONGCROSS(C,阻力,2),上顶,'S'),COLORRED;


更多股票公式相关资讯请关注南方财富网

(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号