通达信游资龙头接力擒龙主升浪主副图指标 游资接力擒龙信号一目了然 源码

{龙头大师副图源码如下}

NN1:=10;

M1:=5;

M2:=5;

ABC2:=(CLOSE-LLV(LOW,NN1))/(HHV(HIGH,NN1)-LLV(LOW,NN1))*100;

ABC3:=SMA(ABC2,M1,1);

ABC4:=SMA(ABC3,M2,1);

A77:=((CLOSE - (MA(CLOSE,13))) / (MA(CLOSE,13))) * -100;

A78:=((CLOSE - (LLV(LOW,13))) / ((HHV(HIGH,13)) - (LLV(LOW,13)))) * 100;

A79:=SMA(A78 ,3,2);

A80:=SMA(A79 ,3,2);

A81:=SMA(A80 ,5,1);

抄底:=(((REF(A77,1)) >= 16) AND (((REF(A77,1)) / A77) >= 1.23)) AND (CROSS(A80,A81)){龙头:大师};

DRAWTEXT(抄底,46,' ★抄底'),COLORWHITE;

STICKLINE((抄底 > 0),0,50,3,0),LINETHICK3,COLORWHITE;

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);

CCI卖点:=((CROSS(ACB1,20) AND CROSS(ACB2,20)) OR (CROSS(ACB1,25) AND CROSS(ACB2,25)) OR (CROSS(ACB1,10) AND CROSS(ACB2,10))) AND ( CROSS(600,CC) OR CROSS(350,CC) OR CROSS(200,CC) OR CROSS(100,CC));{龙头:大师}

突破线:=SMA(H,14,2)*1.08 ;

游资1号:FILTER((CCI买点 AND C>突破线) OR (REF(CCI买点,1) AND C>突破线),3),COLORYELLOW;

DRAWTEXT(游资1号,30,' ★游资1号'),COLORYELLOW;

STICKLINE(游资1号,0,40,3,0),LINETHICK3,COLORYELLOW;

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 ;

游资2号:CROSS(N3,N2) AND N4,COLORMAGENTA;

STICKLINE(游资2号,0,60,2,0),LINETHICK3,COLORMAGENTA;

DRAWTEXT(游资2号,56,' ★游资2号'),COLORMAGENTA;

游资3号:CROSS(N3,N1) AND N4,COLORRED;{龙头:大师}

STICKLINE(游资3号,0,80,2,0),LINETHICK3,COLORRED;

DRAWTEXT(游资3号,76,' ★ 游资3号'),COLORRED;




{龙头大师主图源码如下}

龙头:=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;

ABC7:=((CLOSE - (MA(CLOSE,13))) / (MA(CLOSE,13))) * -100;

ABC8:=((CLOSE - (LLV(LOW,13))) / ((HHV(HIGH,13)) - (LLV(LOW,13)))) * 100 ;

ABC9:=SMA(ABC8,3,2);

A80:=SMA(ABC9 ,3,2);

A81:=SMA(A80 ,5,1);

抄底:=(((REF(ABC7,1)) >= 16) AND (((REF(ABC7,1)) / ABC7) >= 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);


{龙头抄底副图源码如下}


ABC7:=((CLOSE - (MA(CLOSE,13))) / (MA(CLOSE,13))) * -100;

ABC8:=((CLOSE - (LLV(LOW,13))) / ((HHV(HIGH,13)) - (LLV(LOW,13)))) * 100 ;

ABC9:=SMA(ABC8,3,2);

ACB0:=SMA(ABC9 ,3,2);

ACB1:=SMA(ACB0 ,5,1);

抄底:(((REF(ABC7,1)) >= 16) AND (((REF(ABC7,1)) / ABC7) >= 1.23)) AND (CROSS(ACB0,ACB1));

DRAWTEXT(抄底,0.5,'★抄底龙'),COLORWHITE;

DRAWICON(抄底,1,9);


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图