只研究當前最突出的股票,只投資最活躍的龍頭股,千萬不要在那些疲軟的股票上浪費時間,如果你在龍頭股上賺不到錢,你壓根就不可能在股市上賺到錢。 ——利弗莫爾
該指標分為主圖指標(包含:趨勢+買賣點+支撐、壓力位)+副圖指標(資金生命線+紫金龍頭提示)+選股指標,整個指標花費了我大約一週的時間。
主圖指標的設計原理:
關於主圖設計原理:箱頂要長,正所謂橫有多長,縱有多高;跑道要平,表示整理充分,便於起飛;左邊要有連板基因;箱頂與跑道之間的距離小於20點是龍頭妖股的常見條件;同時為了更好的研判個股的漲跌趨勢,我加上了紅綠柱,用紅綠柱的伸縮情況表示當前的趨勢。為了能更好研判個股的轉勢情況,及時把握住股價的拐點,我把重要的K線設計為黃色和綠色兩種,黃色:表示趨勢由空翻多,屬於見底轉折訊號。綠色:表示趨勢由多翻空,屬於見頂轉折訊號。其實一個主圖指標就完全可以應對個股操作了,如下圖所示:
指標主圖
副圖指標設計原理:為了增加個股的成功率,我在副圖上增加了一個資金流指標,黃線上穿粉線形成金叉,表示資金流入,黃線下穿粉線形成死叉,表示資金流出。同時添加了關注訊號。
該股的選股方案是從網上經過多方篩選而來,雖然選股的訊號較少,但成功率偏高,不妨試一下。
通達信副圖和選股原始碼如下:
CX:=(BARSCOUNT(C)+1)<120;
MA10:=MA(C,10);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
VAR1:=(MAX(C,O)-MIN(C,O))/MIN(C,O)*100;
VAR2:=(H-MAX(C,O))/MAX(C,O)*100;
VAR3:=(MIN(C,O)-L)/L*100;
VAR4:=MA(REF(LLV(C,30),1),2);
VAR5:=MA(REF(HHV(C,30),1),2);
VAR6:=(VAR5-MAX(C,O))/MAX(C,O)*100;
VAR7:=(MIN(C,O)-VAR4)/VAR4*100;
VAR8:=MAX(MA30,MAX(MA60,MA120));
VAR9:=MIN(MA30,MIN(MA60,MA120));
VAR10:=IF(MA30<>VAR8 AND MA30<>VAR9,MA30,IF(MA60<>VAR8 AND MA60<>VAR9,MA60,MA120));
VAR11:=(VAR8-VAR9)/VAR9*100;
VAR12:=BARSLASTCOUNT(MAX(O,C)<=REF(MAX(O,C),1) AND MIN(O,C)<=REF(MIN(O,C),1))>=2;
VAR13:=BARSLASTCOUNT(MIN(O,C)<=REF(MIN(O,C),1))>=2;
VAR14:=BARSLASTCOUNT(MAX(O,C)<=REF(MAX(O,C),1))>=2;
VAR15:=BARSLASTCOUNT(MAX(O,C)>=REF(MAX(O,C),1) AND MIN(O,C)>=REF(MIN(O,C),1))>=2;
VAR16:=BARSLASTCOUNT(MIN(O,C)>=REF(MIN(O,C),1))>=2;
VAR171:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR172:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAR173:=REF(VAR172,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR174:=REF(VAR172 OR VAR173,1) AND VAR171;
VAR17:=VAR174 AND CLOSE>OPEN;
VAR18:=REF(VAR171,1) AND VAR172 AND NOT(REF(C,3)=LLV(C,4));
VAR19:=(CLOSE/OPEN)>1.04 AND CLOSE<SMA(HIGH,19,3) AND C>REF(C,1);
VAR201:=IF(C>MA(C,4),1,0);
VAR202:=IF(C<MA(C,4),-1,0);
VAR203:=IF(MA(C,5)>REF(MA(C,5),1),1,0);
VAR204:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);
VAR205:=VAR201+VAR202+VAR203+VAR204;
VAR20:=VAR205=2 AND C<O;
VAR211:= EMA((CLOSE*2+HIGH+LOW)/4,13)-EMA((CLOSE*2+HIGH+LOW)/4,73);
VAR212:=(CROSS(VAR211,EMA(VAR211,2)) AND VAR211<=0.05 AND (C/REF(C,1)>0.035));
VAR21:=VAR212 AND NOT(VAR20);
VAR221:=IF(C>MA(C,4),1,0)+IF(C<MA(C,4),-1,0)+IF(MA(C,5)>REF(MA(C,5),1),1,0)+IF(MA(C,5)<REF(MA(C,5),1),-1,0);
VAR22:=VAR221=-2 AND C>O;
VAR23:=REF(VAR18 AND VAR21 AND VAR17=0,1)=0 AND REF(VAR17=0,2) AND REF(OPEN,1)>C AND C<VAR9 AND VAR9<=REF(VAR9,1) AND BARSLASTCOUNT(VAR8>VAR5)>10;
VAR24:=VAR19 AND OPEN<VAR4 AND C>VAR4 AND VAR1>3.9 AND VAR1<8 AND VAR2<0.5 AND VAR21=0 AND VAR22=0 AND VAR23;
VAR25:=(MAX(HHV(C,10),HHV(OPEN,10))-MIN(LLV(C,10),LLV(OPEN,10)))/MIN(LLV(C,10),LLV(OPEN,10))*100;
VAR26:=REF(C,1)>REF(C,2) AND REF(C,2)<VAR9 AND BARSLASTCOUNT(C>VAR9)=2 AND OPEN>=REF(C,1) AND OPEN<VAR9*1.0054;
VAR27:=MA30=VAR8 AND BARSLASTCOUNT(VAR8<VAR5)>10 AND BARSLASTCOUNT(VAR9>=REF(VAR9,1) AND VAR8>=REF(VAR8,1))>=4;
VAR28:=VAR19 AND C=HHV(C,5) AND VAR3<0.5 AND OPEN>VAR4 AND VAR11<10 AND VAR7<4.5 AND VAR6<20 AND COUNT(VAR12,3)>=1 AND REF(VAR25<10,1) AND VAR26 AND VAR27;
VAR29:=MA30=VAR8 AND BARSLASTCOUNT(VAR8<VAR5)>10 AND BARSLASTCOUNT(VAR9>=REF(VAR9,1) AND VAR10>=REF(VAR10,1))>=4 AND VAR4<REF(VAR4,1) AND VAR4<REF(VAR4,1)>VAR4<REF(VAR4,2);
VAR30:=VAR19 AND C=HHV(C,4) AND VAR3=0 AND REF(VAR12 AND BARSLASTCOUNT(VAR1>4 AND C<OPEN)>=3,1) AND VAR6<20 AND VAR29;
VAR31:=VAR19 AND C=HHV(C,10) AND REF(VAR12 AND VAR22 AND C<VAR4 AND BARSLASTCOUNT(VAR1<2.5)>=3,1) AND C>VAR4 AND BARSLASTCOUNT(C>0)<60 AND CROSS(C,MA10);
VAR32:=VAR19 AND C=HHV(C,4) AND (OPEN<VAR4 OR VAR7<2.5) AND VAR11<15 AND VAR6<30 AND CROSS(C,MA10) AND REF(BARSLASTCOUNT(C<MA10)>10,1) AND REF(BARSLASTCOUNT(MA120<VAR5)>10,4) AND MA120>MA60 AND MA60>MA30;
VAR33:=VAR19 AND C=HHV(C,3) AND REF(VAR22,1) AND OPEN>MA30*1.15 AND COUNT(VAR12,5)>=1 AND VAR16 AND MA30>MA60 AND MA60>MA120;
VAR34:=RANGE(MIN(C,O),MA(C,5)*0.98,MA(C,5)*1.02);
VAR35:=VAR19 AND C=HHV(C,4) AND CROSS(C,MA10) AND VAR6<20 AND VAR34 AND REF(BARSLASTCOUNT(VAR1<2.5)>=3 AND VAR15,1) AND C*1.05>MA30 AND MA30>MA60 AND MA60>MA120;
紫金龍頭:VAR24 OR VAR28 OR VAR30 OR VAR31 OR VAR32 OR VAR33 OR VAR35;