input:p1(3,0,300),p2(3,0,300),p3(3,0,300),p4(3,0,300),n(10,1,100),p(3,0.1,10);
{版權提示}
EXPLAIN(1=1,'【短線突擊隊教練清風斜陽搜集編制】'),COLORRED;
EXPLAIN(1=1,'【短線贏家:看清趨勢,快速套利!】'),COLORYELLOW;
EXPLAIN(1=1,'【使用說明】'),COLORred;
EXPLAIN(1=1,'1.短線參與者:\n===首先看清趨勢,\n===當導航線變紅色時,\n===快速套利的機會來臨,應當考慮!'),COLORgreen;
EXPLAIN(1=1,'2.短線參與者:\n===當整個趨勢向上,\n===出現(xiàn)短線提示時,\n===立即介入,\n===快進快出,快速套利!'),COLORred;
EXPLAIN(1=1,'3.短線參與者:\n===當出現(xiàn)加倉提示時,\n===先看清趨勢,\n===如果大盤環(huán)境好,\n===適當加倉快速套利!'),COLORcyan;
EXPLAIN(1=1,'4.短線參與者:\n===看清趨勢至關重要,\n===如果大盤或者個股趨勢朝下,\n===離場休息!休息休息!'),COLORwhite;
導航線:ma(c,3);
EXPLAINEX(1=1,'【短線突擊隊導航臺】=',導航線,2,0),COLORmagenta;
{第一阻力}
ma5:=ma(close,5);
ma10:=ma(close,10);
dd:=cross(ma5,ma10);
ss:=barslast(dd);
收盤1:ref(close,ss),linethick1,colorwhite;
EXPLAINEX(1=1,'【第一阻力位,5日上穿10日】=',收盤1,2,0),COLORwhite;
{第二阻力}
ma10:=ma(close,10);
ma20:=ma(close,20);
ww:=cross(ma10,ma20);
tt:=barslast(ww);
收盤2:ref(close,tt),linethick2,coloryellow;
EXPLAINEX(1=1,'【第二阻力位,10日上穿20日】=',收盤2,2,0),COLORyellow;
{第三阻力}
ma20:=ma(close,20);
ma30:=ma(close,30);
aa:=cross(ma20,ma30);
pp:=barslast(aa);
收盤3:ref(close,pp),linethick3,colorgreen;
EXPLAINEX(1=1,'【第三阻力位,20日上穿30日】=',收盤3,2,0),COLORgreen;
{第四阻力}
ma60:=ma(close,60);
ma90:=ma(close,90);
bb:=cross(ma60,ma90);
qq:=barslast(bb);
收盤4:ref(close,qq),linethick4,colorred;
EXPLAINEX(1=1,'【第四阻力位,60日上穿90日】=',收盤4,2,0),COLORred;
{第五阻力}
ma120:=ma(close,120);
ma240:=ma(close,240);
cc:=cross(ma120,ma240);
rr:=barslast(cc);
收盤5:ref(close,rr),linethick5,colorcyan;
EXPLAINEX(1=1,'【第五阻力位,120日上穿240日】=',收盤5,2,0),COLORcyan;
{短線快攻}
Var1:=IF(CLOSE>REF(CLOSE, 1),99,0);
Var2:=IF(CLOSE/REF(CLOSE, 1)>1.020 AND HIGH/CLOSE<1.010 AND Var1>0, 91, 0);
DRAWTEXT(Var2>89,LOW*0.99,'=====★=====\n如果趨勢向上\n就做超級短線'),COLORgreen;
{買入提示}
Var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
Var2:=REF(Var1,1);
Var3:=SMA(MAX(Var1-Var2,0),10,1)/SMA(ABS(Var1-Var2),10,1)*100;
HY3:=IF(COUNT(Var3<20,5)>=1 AND COUNT(Var1=LLV(Var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(hy3,LOW,'====▲====\n開始逐步\分批買入'),coloryellow;
{加倉提示}
VAR3:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4:=IF(((CLOSE)/(REF(CLOSE,1))>1.02) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3>0),91,0);
DRAWTEXT((VAR4>90),(LOW)*(0.94999998),'====★====\n或者適當\n加倉買入'),Color00FFFF,ALIGN4;
DRAWTEXT((VAR4>90),(LOW)*(0.99000001),'★'),Color00FFFF;
{風險提示}
Varr1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
DRAWICON(CROSS(82,Varr1),HIGH,2);
DRAWTEXT(CROSS(82,Varr1),HIGH,'====▲====\n風險已現(xiàn)\n離場觀望\n落袋為安\n安全第一↓'),coloryellow,ALIGN4;
{均線提示}
MA1:MA(CLOSE,P1);
MA2:MA(CLOSE,P2);
MA3:MA(CLOSE,P3);MA(CLOSE,3),LINETHICK5;
MA4:MA(CLOSE,P4),colorMAGENTA;
PARTLINE(MA3>REF(MA3,1),MA3),COLORRED,LINETHICK5;
PARTLINE(MA3<=REF(MA3,1),MA3),coloryellow;
{布林極限}
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,linethick0;
UPR:BBI+P*STD(BBI,N),linethick0;
DWN:BBI-P*STD(BBI,N),linethick0;
xx:cross(導航線,DWN),LINETHICK0;
DRAWTEXT(xx,LOW*0.99,'★\n★\n開\n始\n關\n注'),COLORgreen;
DRAWICON(xx,low*0.98,1);股票論壇 www.55188.com
本站僅提供存儲服務,所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權內(nèi)容,請
點擊舉報。