羅【通达信】大牛出现(均线、安全线、底线、顶线)-指标公式源码袃羂N1:=5;N2:=10;芆LC:=REF(CLOSE,1);肅A0:=(2*C+H+L)/4;芄均线:=MA(A0,3)>REF(MA(A0,3),1);蒀安全线:2,COLORRED,POINTDOT,HICK4;荿A1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*10;膅K:MA(3*SMA(A1,6,1)-2*SMA(SMA(A1,5,1),5,1),3),HICK1,COLORF00FF0;蒁D:MA(K,3),COLORFF0000,HICK1;膁J:3*K-2*D,HICK1,COLORF00FF0;肈DRAWBAND(K,RGB(155,50,50),D,RGB(0,100,50));膅VAR1:=C-REF(C,1);袁VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);蕿MA5:=EMA(C,5);袆MA13:=EMA(C,13);芅UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS节(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS芁(MA5,MA13))+1),0),COLOR0000FF;衿DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS莅(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS蚃(MA13,MA5))+1),0),COLOR00FF00;蝿BT:=(LLV(VAR2,2)=LLV(VAR2,7)ANDCOUNT(VAR2<0,2)ANDCROSS(VAR2,MA(VAR2,2)))AND蚈REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1);蒄底线:0,COLORFF00FF;肄顶线:10,COLORFF0000;蒁STICKLINE(UP,0,,3,0),COLOR0000FF;蒇STICKLINE(DOWN,0,,3,0),COLOR00FF00;薄STICKLINE(BT,0,3,2,0),COLOR000088;膁STICKLINE(BT,0,3,1,0),;罿STICKLINE(BT,0,3,,0),COLOR0000FF;膆DRAWTEXT(BT,3,'短牛'),COLOR0000FF;蚄TJ1:=REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1)ANDC<HHV(H,21)*;薂STICKLINE(TJ1,0,2,3,0),COLOR880088;蚁STICKLINE(TJ1,0,2,,0),COLORAA00AA;艿STICKLINE(TJ1,0,2,,0),;螄STICKLINE(TJ1,0,2,,0),COLORFF00FF;羃DRAWTEXT(TJ1,2,'中
【股票指标公式下载】-【通达信】大牛出现(均线、安全线、底线、顶线) 来自淘豆网m.daumloan.com转载请标明出处.