主力进场【副图指标】短线交易者必备
{主力进场【副图指标】主力线+散户线+多空信号}
{主力进场【副图指标】主力线+散户线+多空信号}
RSV30:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K30:=SMA(RSV30,5,1);
D30:=SMA(K30,3,1);
J30:=(3*K30-2*D30)*1.0;
RSV21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K21:=SMA(RSV21,13,8);
主力线:=CEILING(SMA(K21,13,8)),COLORRED;
散户线:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),COLORLICYAN;
趋势快线:=EMA(J30,1)COLORRED,LINETHICK1;
趋势慢线:=EMA(J30,3),COLORGREEN,LINETHICK3;
深坑:DRAWBAND(趋势快线,RGB(233,255,85),趋势慢线,RGB(6,119,73));
{DRAWBAND(趋势快线,RGB(139,26,26),趋势慢线,RGB(0,100,0))}
主力线轨迹:主力线,COLORRED,LINETHICK2;
散户线轨迹:散户线,COLORCYAN,LINETHICK2;
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0.0001,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
吸筹:IF(VAR8>100,100,VAR8)*VAR1,COLORLICYAN,NODRAW;
庄家吸筹:STICKLINE(吸筹>-100,0,吸筹,2,1),COLORLICYAN;
庄家吸筹标识1:STICKLINE(庄家吸筹,0,吸筹,2,1),COLORLICYAN;
庄家吸筹标识2:STICKLINE(REF(吸筹,0)<REF(吸筹,1),0,吸筹,2,0),COLORLICYAN;
顶:100,COLOR666666;
中部:50,COLOR999999,DOTLINE;
底:0,COLOR666666;
0,NODRAW,COLORBLACK;
短:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))NODRAW,COLORRED;
中:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10))NODRAW,COLORYELLOW;
长:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20))NODRAW,COLORGREEN;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30))NODRAW,COLORMAGENTA,LINETHICK2;
短线预警:DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 短=(100)AND 中=(100)AND 长=(100)AND 长期=(100),0.90,0.01,0,'小心短线见顶 ★★★')COLOR0099FF;
短线提醒:DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 短<=(6)AND 中<=(6)AND 长<=(6)AND 长期<=(6),0.90,0.98,0,'短线已然超跌 ★★★')COLORGREEN;
0,COLORBLACK;
二十日内震幅:HHV(REF(H,0),20)-LLV(REF(L,0),20),COLOR0099FF,NODRAW; {包含当日共20日};
0,COLORBLACK;
当日震幅【元】:HIGH-LOW,COLORRED,NODRAW;
提示:DRAWTEXT_FIX(C!=0,0.01,0.06,0,'黄色色块在★50下方二次拐头向上可做多。而当黄色色块在★50附近(越近越好)发力,向上突破时,则更是做多的最佳时机,不要错过。'),COLORF3F8F1;
多空50中线:DRAWTEXT(ISLASTBAR,50,STRCAT(' ★ ',CON2STR(50,2))),COLOR00FFFF;