当前位置:首页 > 通达信公式 > 内容

通达信龙头大师主图指标公式源码副图

作者:公式指标平台   更新时间:2024-09-18   点击:

龙头:=MEMA(EMA((((C-O)*2)+O),20),10) ;
大师:=MEMA(MEMA((((C-O)*2)+O),3),10);
DRAWBAND(龙头 ,RGB(0,0,255),大师 ,RGB(255,165,0));
短线看红涨绿跌:EMA((MA(CLOSE,5)),3) ,LINETHICK3,COLORGREEN;
IF(短线看红涨绿跌 > REF(短线看红涨绿跌,3),短线看红涨绿跌,DRAWNULL),LINETHICK3,COLORRED;
IF(短线看红涨绿跌 < REF(短线看红涨绿跌,3),短线看红涨绿跌,DRAWNULL),LINETHICK3,COLORGREEN;
买线:=EMA(C,5) ;
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=crOSS(买线,卖线) ;
SEL:=CROSS(卖线,买线) ;
B信号:BU,NODRAW,COLORRED;S信号:SEL,NODRAW,COLORGREEN;
STICKLINE(买线>=卖线 AND O>0,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(买线>=卖线 AND O>0,(IF(OPEN>CLOSE,CLOSE,OPEN)),LOW,0,0),COLORRED;
STICKLINE(买线>=卖线,(IF(OPEN<CLOSE,CLOSE,OPEN)),HIGH,0,0),COLORRED;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLOR00FF00;
STICKLINE(买线<卖线,LOW,HIGH,0,1),COLOR00FF00;
STICKLINE(CROSS(买线,卖线) AND O>0,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(CROSS(卖线,买线) AND O>0,OPEN,CLOSE,3,0),COLORGREEN;
VAR7:=((CLOSE - (MA(CLOSE,13))) / (MA(CLOSE,13))) * -100;
VAR8:=((CLOSE - (LLV(LOW,13))) / ((HHV(HIGH,13)) - (LLV(LOW,13)))) * 100 ;
VAR9:=SMA(VAR8,3,2);
A80:=SMA(VAR9 ,3,2);
A81:=SMA(A80 ,5,1);
抄底:=(((REF(VAR7,1)) >= 16) AND (((REF(VAR7,1)) / VAR7) >= 1.23)) AND (CROSS(A80,A81));
DRAWTEXT(抄底,LOW,'★抄底'),COLORWHITE;
N1:=MA(CLOSE,41)+MA(CLOSE,41)*10/100;
N2:=MA(CLOSE,23)+MA(CLOSE,23)*5/100;
N3:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
N4:=CLOSE>REF(CLOSE,1)*1.05 ;
DRAWTEXT(CROSS(N3,N2) AND N4,LOW*0.98,'接力'),LINETHICK2,COLORMAGENTA;
STICKLINE((CROSS(N3,N2) AND N4),OPEN,CLOSE,3,0),COLORMAGENTA;
DRAWTEXT(CROSS(N3,N1) AND N4,LOW,'加速'),LINETHICK2,COLORRED;
STICKLINE((CROSS(N3,N1) AND N4),OPEN,CLOSE,3,0),COLORRED;
ACB1:=100*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
ACB2:=100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
macd:=((EMA(CLOSE,12)-EMA(CLOSE,26))-(EMA((EMA(CLOSE,12)-EMA(CLOSE,26)),9)))*2;
TYP:=(HIGH+LOW+CLOSE)/3 ;
CC:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
NOSEL:=IF((CROSS(ACB1,20) AND CROSS(ACB2,20)),0,1);
cci买点:=CROSS(CC,250) AND CCI>REF(CCI,1) AND MACD>0 AND NOSEL AND C>EMA(C,200);
突破线:=SMA(H,14,2)*1.08;
启动:FILTER((CCI买点 AND C>突破线) OR (REF(CCI买点,1) AND C>突破线),3),NODRAW,COLORYELLOW;
DRAWTEXT(启动,L*0.99,' 启动'),LINETHICK2,COLORYELLOW;
STICKLINE(启动,CLOSE,OPEN,3,0),COLORYELLOW,LINETHICK4;
AAC2:=((CLOSE - (LLV(LOW,36))) / ((HHV(HIGH,36)) - (LLV(LOW,36)))) * 100 ;
AAC3:=SMA(AAC2 ,3,1);
AAC4:=SMA(AAC3 ,3,1);
AAC5:=SMA(AAC4 ,3,1);
AAC7:=CROSS(AAC5,AAC4) AND AAC4>80;
DRAWTEXT(((FILTER(AAC7,5)) = 1),HIGH,'减卖'),LINETHICK2,COLORGREEN;
STICKLINE(((FILTER(AAC7,5)) = 1),OPEN,CLOSE,3,0),COLORGREEN;
DRAWICON(BU,L,5);
DRAWICON(SEL,H,6);

通达信龙头大师主图指标公式源码副图

通达信龙头大师主图指标公式源码副图

 

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web