设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

大智慧好用分时指标公式是什么?

2016-4-28 10:17:47 股票入门 http://rumen.southmoney.com

大智慧好用分时指标公式是什么?附:大智慧自用的逃顶抄底公式源码  南方财富网小编为您提供


【大智慧好用分时指标公式】

好用分时指标,请高手在优化一下,最好做个分时预警(机构买线上穿机构卖线)

VAR0:=VOL/CLOSE/2;
VAR1:=SUM(IF(VAR0 > 100 AND CLOSE > REF(CLOSE,1),VAR0,0),0);
VAR2:=SUM(IF(VAR0 > 100 AND CLOSE < REF(CLOSE,1),VAR0,0),0);
VAR3:=SUM(IF(VAR0 < 100 AND CLOSE > REF(CLOSE,1),VAR0,0),0);
VAR4:=SUM(IF(VAR0 < 100 AND CLOSE < REF(CLOSE,1),VAR0,0),0);
VAR5:=VAR1 + VAR2 + VAR3 + VAR4;
VAR6:=IF(BARSTATUS=2,100 * VAR1/VAR5,0);
VAR7:=IF(BARSTATUS=2,100 * VAR2/VAR5,0);
VAR8:=IF(BARSTATUS=2,100 * VAR3/VAR5,0);
VAR9:=IF(BARSTATUS=2,100 * VAR4/VAR5,0);
机构买盘:VAR1,LINETHICK3,COLORFF55FF;
机构卖盘:VAR2,LINETHICK3,COLORFFFF55;
散户买盘:VAR3,COLOR5555FF;
散户卖盘:VAR4,COLOR55FF55;
DRAWTEXTREL(950,870,'机构买盘'),COLORFF00ff;
DRAWTEXTREL(950,570,'机构卖盘'),COLORFFFF00;
DRAWTEXTREL(950,320,'散户买盘'),COLOR0000FF;
DRAWTEXTREL(950,50,'散户卖盘'),COLOR00FF00;
IF BARSTATUS=2 THEN BEGIN
DRAWTEXTREL(1030,870,'' + FLOOR(VAR6) + '%'),COLORFF00FF;
END
IF BARSTATUS=2 THEN BEGIN
LOOP0:=FLOOR(VAR7);
VAR10:='' + LOOP0;
VAR11:=VAR10 + '%';
DRAWTEXTREL(1030,570,VAR11),COLORFFFF00;
END
IF BARSTATUS=2 THEN BEGIN
LOOP1:=FLOOR(VAR8);
VAR12:='' + LOOP1;
VAR13:=VAR12 + '%';
DRAWTEXTREL(1030,320,VAR13),COLOR0000FF;
END
IF BARSTATUS=2 THEN BEGIN
LOOP2:=FLOOR(VAR9);
VAR14:='' + LOOP2;
VAR15:=VAR14 + '%';
DRAWTEXTREL(1030,50,VAR15),COLOR00FF00;
END;

 

WIDTH: 578px" onmousewheel="return bbimg(this)" border=0 alt=大智慧指标公式 src="/gongshi/UploadFiles_7413/201604/2016042810211266.png" width=126 height=88> 

附:【大智慧自用的逃顶抄底公式源码】

RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV2:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
WEN:=3*SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1);
J1:=SMA(RSV1,5,1);J2:=SMA(J1,5,1);
W1:=SMA(RSV2,5,1);W2:=SMA(W1,5,1);
逃顶准备: IF(CROSS(J2,J1) AND J2>95,85,100),LINETHICK2,COLOR00FF00;
抄底准备:IF(WEN<=5,5,0),LINETHICK2,COLORYELLOW;
STICKLINE(WEN>95,100,80,8,0),COLORGREEN;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING(CURRENTTIME>180000 and (CXH=1 OR CXH=6));
STICKLINE(COUNT(WEN<ref(WEN,5) AND WEN<6,2)=2 ,0,20,8,0),COLORRED;

更多大智慧指标公式相关资讯请关注南方财富网

PS:图片看不清的朋友,可以自行调整噢!

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。