DRAWGBK(DATE>900101,COLORRGB(10,200,200),COLORRGB(10,10,100),1);
DRAWTEXT(SYSPARAM(2)=BARPOS,HIGH,'所属板块:'+BLKNAME),ALIGN4,colorBBFFFF;
指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,colorFFFFFF;
强弱分界:MA(CLOSE,27),LINETHICK1,colorFF;
EXPLAIN(CROSS(指导线,强弱分界),'进入安全赢利区☆☆☆ '),colorFFFF00;
EXPLAINICON(CROSS(指导线,强弱分界),'mmm');
注意卖:强弱分界+2*STD(CLOSE,27),LINETHICK1,colorFF00FF;
DRAWTEXT(CROSS(HIGH,注意卖),HIGH+0.05,'→☆'),ALIGN0,colorFF00FF;
DRAWICON(CROSS(CLOSE,注意卖),HIGH+0.09,9),ALIGN1;
EXPLAINICON(CROSS(CLOSE,注意卖),3);
上极限:强弱分界+3*STD(CLOSE,27),LINETHICK1,colorFFFF;
DRAWICON(CROSS(CLOSE,上极限),HIGH+0.04,5),ALIGN1;
EXPLAIN(CROSS(HIGH,上极限),'买出持币 △△△△ '),colorFFFF00;
EXPLAINICON(CROSS(HIGH,上极限),4);
DRAWTEXT(CROSS(HIGH,上极限),HIGH+0.08,'→上卖'),colorFFFF;
注意买:强弱分界-2*STD(CLOSE,27),LINETHICK1,colorFF00;
DRAWICON(CROSS(注意买,CLOSE),LOW-0.02,12),ALIGN1;
DRAWTEXT(CROSS(注意买,CLOSE),LOW-0.02,'→观注'),colorFF00;
下极限:强弱分界-2.9*STD(CLOSE,27),LINETHICK1,color80FF;
DRAWICON(CROSS(下极限,CLOSE),LOW-0.04,10),ALIGN1;
DRAWTEXT(CROSS(下极限,LOW),LOW-0.06,'→下△'),color80FF;
DRAWTEXT(注意卖/注意买<=1.103,注意买-0.06,'△'),color80FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorAA;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorCC;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),colorDD;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),colorFF;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorFF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),colorAA;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),colorCC;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),colorDD;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),colorFF;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0,0),colorFF;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,8,0),color7B00;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,6,0),color9000;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,4,0),colorA800;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,2,0),colorFF00;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),colorFFFF00;
多空2:=EMA(CLOSE,148);
多空3:=EMA(CLOSE,250);
出货:EXPLAIN(CLOSE>=多空2,'股价在半年线之上'),LINETHICK2,colorFF00;
EXPLAIN(CLOSE>=多空3,'股价在年线之上 '),colorFFFF;
EXPLAIN(CLOSE<多空2,'股价在半年线之下 '),colorFFFF;
EXPLAIN(CLOSE<多空3,'股价在年线之下 '),colorFFFF00;
EXPLAIN(多空2>=REF(多空2,1),'半年线趋势向上'),colorFFFF00;
EXPLAIN(多空3>=REF(多空3,1),'年线趋势向上 '),colorFFFF;
EXPLAIN(多空2<REF(多空2,1),'半年线趋势向下 '),colorFFFF;
EXPLAIN(多空3<REF(多空3,1),'年线趋势向下 '),colorFFFF00;
TR1:=CLOSE*2.5/100+CLOSE;
HD:=CLOSE-CLOSE*2.5/100;
EXPLAINEX(COST(50),'市场平均成本:',COST(50),2,0),colorFFFF00;
EXPLAINEX(COST(4),'主力平均成本:',COST(4),2,0),colorFFFF;
EXPLAINEX(COST(30),'控盘平均成本:',COST(30),2,0),colorFF;
EXPLAINEX(COST(75),'拉升平均成本:',COST(75),2,0),colorFF;
EXPLAINEX(COST(95),'顶部平均成本:',COST(95),2,0),colorFFFF;
EXPLAINEX(COST(0.05),'底部平均成本:',COST(0.05),2,0),colorFFFF;
EXPLAINEX(TR1,'股道卖出价预测:',TR1,2,0),colorFFFF;
EXPLAINEX(HD,'股道买入价预测:',HD,2,0),color99FF;
EXPLAINEX(1,'获利盘比例=',WINNER(CLOSE)*100,2,0),color99FF;
EXPLAINEX(1,'套牢盘比例=',100-WINNER(CLOSE)*100,2,0),colorFF;
LD:=MA(VOL/(HIGH-LOW),4);
DMP:=ABS(CLOSE-OPEN);
DMM:=VOL/(HIGH-LOW);
EXPLAIN(DMM<LD AND DMP<MA(DMP,4),'资金无入场意愿,萎缩中'),colorFFFF00;
EXPLAIN(DMM<LD AND DMP>MA(DMP,4),'场内资金有运作行为'),colorFFFF00;
EXPLAINICON(DMM<LD AND DMP>MA(DMP,4),1);
EXPLAIN(DMM>LD AND DMP<MA(DMP,4),'多空双方激烈争夺中'),colorFFFF;
EXPLAIN(DMM>LD AND DMP>MA(DMP,4),'场外资金介入(或出局)意愿强烈'),colorFFFF;
PSY:=CLOSE-REF(CLOSE,6);
布林1:=MA(PSY,6);
EXPLAIN(CROSS(PSY,布林1) AND 布林1<-0.8,'MTM从下向上突破MTMMA,买入信号'),colorFF00;
EXPLAIN(CROSS(布林1,PSY) AND 布林1>0.8,'MTM从上向下跌破MTMMA,卖出信号'),colorFF00;
布林2:=REF(CLOSE,1);
布林3:=(SMA(MAX(CLOSE-布林2,0),6,1))/(SMA(ABS(CLOSE-布林2),6,1))*100;
布林4:=(SMA(MAX(CLOSE-布林2,0),12,1))/(SMA(ABS(CLOSE-布林2),12,1))*100;
EXPLAIN(布林3>85,'6日RSI超买,防止回挡'),colorFFFF00;
EXPLAIN(布林3>80,'6日RSI向上突破85,超买,考虑卖出'),colorFFFF00;
EXPLAIN(布林3<15,'6日RSI超卖,随时有可能反弹'),colorFFFF00;
EXPLAIN(布林3<15,'6日RSI向下跌破15,超卖,考虑买入'),colorFFFF;
EXPLAIN(CROSS(布林3,15),'6日RSI向上突破15,买进信号'),colorFFFF;
EXPLAIN(CROSS(布林3,85),'6日RSI向下跌破85,卖出信号'),colorFF00;
布林5:=(COUNT(CLOSE>REF(CLOSE,1),12))/12*100;
布林6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
布林7:=布林6+3*STD(布林6,10);
XX:=布林6-3*STD(布林6,10);
A001:=(布林7-XX)/布林7<0.03;
A002:=(布林7-XX)/布林7>0.18;
A003:=(MA(CLOSE,60)-MA(CLOSE,5))/MA(CLOSE,60)>0.15;
A004:=(MA(CLOSE,5)-MA(CLOSE,60))/MA(CLOSE,5)>0.15;
EXPLAIN(A001,'多空布林收敛中,有变盘的可能,上下自己分析'),colorFFFF00;
EXPLAIN(A003 AND A002 AND CLOSE>OPEN,'布林上下乖离太大,有反弹的可能'),colorFFFF;
EXPLAIN(A004 AND A002 AND CLOSE<OPEN,'布林上下乖离太大,有回落的可能'),colorFF00;
EXPLAIN(HIGH>=HHV(HIGH,20),'创20天新高'),colorFFFF00;
EXPLAIN(VOL/CAPITAL>0.075,'换手过大,小心主力出逃,短期头部'),colorFFFF00;
RSI2:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
EXPLAIN(RSI2>-20,'W&R超买,短线即将见顶,应及时卖出'),colorFFFF00;
EXPLAIN(RSI2<-80,'W&R超卖,短线即将见底,应伺机买进'),colorFFFF00; |