回復“金鉆指標”,可以獲得金鉆指標合集 指標公式,不是萬能的 但指標公式可以把你的思路轉化為選股器 大大提高你的選股效率 助你在瞬息萬變的市場上 盡快抓住即將上漲的那只股票 指標說明:主圖,K線解盤 指標源碼: {K線形態(tài)解盤} TT:=240/FROMOPEN; 比:=TT; J12:=(H - ((H - LOW) / 3)); J23:=(LOW + ((H - LOW) / 3)); AAA:=CONST(HHV(H,90)); BBB:=CONST(LLV(L,100)); DRAWBAND(AAA,RGB(50,100,00),BBB,RGB(00,00,00)); MA1:MA(C,5); MA2:MA(C,10); MA3:MA(C,20); MA4:MA(C,60); MA5:MA(C,120); DRAWKLINE(H,O,L,C); T1{早晨之星}:=CONST(IF((REF(C,2)/REF(O,2) < 0.95 AND REF(O,1) < REF(C,2) AND ABS(REF(O,1)-REF(C,1))/REF(C,1)<0.03 AND C/O>1.05 AND C>REF(C,2)),1,0)); T2{黃昏之星}:=CONST(IF((REF(C,2)/REF(O,2) > 1.03 AND REF(O,1) > REF(C,2) AND ABS(REF(O,1)-REF(C,1))/REF(C,1)<0.02 AND C/O<0.97 AND C<REF(C,2)),1,0)); T3{長十字}:=CONST(IF((C=O AND H/LOW >1.03),1,0)); T4{垂死十字}:=CONST(IF((C=O AND C=LOW AND C!=H),1,0)); T5{早晨十字星}:=CONST(IF((REF(C,2)/REF(O,2) < 0.95 AND REF(O,1) < REF(C,2) AND REF(O,1)=REF(C,1) AND C/O>1.05 AND C>REF(C,2)),1,0)); T6{黃昏十字星}:=CONST(IF((REF(C,2)/REF(O,2) > 1.05 AND REF(O,1) > REF(C,2) AND REF(O,1)=REF(C,1) AND C/O<0.95 AND C<REF(C,2)),1,0)); T7{射擊之星}:=CONST(IF((MIN(O,C)=LOW AND H-LOW > 3*(MAX(O,C)-LOW) AND C > MA(C,5)),1,0)); T8{倒轉錘頭}:=CONST(IF((MIN(O,C)=LOW AND H-LOW > 3*(MAX(O,C)-LOW) AND C < MA(C,5)),1,0)); T9{錘頭}:=CONST(IF((H = MAX(O,C) AND H-LOW > 3*(H-MIN(O,C)) AND C < MA(C,5)),1,0)); T10{吊頸}:=CONST(IF((H = MAX(O,C) AND H-LOW > 3*(H-MIN(O,C)) AND C>MA(C,5)),1,0)); T11{穿頭破腳}:=CONST(IF(((REF(C,1)/REF(O,1)>1.03 AND C/O<0.96 AND C<REF(O,1) AND O>REF(C,1))OR (REF(C,1)/REF(O,1)<0.97 AND C/O>1.04 AND C>REF(O,1) AND O<REF(C,1))),1,0)); T12{烏云蓋頂}:=CONST(IF((REF(C,1)/REF(O,1)>1.03 AND C/O<0.97 AND O>REF(C,1) AND C<REF(C,1)),1,0)); T13{曙光初現(xiàn)}:=CONST(IF((REF(C,1)/REF(O,1)<0.97 AND C/O>1.03 AND O<REF(C,1) AND C>REF(C,1)),1,0)); T14{身懷六甲}:=CONST(IF((ABS(REF(C,1)-REF(O,1))/REF(C,1) > 0.04 AND ABS(C-O)/C<0.005 AND MAX(C,O) < MAX(REF(C,1),REF(O,1)) AND MIN(C,O) > MIN(REF(C,1),REF(O,1))),1,0)); T15{十字胎}:=CONST(IF((ABS(REF(C,1)-REF(O,1))/REF(C,1) > 0.04 AND C=O AND C < MAX(REF(C,1),REF(O,1)) AND C > MIN(REF(C,1) ,REF(O,1))),1,0)); T16{平頂}:=CONST(IF((ABS(H-REF(H,1))/H<0.001),1,0)); T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1) -REF(LOW,2))/REF(LOW,1)<=0.001)),1,0)); T18{大陽燭}:=CONST(IF((C/O>1.05 AND H/LOW < C/O+0.018),1,0)); T19{三個白武士}:=CONST(IF((REF(C,2)>REF(O,2) AND REF(C,1) >REF(O,1) AND C>O AND REF(C,1)>REF(C,2) AND C>REF(C,1)),1,0)); T20{雙飛烏鴉}:=CONST(IF((REF(C,1)<REF(O,1) AND C<O AND C/O<0.98),1,0)); T21{孕育線}:=CONST(IF((REF(C,2)>REF(O,2) AND (REF(C,2) -REF(O,2))/REF(O,2)>=2/100 AND REF(O,1)>=REF(C,1) AND (REF(O,1)-REF(C,1))/REF(C,1)<=2/100 AND REF(O,1) <=REF(C,2) AND REF(C,1)>=REF(O,2) AND C>=O AND (C-O)/O>=2/100 AND C>=REF(O,1) AND O<=REF(C,1) AND (MAX(C,REF(C,2))-MIN(C,REF(C,2)))/MIN(C,REF(C,2)) <=1/100),1,0)); T22{多方炮}:=CONST(IF((REF(C,2)>REF(O,2) AND REF(C,1)<REF(O,1) AND C>O),1,0)); T23{出水芙蓉}:=CONST(IF(((O<EMA(C,20) OR O<EMA(C,40) OR O< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30) >1.2 AND C/REF(C,1)>1.049)),1,0)); T24{上升三部曲}:=CONST(IF((REF(C,4)/REF(O,4)>1.03 AND REF(C,3) <REF(O,3) AND REF(C,2)<REF(O,2) AND REF(C,1)<REF(O,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4) <REF(LOW,1) AND REF(H,4)>REF(H,3) AND REF(H,4)>REF(H,2) AND REF(H,4)>REF(H,1) AND C/O>1.03 AND C>REF(C,4)),1,0)); T25{下跌三部曲}:=CONST(IF(( REF(C,4)/REF(O,4)<0.97 AND REF(C,3) >REF(O,3) AND REF(C,2)>REF(O,2) AND REF(C,1)>REF(O,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4) <REF(LOW,1) AND REF(H,4)>REF(H,3) AND REF(H,4)>REF(H,2) AND REF(H,4)>REF(H,1) AND C/O<0.97 AND C<REF(C,4)),1,0)); T26{跳空缺口}:=CONST(IF(H<REF(LOW,1) OR LOW>REF(H,1),1,0)); T27{三只烏鴉}:=CONST(IF((REF(C,2)<REF(O,2) AND REF(C,1) <REF(O,1) AND C<O AND REF(C,1)<REF(C,2) AND C<REF(C,1)),1,0)); T28{光腳陰線}:=CONST(IF((LOW=C AND H!=LOW),1,0)); T29{光頭陽線}:=CONST(IF((H=C AND H!=LOW),1,0)); T30{分離}:=CONST(IF((O=REF(O,1) AND (C-O)*(REF(C,1) -REF(O,1))<0),1,0)); T31{長下影}:=CONST(IF(((MIN(C,O)-LOW)/(H-LOW)>0.667),1,0)); T32{長上影}:=CONST(IF(((H-MAX(C,O))/(H-LOW)>0.667),1,0)); T33{十字星}:=CONST(IF((C=O AND H!=LOW),1,0)); T34{大陰燭}:=CONST(IF((O/C > 1.05 AND H/LOW < O/C+0.018),1,0)); T35{好友反攻}:=CONST(IF(((REF(C,1)<REF(O,1) AND C>O AND ABS(C-REF(C,1))/C<0.002) OR (REF(C,1)>REF(O,1) AND C<O AND ABS(C-REF(C,1)) /C<0.002)),1,0)); T36{傾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O >REF(O,1) AND C<REF(O,1)),1,0)); T37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1)); T38{M10}:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1)); T39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1)); T40{M12}:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1)); T41{M13}:=CONST((((IF((C = O),1,0) + IF((C >= J12),1,0)) + IF((C <= J23),1,0)) > 1)); T42{M14}:=CONST((((AMOUNT / VOL) / 100) > REF(H,1))); T43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1))); DRAWTEXT_FIX(C>0,0,0,0,'免費獲取更多指標,關注公眾號:【指標公式研究所】'),COLORMAGENTA; TSS_1:=IF(T1=1,0+0.03,0); TSS_2:=IF(T2=1,TSS_1+0.03,TSS_1); TSS_3:=IF(T3=1,TSS_2+0.03,TSS_2); TSS_4:=IF(T4=1,TSS_3+0.03,TSS_3); TSS_5:=IF(T5=1,TSS_4+0.03,TSS_4); TSS_6:=IF(T6=1,TSS_5+0.03,TSS_5); TSS_7:=IF(T7=1,TSS_6+0.03,TSS_6); TSS_8:=IF(T8=1,TSS_7+0.03,TSS_7); TSS_9:=IF(T9=1,TSS_8+0.03,TSS_8); TSS_10:=IF(T10=1,TSS_9+0.03,TSS_9); TSS_11:=IF(T11=1,TSS_10+0.03,TSS_10); TSS_12:=IF(T12=1,TSS_11+0.03,TSS_11); TSS_13:=IF(T13=1,TSS_12+0.03,TSS_12); TSS_14:=IF(T14=1,TSS_13+0.03,TSS_13); TSS_15:=IF(T15=1,TSS_14+0.03,TSS_14); TSS_16:=IF(T16=1,TSS_15+0.03,TSS_15); TSS_17:=IF(T17=1,TSS_16+0.03,TSS_16); TSS_18:=IF(T18=1,TSS_17+0.03,TSS_17); TSS_19:=IF(T19=1,TSS_18+0.03,TSS_18); TSS_20:=IF(T20=1,TSS_19+0.03,TSS_19); TSS_21:=IF(T21=1,TSS_20+0.03,TSS_20); TSS_22:=IF(T22=1,TSS_21+0.03,TSS_21); TSS_23:=IF(T23=1,TSS_22+0.03,TSS_22); TSS_24:=IF(T24=1,TSS_23+0.03,TSS_23); TSS_25:=IF(T25=1,TSS_24+0.03,TSS_24); TSS_26:=IF(T26=1,TSS_25+0.03,TSS_25); TSS_27:=IF(T27=1,TSS_26+0.03,TSS_26); TSS_28:=IF(T28=1,TSS_27+0.03,TSS_27); TSS_29:=IF(T29=1,TSS_28+0.03,TSS_28); TSS_30:=IF(T30=1,TSS_29+0.03,TSS_29); TSS_31:=IF(T31=1,TSS_30+0.03,TSS_30); TSS_32:=IF(T32=1,TSS_31+0.03,TSS_31); TSS_33:=IF(T33=1,TSS_32+0.03,TSS_32); TSS_34:=IF(T34=1,TSS_33+0.03,TSS_33); TSS_35:=IF(T35=1,TSS_34+0.03,TSS_34); TSS_36:=IF(T36=1,TSS_35+0.03,TSS_35); TSS_37:=IF(T37=1,TSS_36+0.03,TSS_36); TSS_38:=IF(T38=1,TSS_37+0.03,TSS_37); TSS_39:=IF(T39=1,TSS_38+0.03,TSS_38); TSS_40:=IF(T40=1,TSS_39+0.03,TSS_39); TSS_41:=IF(T41=1,TSS_40+0.03,TSS_40); TSS_42:=IF(T42=1,TSS_41+0.03,TSS_41); TSS_43:=IF(T43=1,TSS_42+0.03,TSS_42); DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_1),'早晨之星,見底回升‖'),COLORFF00FF ; DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_2),'黃昏之星,見頂回落‖'),COLORFFFF00 ; DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_3),'長十字,重要的警告信號,原趨勢停頓或反轉‖'),COLOR00FFFF ; DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_4),'垂死十字,下跌信號‖'),COLORFFFF00 ; DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_5),'早晨十字星,上漲信號,見底回升‖'),COLORFF00FF ; DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_6),'黃昏十字星,趨勢停頓或反轉,下跌或,見頂回落‖'),COLORFFFF00 ; DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_7),'射擊之星,市場頂部就在眼前,可能見頂回落,可靠性低‖'),COLORFFFF00 ; DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_8),'倒轉錘頭構成一個看漲信號,可能見底回升‖'),COLORFF00FF ; DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_9),'錘頭,可能見底回升,如有量配合,信號強烈‖'),COLOR0000FF ; DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_10),'吊頸,上升行情中見頂回落,頂部出現(xiàn),見頂信號‖'),COLORFFFF00 ; DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_11),'穿頭破腳,頂部出現(xiàn),見頂回落信號‖'),COLORFFFF00 ; DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_12),'烏云蓋頂,見頂回落信號‖'),COLORFFFF00 ; DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_13),'曙光初現(xiàn),將演化為V型反轉或橫盤。后市見底回升‖'),COLORFF00FF ; DRAWTEXT(T14=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_14),'身懷六甲,底部,是見底回升,頂部,是見頂回落信號‖'),COLOR00FFFF ; DRAWTEXT(T15=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_15),'十字胎‖'),COLOR00FFFF ; DRAWTEXT(T16=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_16),'平頂,行情見頂,股價將反轉。但下跌力度較小‖'),COLORFFFFFF ; DRAWTEXT(T17=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_17),'平底,行情探低見底,股價行將反轉上升,但力度較小‖'),COLORFFFFFF ; DRAWTEXT(T18=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_18),'大陽燭,上升中,劇烈地向上攀升。下行中,劇烈地向上反彈‖'),COLOR0000FF ; DRAWTEXT(T19=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_19),'三個白武士,每日收盤價上移,表示可能見底回升‖'),COLORFFFFFF ; DRAWTEXT(T20=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_20),'雙飛烏鴉,行情開始疲軟將見頂回落‖'),COLORFF0000 ; DRAWTEXT(T21=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_21),'孕育線,注意股價位置‖'),COLOR00FFFF ; DRAWTEXT(T22=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_22),'多方炮,底部可能上漲,中間上漲中繼,頂部見頂信號‖'),COLOR00FFFF ; DRAWTEXT(T23=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_23),'出水芙蓉,陽線穿過20、40、60日均線,上攻勢頭初現(xiàn)‖'),COLORFF00FF ; DRAWTEXT(T24=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_24),'上升三部曲,上漲信號‖'),COLORFF00FF ; DRAWTEXT(T25=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_25),'下跌三部曲,下跌信號‖'),COLORFFFF00 ; DRAWTEXT(T26=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_26),'跳空缺口,突破盤整,向上漲、向下跌開始‖'),COLOR00FFFF ; DRAWTEXT(T27=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_27),'三只烏鴉站枝頭,可能見頂回落‖'),COLORFFFF00 ; DRAWTEXT(T28=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_28),'光腳陰線,下跌信號‖'),COLORFFFF00 ; DRAWTEXT(T29=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_29),'光頭陽線,多方積極上攻態(tài)勢,后市看漲‖'),COLOR0000FF ; DRAWTEXT(T30=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_30),'分離,注意看漲分離和看跌分離‖'),COLOR00FFFF ; DRAWTEXT(T31=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_31),'長下影,有可能止跌回升,升勢末期,須小心‖'),COLOR00FFFF ; DRAWTEXT(T32=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_32),'長上影,表明行情上檔壓力沉重,升勢受阻‖'),COLORFFFF00 ; DRAWTEXT(T33=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_33),'十字星,重要的警告信號,原趨勢停頓或反轉‖'),COLOR00FFFF ; DRAWTEXT(T34=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_34),'大陰燭,后市向淡,發(fā)生逆轉‖'),COLORFF0000 ; DRAWTEXT(T35=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_35),'好友反攻,跌勢已盡,要展開一段反彈行情‖'),COLORFF00FF ; DRAWTEXT(T36=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_36),'傾盆大雨,見頂信號‖'),COLORFFFF00 ; DRAWTEXT(T37=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_37),'今日成交量大于昨日,且有繼續(xù)增大趨勢'),COLORYELLOW ; DRAWTEXT(T38=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_38),'今日成交量小于昨日,但有放大跡象'),COLORFFFF00 ; DRAWTEXT(T39=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_39),'今日成交量大于昨日, 但有縮小跡象'),COLORRED ; DRAWTEXT(T40=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_40),'今日成交量小于昨日,且有縮小跡象'),COLORRED ; DRAWTEXT(T41=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_41),'極端行情,在未來的幾日內有85%的機會變更方向'),COLORWHITE ; DRAWTEXT(T42=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_42),'上漲趨勢'),COLORRED ; DRAWTEXT(T43=1 AND CURRBARSCOUNT=58,AAA-(AAA*TSS_43),'下跌趨勢'),COLORGREEN ; 指標效果圖: 點擊關注公眾號,每天接收精品指標。 公眾號:指標公式研究所 學習園地,每天學一個小公式 懂得運用公式編輯器,掌握了公式的基本函數(shù),就可以進行簡單的公式編寫了。每天學習一個公式的基本語句,日積月累,你也能編寫出好的指標公式了。 今日學習: 放量: (1)今日比昨日的成交量放大了1倍:VOL/REF(VOL,1)>2; (2)今日的五日均量比前五天的五日均量放大了3倍: AA:=MA(VOL,5); BB:=REF(AA,5); AA/BB>4; (3)今天的成交量達到了整個流通盤的10%以上:VOL/CAPITAL>10/100; 注意,10%的表達式是10/100,或者0.1
|
|