1161818 发表于 2017-1-6 12:25

通达信黑马暴涨主图指标公式

DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWTEXT_FIX(1,0.88,5,0,''),COLORRED;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORBLUE;
ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
ZD2:EMA(ZD1,25),LINETHICK2;
DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(ZD1>LOW AND ZD1<HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW;
STICKLINE(ZD1>MIN(C,O) AND ZD1<MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=ZD1>HIGH AND 回调买 AND L<=ZD1;
DRAWTEXT(XG,L,'▲买入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1;
{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
DRAWTEXT(XG2 AND L<ZD1,L,'↖黑马暴涨'),COLORRED;

板凳腿 发表于 2017-1-6 19:56

当前公式 : 通达信黑马暴 (指标画线公式)
错误句 :
ZK1XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORBLUE
详细信息 :
错误起始位置 : 150 ; 长度: 12

王缘 发表于 2017-1-6 22:00

当前公式 : 黑马暴涨 (指标画线公式)
错误句 :
ZK1XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORBLUE
详细信息 :
错误起始位置 : 152 ; 长度: 12

szwzs 发表于 2020-3-16 19:53

yyroad 发表于 2017-1-6 16:07
谢谢楼主分享

人脸用冒号代替看看,也就是XMA前面要有冒号。

高山下的云海 发表于 2017-1-6 13:36

谢谢楼主分享

ljxlxq 发表于 2017-1-6 14:20

谢谢楼主分享

萍水相逢168 发表于 2017-1-6 14:35

老师指标错误

yyroad 发表于 2017-1-6 16:07

谢谢楼主分享

联想之理想 发表于 2017-1-6 19:16

谢谢楼主的分享。。。。。

板凳腿 发表于 2017-1-6 19:55

谢谢楼主分享

kjjzsl 发表于 2020-3-13 13:40

感谢老师的辛勤劳动

夜笙七郎 发表于 2020-3-13 15:52

谢谢楼主分享。

kjjzsl 发表于 2020-3-14 14:27

非常感谢楼主的共享

gsmingdeng 发表于 2020-3-14 17:17

分享就有德。

kjjzsl 发表于 2020-3-16 12:59

谢谢楼主分享

阿波罗2118 发表于 2020-3-16 19:00

好用吗谢谢楼主分享
页: [1] 2
查看完整版本: 通达信黑马暴涨主图指标公式