{【龙头涨停突破共振启动擒牛主升浪】}
M3:MA(CLOSE,3);X3:=1;主力线:MA(CLOSE,13),COLORYELLOW;趋势线:MA(CLOSE,34),COLORRED,LINETHICK2;IF(趋势线< REF(趋势线,1),趋势线,DRAWNULL),COLORGREEN,LINETHICK2;C2:=REF(C,1);扶摇直上:=V/REF(MA(V,5),1);JDZB:=扶摇直上>135 AND 扶摇直上< 137;BA:=IF((DATETODAY(DATE))< 9999,1,1);BG:=IF((C2-C)*100/C2>=2.3,1,0) OR IF((O-C)*100/O>=5,1,0);BG2:=IF((H-L)*100/C2>=3.58,1,0)*BA;飞龙在天1:=L< REF(L,1)*BA;SELL1:=BG AND 飞龙在天1 ;BR:=IF((C-C2)*100/C2>=2.59,1,0) OR IF((C-O)*100/O>=4.5,1,0) OR IF((C-L)*100/L>5,1,0);STICKLINE(BR,O,C,3,0)*BA,COLORRED;一飞冲天1:=BARSLAST(SELL1);龙年好运1:=REF(O,一飞冲天1);龙年好运2:=REF(O,1);飞龙在天4:=C>龙年好运2;飞龙在天2:=H>龙年好运1;BUY1:=BR AND 飞龙在天2 AND 飞龙在天4;一飞冲天2:=BARSLAST(BUY1);S1:=一飞冲天1< 一飞冲天2;B1:=一飞冲天2< 一飞冲天1;STICKLINE(S1,O,C,3,0),COLORGREEN;STICKLINE(B1,H,L,0,0),COLORRED;STICKLINE(B1,O,C,3,1),LINETHICK2,COLORRED;AA2:=AMOUNT/VOL;飞龙在天3:=L< AA2*0.9;CC2:=(C-REF(C,1))/REF(C,1)*100>1.2;DD2:=L< MA(C,6)*0.921;DD1:=L< MA(C,5)*0.921;EE2:=VOL< MA(V,5)*1.5;FF2:=飞龙在天3 AND CC2 AND DD2 AND EE2;STICKLINE(FF2,H,L,0,0);B4:=BARSLAST(FF2);E4:=B4< 5;F4:=E4 AND C>REF(C,1);STICKLINE(F4,H,L,0,0)*BA,COLORLIRED;SFKG:=(扶摇直上>4.18 AND 扶摇直上< 4.192);SFKG3:=(扶摇直上>2.67 AND 扶摇直上< 2.69);A2:=(C-REF(C,1))/REF(C,1)*100< 1.02;A3:=H>MA(C,5)*1.12;AA:= A2 AND A3;九万里1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)- 3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);九万里2:=8;{,公式源码 HTTP://}CC:=CROSS(九万里1,九万里2);CCC:=CROSS(九万里1,九万里2) AND H>REF(H,1) AND C>REF(C,1)*BA ;STICKLINE(CC,H,L,0,0),COLORRED;STICKLINE(CC,O,C,3,1),LINETHICK2,COLORRED;SCSM:=(扶摇直上>2.07 AND 扶摇直上< 2.08);SJGW:=(扶摇直上>3.75 AND 扶摇直上< 3.77);AAC1:=BARSLAST(CC);AAC2:=AAC1< 3;AAC3:=AAC2 AND C>REF(C,1);STICKLINE(AAC3,O,C,3,0),COLORGREEN;CD:=CROSS(九万里2,九万里1);STICKLINE(CD,H,L,0,0),COLORGREEN;STICKLINE(CD,O,C,3,1),COLORGREEN;HBGS:=(扶摇直上>4.67 AND 扶摇直上< 4.69);JOGF:=(扶摇直上>2.91 AND 扶摇直上< 2.93);九万里3AA:=IF((CLOSE>REF(CLOSE,1)),88,0)*BA;九万里4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)< 1.01) AND (九万里3AA>0),91,0)*XS;LFFZ:=(扶摇直上>3.28 AND 扶摇直上< 3.30);TYDL:=(扶摇直上>6.77 AND 扶摇直上< 6.79);须尽欢:=JDZB OR SFKG OR SFKG3 OR HBGS OR JOGF OR SCSM OR SJGW OR LFFZ OR TYDL;DRAWICON(FILTER((九万里4AA>90),40),(LOW)*(0.93),9);DRAWICON(须尽欢,(LOW)*(0.99),9);九万里111:=(C+H+O+L)/4;九万里6:=REF(CLOSE,1);九万里7:=SMA(MAX(CLOSE-九万里6,0),6,1)/SMA(ABS(CLOSE-九万里6),6,1)*100;STICKLINE(CROSS(84,九万里7),CLOSE,OPEN,2.8,0)*BA,COLORGREEN;卖出:=CROSS(84,九万里7);DRAWTEXT(卖出,H*1.001,'出'),COLORGREEN;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)*BA)*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;TYP:=(HIGH+LOW+CLOSE);CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);GSPT:=REF(J,1)< 10 AND REF(MACD,1)< REF(MACD,2) AND MACD>REF(MACD,1) AND MACD< 0 AND CCI>REF(CCI,1)*BA AND (REF(CCI,2)< -100 OR REF(CCI,3)< -100);STICKLINE(GSPT,CLOSE,OPEN,3.2,0),COLORYELLOW;STICKLINE(须尽欢 AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,3.2,0),COLOR0077FF;STICKLINE(须尽欢 AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,2.5,0),COLOR0099FF;STICKLINE(须尽欢 AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,1.9,0),COLOR00BBFF;STICKLINE(须尽欢 AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,1.2,0),COLOR00DDFF;STICKLINE(须尽欢 AND C/REF(C,1)>1.05,O,REF(C,1)*1.05,0,0),COLOR00FFFF;
STICKLINE(须尽欢 AND C/REF(C,1)>1.08,C,REF(C,1)*1.05,3,0),COLOR000099;STICKLINE(须尽欢 AND C/REF(C,1)>1.08,C,REF(C,1)*1.05,2.2,0),COLOR0000CC;STICKLINE(须尽欢 AND C/REF(C,1)>1.08,C,REF(C,1)*1.05,1.5,0),COLOR0000FF;STICKLINE(须尽欢 AND C/REF(C,1)>1.08,C,REF(C,1)*1.05,0.5,0),COLORCC66FF;STICKLINE(须尽欢 AND C/REF(C,1)>1.08,REF(C,1)*1.05,C,0,0),COLORYELLOW;