通达信主升抓牛副图指标公式【源码分享】

电脑版效果展示:

手机版效果展示:

指标源码:

A:=CROSS(SMA(CLOSE,2,1),SMA(LOW,5,1));

A1:=(SMA(HIGH,21,2)*1.05)*1.05;

A2:=IF(A,A1,SMA(LOW,5,1));

A3:=CROSS(SMA(CLOSE,2,1),(SMA(HIGH,21,2)*1.05));

A4:=IF(A3,(SMA(HIGH,21,2)*1.05)*1.10,(SMA(LOW,21,2)*0.95));

A5:=A2>SMA(LOW,5,1) AND CROSS(C,REF(MA(C,13),13/2+1)) AND VOL>0;

A6:=REF(H/O<1.02,1) AND REF(C<O,1);

抓牛:=A4>(SMA(LOW,21,2)*0.95) OR A5 AND A6;

STICKLINE(抓牛,25,12,1,0),COLORYELLOW;

STICKLINE(抓牛,20,5,2,0),COLOR00FF00;

STICKLINE(抓牛,5,0,2,0),COLORBLUE;

STICKLINE(抓牛,18,7,0.5,0),COLORRED;

STICKLINE(抓牛,7,3,1,0),COLOR00FF00;

STICKLINE(抓牛,3,0,2,0),COLORBLUE;

DRAWICON(抓牛,25.8,1);

(0)

相关推荐