{游资操盘指标主图源码如下}
生命线:MA(CLOSE,26),COLORRED,LINETHICK2;
STICKLINE(C>=生命线 AND C>=O,H,L,0,1),COLORRED;
STICKLINE(C>=生命线 AND C>=O,C,O,2.5,0),COLORRED;
DP:=IF(C=INDEXC,0,1);
GJ:=AMOUNT/V/100 ;
多头线:EMA(C,1.5),COLOR0000CC;
空头线:EMA(C,5),COLORMAGENTA;
均衡线:EMA(空头线,5),COLORGREEN;
VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;
VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
DRAWTEXT(ZAI,均衡线*0.99,'↖一一一致打板'),COLORYELLOW;
MTM:=CLOSE-REF(CLOSE,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,2.5,0),COLORRED;
STICKLINE(ZDF< -9.8,O,C,2.5,0),COLORBLUE;
白买进:DRAWNULL,NODRAW,COLORWHITE;
黄加仓:DRAWNULL,NODRAW,COLORYELLOW;
蓝跌:DRAWNULL,NODRAW,COLORBLUE;
绿见顶:DRAWNULL,NODRAW,COLORGREEN;
红强势:DRAWNULL,NODRAW,COLORRED;
红蓝调整:DRAWNULL,NODRAW,COLORGRAY;
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9);
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'↖ '),COLOR4440FF;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.02),' '),COLORFFFF34;
VARE1:=EMA(C,3);
VARE2:=EMA(C,5);
VARE3:=EMA(C,10);
VAR4:=EMA(C,20);
VAR5:=EMA(C,30);
VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;
VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;
VAR9:=EMA(VAR7,8);
STICKLINE(VAR7< 1*REF(VAR7,1),H,L,0,1),COLORBLUE;
STICKLINE(VAR7< 1*REF(VAR7,1),O,C,2.5,1),COLORBLUE;
STICKLINE(VAR7< 1*REF(VAR7,1) AND C< O,O,C,2.5,0),COLORBLACK;
STICKLINE(VAR7< 1*REF(VAR7,1) AND C< O,O,C,2.3,0),COLORBLUE;
STICKLINE(VAR7>1*REF(VAR7,1),H,L,0,1),COLORRED;
STICKLINE(VAR7>1*REF(VAR7,1),O,C,2.5,1),COLORRED;
STICKLINE(VAR7>1*REF(VAR7,1) AND C< O,O,C,2.5,0),COLOR0000DD;
STICKLINE(VAR7< 1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0,1),COLORGREEN;
STICKLINE(VAR7< 1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,2.5,1),COLORGREEN;
STICKLINE(VAR7< 1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1) AND C< O,O,C,2.5,0),COLORGREEN;
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK1;
STICKLINE(买进条件,O,C,2.5,0),COLORWHITE,LINETHICK2;
加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(加码条件,O,C,2.5,0),COLORYELLOW,LINETHICK2;
{游资操盘指标副图源码如下}
M1:=3;M2:=3;
牛股F:=(2*CLOSE+HIGH+LOW)/4;
游资操盘4:=LLV(LOW,34);
游资操盘5:=HHV(HIGH,34);
游资操盘6:=EMA((牛股F-游资操盘4)/(游资操盘5-游资操盘4)*100,6);
游资操盘7:=EMA(0.667*REF(游资操盘6,1)+0.333*游资操盘6,4);
底现:=STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(游资操盘6>游资操盘7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),1.5,0,6,0),COLORBLUE;
STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(游资操盘6>游资操盘7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),-100,-35,2,0),COLORBLUE;
DRAWTEXT(底现,-54,' --定海神针'),COLORCYAN;
牛股1S:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
牛股4AS:=CLOSE/(REF(CLOSE,1))>1.05 AND (HIGH/CLOSE<1.01);
游资进场S:=(FILTER(牛股4AS>0,34)AND DYNAINFO(4)>0)*8,COLORYELLOW;
A10S:=10;LSS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
拉升S:=FILTER(LSS,58);STICKLINE(拉升S,-100,-35,2,0),COLORYELLOW;
DRAWTEXT(拉升S,-47,' ----超预期了'),COLORCYAN;
DRAWICON(拉升S,-38.2,9);
牛股1:=(CLOSE*2+HIGH+LOW)/1;
牛股2:=EMA(牛股1,3)-EMA(牛股1,10);
牛股3:=EMA(牛股2,3);
起飞抓牛:=2*(牛股2-牛股3)*3.8;STICKLINE(起飞抓牛>0,0,起飞抓牛*10,3.2,1),COLORRED;
STICKLINE(起飞抓牛<0,0,起飞抓牛*10,3.2,1),COLORGREEN;
DRAWTEXT_FIX(C>O,0.01,0.1,0,'微信公众号:指标汇集'),COLOR0000FF;
RSVF:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK0;
KF:=SMA(RSVF,3,1);
DF:=SMA(KF,3,1);
JF:=3*KF-2*DF,LINETHICK0;
能量线:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),LINETHICK0;
威廉WR:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,LINETHICK0;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
五指AF:=WMA((能量线+RSI+JF-威廉WR+CCI)/3,3),COLORBROWN;
流通盘:=CAPITAL/1000000,COLOR7F00FF,LINETHICK0;
ZLCM:=EMA(WINNER(CLOSE)*90,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*70,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
大户线F:=INTPART(ZSHTL),COLORBLACK,LINETHICK2;
OUT666:=CROSS(五指AF,大户线F);
STICKLINE(OUT666,-100,-35,2,0),COLORWHITE;
DRAWTEXT(OUT666,-50,'--'),COLORRED;
牛股3AP:=IF((CLOSE>REF(CLOSE,1)),88,0);
牛股4AP:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (牛股3AP>0),91,0);
异动:=(FILTER((牛股4AP>90),45)),COLORYELLOW;
STICKLINE(异动,-100,-35,2,0),COLORGREEN;
DRAWTEXT(异动>0,-51,'----游资来了'),COLORYELLOW;