{游龙掘金副源码如下}
GUP1:=CLOSE>REF(CLOSE,1)*1.09 AND CLOSE< REF(CLOSE,1)*1.105;
GUP2:=CLOSE< REF(CLOSE,1)*0.901 AND CLOSE>REF(CLOSE,1)*0.898;
GUP3:=MA(HIGH,30)*1.13;
GUP4:=C-REF(C,1);
GUP5:=100*EMA(EMA(GUP4,6),6)/EMA(EMA(ABS(GUP4),6),6);
GUP6:=IF(LLV(GUP5,2)=LLV(GUP5,7) AND COUNT(GUP5< 0,2) AND CROSS(GUP5,MA(GUP5,2)),1,0);
GUP7:=IF(HHV(GUP5,2)=HHV(GUP5,7) AND COUNT(GUP5>50,2) AND CROSS(MA(GUP5,2),GUP5),1,0);
GUP8:=COUNT(C/REF(C,1)>1.099,13)>1;
GUP9:=FILTER(GUP6=1,5);
GUP10:=GUP8 AND GUP9;
GUP11:=(REF(BARSLAST(GUP10),0)+1);
STICKLINE(IF(GUP10,120,0),0,1,1,0),COLORFFFF00;
DRAWTEXT(GUP10,0.5,' ※掘金'),COLOR0000FF;
DRAWICON(GUP10,0.99,9);
{黑马游龙趋势源码如下}
VAR1:=POW(10,6);
VAR2:=IF(VAR1>0,1,0);
VAR3:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
VAR4:=HIGH-REF(HIGH,1);
VAR5:=REF(LOW,1)-LOW;
VAR6:=SUM(IF(VAR4>0 AND VAR4>VAR5,VAR4,0),20);
VAR7:=SUM(IF(VAR5>0 AND VAR5>VAR4,VAR5,0),20);
VAR8:=LLV(LOW,240);
VAR9:=HHV(HIGH,240);
大趋势:(CLOSE-VAR8)/VAR8*100,COLORGREEN;
中趋势:=VAR7/VAR3/2*100,COLORMAGENTA;
散户线:=(VAR9-CLOSE)/CLOSE*100,COLORWHITE;
黑马游龙趋势线:大趋势/散户线,NODRAW,COLORWHITE;
VAR10:=HHV(CLOSE,20);
VAR11:=EMA(VAR10,30)*1.03;
VAR12:=EMA(VAR10,120)*1.03;
VAR13:=(CLOSE+HIGH+LOW)/3;
VAR14:=EMA(VAR13,10);
VAR15:=REF(VAR14,1);
涨趋势:IF(大趋势>15 AND 大趋势>中趋势,大趋势,DRAWNULL),COLORYELLOW,LINETHICK2;
超强:IF(大趋势>30 AND 大趋势>散户线,大趋势,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(FILTER(涨趋势 OR 超强 AND 大趋势>=HHV(大趋势,10) AND OPEN/VAR14< 1.08 AND OPEN/VAR11< 1.1 AND OPEN/VAR12< 1.2 AND CLOSE>VAR11 AND CLOSE>=REF(CLOSE,1)*1.05 AND 散户线< 60 AND 大趋势< 120,30),大趋势,9)*VAR2;
{黑马游龙主图源码如下}
筹码突破1:=STRCAT(HYBLOCK,'');
筹码突破2:=STRCAT(筹码突破1,DYBLOCK);
筹码突破3:=STRCAT(筹码突破2,'');
筹码突破4:=STRCAT(筹码突破3,GNBLOCK);
操作线:MA(C,5)DOTLINE COLORWHITE;
游资潜伏:=2230911;
主力突破:=IF(DATE< 游资潜伏,1,DRAWNULL);
DRAWTEXT_FIX(ISLASTBAR,0.0,0.01,0,STRCAT('所属板块:',筹码突破4)),COLORFFFF00;
多头线:EMA((MA(C,5)+MA(C,8)+MA(C,13)+MA(C,21)+MA(C,34))/5,8)*主力突破,COLORRED,LINETHICK2;
空头线:IF(C<=多头线,多头线,DRAWNULL),COLORCYAN,LINETHICK2;
DI:=(EMA(C,12)-EMA(C,26))*主力突破;
DE:=(EMA(DI,9))*主力突破;
M:=(DI-DE)*2*主力突破;
R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20)*主力突破;
抓妖:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;
起爆点:=BARSLASTCOUNT(抓妖)=1;
擒牛:=100*(C/REF(C,1)-1)< -R+0.01/REF(C,1)*100;
低位潜伏11:=C>=O*主力突破;
低位潜伏12:=C< O*主力突破;
STICKLINE(低位潜伏11,H,L,0,0),COLOR0000DD;
STICKLINE(低位潜伏11,C,O,2.7,0),COLOR000099;
STICKLINE(低位潜伏11,C,O,1.8,0),COLOR0000BB;
STICKLINE(低位潜伏11,C,O,1,0),COLOR0000DD;
DIF:=EMA(C,10)-EMA(C,22);
DEA:=EMA(DIF,7);
DRAWTEXT_FIX(1,0.60,0.75,0,'QQ:魔达达 '),COLORYELLOW;
MACD:=2*(DIF-DEA);
短线只做红柱子:=DIF>DEA AND MACD>REF(MACD,1);
红柱子:=BARSLASTCOUNT(DIF>DEA AND MACD>REF(MACD,1))=1 AND 低位潜伏11 ;
DRAWICON(红柱子,L,5);
DRAWTEXT(红柱子,L*0.998,'←低吸王'),COLORYELLOW;
{游龙监控副图源码如下}
震幅0:=(H-L)/REF(C,1)*100;
震幅:震幅0,NODRAW,COLORLIGRAY;
换手:100*VOL/(FINANCE(7)/100)COLORMAGENTA,NODRAW;
获利:WINNER(C)*100,COLORYELLOW,LINETHICK2,NODRAW;
STICKLINE(获利<=5,-50,-48,2,0),COLORBLUE;
STICKLINE(获利>=5 AND 获利< 10,-50,-46,2,0),COLORLIBLUE;
STICKLINE(获利>=10 AND 获利< 20,-50,-44,2,0),COLORLIGREEN;
STICKLINE(获利>=20 AND 获利< 50,-50,-42,2,0),COLORLIGRAY;
STICKLINE(获利>=50 AND 获利< 80,-50,-40,2,0),COLORYELLOW;
STICKLINE(获利>=80 AND 获利< 90,-50,-38,2,0),COLORRED;
STICKLINE(获利>=90 AND 获利<=100,-50,-36,2,0),COLORMAGENTA;
{横盘突破主图源码如下}
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
N:=7;
N1:=20;
M:=20;
V1:=MA(VOL,5);
V2:=VOL/REF(V1,1)>2;
ABC1:=MA(CLOSE,M);
ABC2:=HHV(HIGH,M);
ABC3:=LLV(LOW,M);
ABC4:=(ABC2-ABC1)/ABC1;
ABC5:=(ABC1-ABC3)/ABC1;
ABC:=REF(ABC4,1)< 0.15 AND REF(ABC5,1)< 0.15;
TP1:=HHV(HIGH,M);
TP:=HIGH=TP1;
V11:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(N1/100) AND C>=REF(HHV(H,N),1) AND BARSCOUNT(C)>N;
DTPL:=MA5>MA10 AND MA10>MA20;
横盘突破选股XG1:=IF(V11,1,0) AND DTPL;
突破:=BARSLASTCOUNT(横盘突破选股XG1)=1;
DRAWICON(突破,L,9);
STICKLINE(突破,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWTEXT(突破,L*0.98,' ★突破'),COLORMAGENTA;