DRAWGBK((DATE > 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1); LC:=REF(CLOSE,1); 止損價位:(LC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0; 濾網:=close>ref(high,1) and close>open; RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; A:=SMA(R,3,1); B:=SMA(A,3,1); CCC:=(B/2+40)*1.1; D:=SMA(CCC,3,1); 回抽:IF(CROSS(D,RSI5),50,0),STICK,COLORRED; 【逃命】:IF(CROSS(80,RSI5),-50,0),STICK,COLORGREEN; STICKLINE(CROSS(D,RSI5),50,0,8,0),COLORRED; STICKLINE(CROSS(80,RSI5),-50,0,8,0),COLORGREEN; rr9:=(CLOSE-MA(CLOSE,27))/MA(CLOSE,27)*100; rrA:=MA(rr9,2); rrB:=BARSLAST(CROSS(-10,rrA)=1); rrD:=rrA<-10 AND rrB>3; 黃金坑:IF(rrD,-50,0),coloryellow,LINETHICK2; TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,n))/(0.015*AVEDEV(TYP,n)),COLORMAGENTA,LINETHICK2; 上穿買入:if(cross(cci,-100) and 濾網,-50,-100),colorwhite; drawicon(上穿買入=-50,cci,12); VARB:=SMA(ABS(LOW-REF(LOW,1)),3,1)/SMA(MAX(LOW-REF(LOW,1),0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3); VARE:=HHV(VARC,30); VARG:=EMA(IF(LOW<=LLV(LOW,30),(VARC+VARE*2)/2,0),3)/618; VARH:=IF(VARG>50,50,VARG); 吸籌:STICKLINE(VARH>-120,0,VARH,6,1),COLOR0FFFFF; 買入時機: IF(CROSS(Cci,-150) ,-150,-200),COLORred; C2:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)); 牛啟動: IF(CROSS(C2,-70),-100,-150),COLORGREEN; 選股:牛啟動=-100 or 買入時機=-150 or 上穿買入=-50,linethick0; {底部:-200,LINEDOT;} {股旁網-股票公式網站 www.gupang.com} 賣出:if(cross(100,cci) and close<ref(low,1),80,100),LINEDOT; drawtext(cross(cci,-100),-100,'-100'),COLORMAGENTA; AA:=REF(cci,N)=HHV(cci,2*N+1); BB:=BACKSET(AA,N+1); CC:=FILTER(BB,N) AND cci=HHV(cci,N+1); A1:=BARSLAST(REF(CC,1)); 頂背離:=REF(H,A1+1)<H AND REF(cci,A1+1)>cci AND CC; DRAWTEXT(頂背離,cci*1.2,'頂背離'),COLORMAGENTA; DRAWLINE(CC,cci,FILTER(頂背離>0,5),cci,0),COLORMAGENTA; DRAWICON(頂背離,cci*1.1,2); AA2:=REF(cci,N)=LLV(cci,2*N+1); BB2:=BACKSET(AA2,N+1); CC2:=FILTER(BB2,N) AND cci=LLV(cci,N+1); A2:=BARSLAST(REF(CC2,1)); 底背離:=REF(L,A2+1)>L AND REF(cci,A2+1)<cci AND CC2; DRAWTEXT(底背離,cci*1.2,'底背離'),COLORMAGENTA; DRAWLINE(CC2,cci,FILTER(底背離>0,5),cci,0),COLORMAGENTA; DRAWICON(底背離,cci*0.98,1); EXPLAIN(1,'(一)長期下跌后第一次碰-100不能買,第二次碰-100在即將上穿之時買入(必須底背離,成功率才100%)。'),COLORYELLOW,ALIGN2; EXPLAIN(1,'(二)股價到+100時"加碼"買入,在+100以上開始回頭時跌破+100應該賣出,然后按照支撐位置可以買入,第二次穿過+100之時股價一般會創(chuàng)新高,但是指標如果背離時,再次跌破+100,堅決拋光!'),COLORYELLOW,ALIGN2; EXPLAIN(1,'(三)再次到-100以下時,就重復上面的方法。\n'),COLORYELLOW,ALIGN2; explain(底背離,'CCI指標出現(xiàn)底背離'),colorred; explain(頂背離,'CCI指標出現(xiàn)頂背離,提高警惕,保衛(wèi)成果'),colorgreen; explain(上穿買入=-50,'CCI上穿-100,并且通過濾網,如果K線品質良好,及時跟進'),colorred; explain(rrD,'股價進入黃金坑,留意何時走出黃金坑,完成筑底階段'),coloryellow; explain(rrD=0 and ref(rrD,1)=1,'股價走出黃金坑,完成筑底,注意分析形態(tài)及K線形態(tài),及時跟進'),colorred; explain(VARH>0,'50上的黃柱表示吸籌'),coloryellow; |
|
來自: chiming2001 > 《股票技術》