通达信——红色底部出现即涨通达信指标公式...

通达信——红色底部出现即涨通达信指标公式

源码:

红色底部出现:=((EMA(CLOSE,3) - EMA(CLOSE,6)) * 5);
牛逼的:(EMA(红色底部出现,7) + EMA(CLOSE,5)),;
RC:=DYNAINFO(3);
即涨指标公式:=SMA(C,3,1);
通达信:=SMA(C,5,1);
rrrt1:=2*(即涨指标公式-通达信);
STICKLINE(rrrt1>0,RC,RC+rrrt1,0,1),COLORRED,LINETHICK2;
STICKLINE(rrrt1<0,RC,RC+rrrt1,0,1),COLORFF00FF,LINETHICK2;
rrrt2:RC,COLOR00FF00,LINETHICK2;
rrrt3:MA(C,9),COLOR00FF00,LINETHICK2;
STICKLINE(CROSS(MA(C,1),MA(C,9)),CLOSE,OPEN,8,0),COLORRED;
STICKLINE(CROSS(MA(C,1),MA(C,9)),HIGH,LOW,0.8,0),COLORRED;
STICKLINE(CROSS(MA(C,1),MA(C,55)),CLOSE,OPEN,6,0),COLORGRAY;
STICKLINE(CROSS(MA(C,1),MA(C,55)),HIGH,LOW,0.6,0),COLORGRAY;
STICKLINE(CROSS(MA(C,1),MA(C,23.5)),CLOSE,OPEN,7,0),COLORYELLOW;
STICKLINE(CROSS(MA(C,1),MA(C,23.5)),HIGH,LOW,0.7,0),COLORYELLOW;
STICKLINE(CROSS(MA(C,1),MA(C,120)),CLOSE,OPEN,5,0),COLORFF00FF;
STICKLINE(CROSS(MA(C,1),MA(C,120)),HIGH,LOW,0.5,0),COLORFF00FF;
VA:=MAX(REF(C,1),REF(O,1));VA1:=MIN(REF(C,1),REF(O,1));
J:=SUM(AMOUNT/100,2)/SUM(V,2);
rrrt4:=IF(O<VA1 AND C>VA,1,0);
STICKLINE(rrrt4=1 ,O ,C ,8 ,0 ),COLORRED;
rrrt41:=IF(REF(C,1)<REF(C,2) AND O>REF(C,1) AND L>REF(L,1) AND C>REF(C,1)
OR REF(C,1)<REF(O,1) AND O>REF(C,1) AND L>REF(L,1) AND C>REF(C,1),1,0);
STICKLINE(rrrt41=1 ,O ,C ,8 ,0 ),COLORFF00FF;
rrrt5:=BARSLAST(rrrt4=1 OR rrrt41=1);
rrrt6:IF(rrrt4=1 OR rrrt41=1,L,REF(L,rrrt5)),COLORBLUE,LINETHICK2;

(0)

相关推荐