本帖最后由 lsprgone 于 2009-12-12 18:06 編輯
回饋老錢莊,奉上自編超短線波段源碼(源自潘仔氣死莊) VAR1:=(2*CLOSE+OPEN)/3; VAR2:=(CLOSE-MA(CLOSE,2))/MA(CLOSE,2)*100; VAR3:=(EMA(VAR2,1)+EMA(VAR2,3)+EMA(VAR2,6))/2; A1:=EMA(VAR3,2); A2:=EMA(A1,2); A3:=EMA(A2,2); DRAWICON(CROSS(A1,A3),A3-2,1); DRAWICON(CROSS(A3,A1),A3+2,2); STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED; STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED; STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED; STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED; STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED; STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED; STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN; STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN; STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN; STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN; STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN; STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN; 用法: 1、指標(biāo)簡單易懂,我不喜歡花里胡哨的。紅色箭頭出現(xiàn),超短可買。綠色箭頭出現(xiàn),超短應(yīng)注意風(fēng)險(xiǎn),切換至分時(shí)界面,隨時(shí)準(zhǔn)備出貨(短線一樣要注意風(fēng)險(xiǎn))。 2、有紅色物體時(shí),超短可以買入。有綠色物體時(shí),超短不可以買入。 3、周期:僅對日線有效。 4、指標(biāo)很敏感,絕對可以用于追漲(包括追漲停)。 5、塊狀物體大小表示趨勢,只用來參考,不能用來決策。
截圖見附件,相冊搞了半天還是不行。
第一次改編指標(biāo),請高手優(yōu)化。不勝感激!
第二個指標(biāo):區(qū)間擴(kuò)大出擊 A :=MA(CLOSE,26); UP:=A + 2*STD(CLOSE,26); LOWER:=A - 2*STD(CLOSE,26); W1:=C=HHV(C,20); W2:=BARSLAST(W1); W3:=IF(W2>0,REF(C,W2),REF(C,W2)); W4:=CROSS(C,REF(W3,1)); IF(W4 AND COUNT(W4,5)=1,100,0); VARR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VARR2:=REF(VARR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR3:=REF(VARR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR4:=REF(VARR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR5:=REF(VARR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR6:=REF(VARR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR7:=REF(VARR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR8:=REF(VARR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR9:=REF(VARR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRA:=REF(VARR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARRB:=REF(VARRA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRC:=REF(VARRB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARRD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARRE:=REF(VARRD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARRF:=REF(VARRE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR10:=REF(VARRF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR11:=REF(VARR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR12:=REF(VARR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR13:=REF(VARR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR14:=REF(VARR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR15:=REF(VARR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR16:=REF(VARR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR17:=REF(VARR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARR18:=REF(VARR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARR19:=REF(VARRD OR VARRE OR VARRF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VARR15 OR VARR16 OR VARR17 OR VARR18,1) AND VARR1; VARR1A:=REF(VARR1 OR VARR2 OR VARR3 OR VARR4 OR VARR5 OR VARR6 OR VARR7 OR VARR8 OR VARR9 OR VARRA OR VARRB OR VARRC,1) AND VARRD; DRAWICON(VARR19,20,1); DRAWICON(VARR1A,80,2); 用法: 1、出現(xiàn)白色三角形尖角,可強(qiáng)力追漲。不出現(xiàn)也可以追。 2、當(dāng)日出現(xiàn)紅色箭頭,可買。當(dāng)日不出現(xiàn)紅色箭頭,最好不買。 3、離當(dāng)日最近的箭頭是綠色,當(dāng)日不可追。 離當(dāng)日最近的箭頭是紅色,當(dāng)日可追。
|