主圖指標(biāo)不同于傳統(tǒng)的MA,看盤軟件的最大優(yōu)點(diǎn)就是,可以利用函數(shù)設(shè)置,做出各種各樣的看盤指標(biāo)。 也可以對時(shí)間k線進(jìn)行改動(dòng)和優(yōu)化,也可以在k線圖上,設(shè)置多種信號提醒,方便看盤。 就比如下面這個(gè)指標(biāo),漲停的時(shí)候有明顯的紫色提示,讓你可以輕松的看到哪只股票有漲停過。 以及老鼠倉,還有時(shí)間變盤窗,或者大筆出貨等提示。 這是一個(gè)區(qū)間的信號變的,主圖設(shè)置了兩根m a 趨勢線,看起來非常簡潔。 這是變盤期,的時(shí)間窗口提醒,結(jié)合其他指標(biāo)進(jìn)行組合看盤。 源碼是技術(shù),也是一個(gè)長期的經(jīng)驗(yàn)積累。 經(jīng)過檢測,是不包含未來函數(shù)的,所以可以做參考使用。 以下是源碼復(fù)制就可以 XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04)); XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100); XL3:=CROSS(XL2,(0 - 20)); DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),(LOW - 0.4),'●買點(diǎn)'); DRAWTEXT((XL3 > 0),(LOW - 0.2),'●絕對底部'); X6:=REF(CLOSE,1); X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100); X8:=CROSS(79,X7); X9:=FILTER(X8,4); DRAWTEXT(X9,(HIGH * 1.02),'●出貨'),COLOR9000F5; STICKLINE(C>1.098*REF(C,1),C,O,0,0),COLORYELLOW; AAA:=CONST(HHV(H,90)); R1:=MA(CLOSE,1); R2:=MA(CLOSE,3); R3:=(MA(R2,1)*1); R4:=(MA(R2,3)*1); LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR12:=(HIGH+LOW+CLOSE)/3; VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)); VAR15:=IF(VAR13>=150 AND VAR13<200 and="" var14="">=150 AND VAR14<> VAR16:=IF(VAR13<=-150 and="" var13="">-200 AND VAR14<=-150 and="" var14="">-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17); VAR19:=IF(VAR18<> VAR1A:=IF(VARE>0,VARE,0); VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 and="">=-200><> VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<> DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,HIGH*1.02,'大筆出貨'),LINETHICK1,COLORFFCC66; AA1:=AMOUNT/V; BB1:=L<> CC1:=(C-REF(C,1))/REF(C,1)*100>1.2; DD1:=L<> EE1:=V<> 老鼠倉:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0; DRAWTEXT老鼠倉,(LOW* 0.99),'老鼠倉'),COLOR00FF00; STICKLINE(老鼠倉,OPEN,CLOSE,3,0),COLORYELLOW A74:=MA(CLOSE,20); A75:=(CLOSE > MA(CLOSE,5)); A76:=(MA(CLOSE,5) > MA(CLOSE,10)); A77:=(CLOSE > MA(CLOSE,10)); A78:=(MA(CLOSE,5) > MA(CLOSE,20)); A79:=(CLOSE > MA(CLOSE,20)); A710:=REF(A74,1); A711:=(A74 > A710); AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10))) + IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10))); DSLX:=(CLOSE / INDEXC); DSLX1:=MA(DSLX,5); DSLX2:=MA(DSLX,10); V1:=MA(VOL,5); V2:=MA(VOL,10); T1:=CONST(IF(C<200 and="" ((cross(avx,1)="" and="" (v1="">= V2)) AND (DSLX >= DSLX1)),1,0)); T2:=CONST(IF(C<200 and="" ((cross(avx,1)="" and="" (v1="">200>< v2))="" and="" (dslx="">= DSLX1)),1,0)); T3:=CONST(IF(C<200 and="" ((cross(avx,1)="" and="" (v1=""> V2)) AND (DSLX <> T4:=CONST(IF(C<200 and="" ((cross(avx,1)="" and="" (v1="">200><= v2))="" and="" (dslx="">=><> T5:=CONST(IF(C<200 and="" ((cross(1,avx)="" and="" (v1="">= V2)) AND (DSLX >= DSLX1)),1,0)); T6:=CONST(IF(C<200 and="" ((cross(1,avx)="" and="" (v1="">200>< v2))="" and="" (dslx="">= DSLX1)),1,0)); T7:=CONST(IF(C<200 and="" ((cross(1,avx)="" and="" (v1="">= V2)) AND (DSLX <> T8:=CONST(IF(C<200 and="" ((cross(1,avx)="" and="" (v1="">200>< v2))="" and="" (dslx=""><> T9:=CONST(IF(C<200 and="" ((((avx="">= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0)); T10:=CONST(IF(C<200 and="" ((((avx="">= 1) AND (REF(AVX,1) > 0)) AND (V1 < v2))="" and="" (dslx="">= DSLX1)),1,0)); T11:=CONST(IF(C<200 and="" ((((avx="">= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX <> T12:=CONST(IF(C<200 and="" ((((avx="">= 1) AND (REF(AVX,1) > 0)) AND (V1 < v2))="" and="" (dslx=""><> T13:=CONST(IF(C<200 and="" ((((avx="">200>< 1)="" and="" (ref(avx,1)="">< 0))="" and="" (v1="">= V2)) AND (DSLX >= DSLX1)),1,0)); T14:=CONST(IF( C<200 and="" ((((avx="">200>< 1)="" and="" (ref(avx,1)="">< 0))="" and="" (v1="">< v2))="" and="" (dslx="">= DSLX1)),1,0)); T15:=CONST(IF(C<200 and="" ((((avx="">200>< 1)="" and="" (ref(avx,1)="">< 0))="" and="" (v1="">= V2)) AND (DSLX <> T16:=CONST(IF(C<200 and="" ((((avx="">200>< 1)="" and="" (ref(avx,1)="">< 0))="" and="" (v1="">< v2))="" and="" (dslx=""><> T17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0)); T18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0)); T19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 <> T20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0)); T21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 <> T22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)),1,0)); T23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 <> T24:=CONST(IF(C>200 AND (((AVX < 1)="" and="" (ref(avx,1)="">< 0))="" and="" (v1="">= V2)),1,0)); T25:=CONST(IF(C>200 AND (((AVX < 1)="" and="" (ref(avx,1)="">< 0))="" and="" (v1=""><> AA:=BARSCOUNT(C); AH:=HHV(H,200); AL:=LLV(L,200); A0:=(AH-AL)/40; B1:=L-A0; STICKLINE((AA+0)/34=FLOOR((AA+0)/34),B1,B1-1.5*A0,2,0),COLORF00FF0; DRAWTEXT((AA+0)/34=FLOOR((AA+0)/34),B1-1*A0,'時(shí)間窗變盤'),COLORF00FF0; VAR2S:=(2*CLOSE+HIGH+LOW)/4; VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1); VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4); 所屬地域:DRAWTEXT_FIX(ISLASTBAR ,0.08,0.01,1,DYBLOCK),COLORYELLOW; 所屬行業(yè):DRAWTEXT_FIX(ISLASTBAR ,0.1,0.01,0,HYBLOCK),COLORYELLOW; 漲停:=IF((C-REF(C,1))/REF(C,1)>0.097,1,0); STICKLINE(漲停,OPEN,CLOSE,3,0),COLORMAGENTA; HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6; HHJSJDB:(20*HHJSJDA+18*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6) +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12) +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+ REF(HHJSJDA,20))/210,COLORYELLOW; HHJSJDC:MA(HHJSJDB,5),COLORRED; 以上源碼可以做成文件,使用的時(shí)候?qū)刖托辛?,非常方便,指?biāo)只是參考,如果用3-5個(gè)做組合,那么效果可能會(huì)更好一些。 200>200>200>200>200>200>200>200>=-150>=-150>200> |
|