以下为飞狐、大智慧原码:
股易顶底:
Var1:((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
0, VOLSTICK;
拉升%: IF(Var1>0,Var1,0), , COLORred;
短顶: STICKLINE(Var1>9 AND FILTER(Var1< REF(Var1,1),5),Var1+2,0,3,0), , COLORRED;
大顶: STICKLINE(Var1>20 AND FILTER(Var1< REF(Var1,1),5),Var1+5,0,7,0), , COLORCYAN;
Var2:=HHV(Var1>20,10);
危险: STICKLINE(Var2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),Var1+10,0,4,0);
注意止损: STICKLINE(Var2 AND FILTER(Var1< REF(Var1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),Var1+6,0,3,0);
短底: STICKLINE(Var1<-9 AND Var1> REF(Var1,1),Var1-2,0,3,0), , COLORgreen;
大底: STICKLINE(Var1<-20 AND FILTER(Var1> REF(Var1,1),5),Var1-5,0,7,0), , COLORyellow;
买入准备:Var1<-9 AND Var1> REF(Var1,1);
------------------------------------------------------------------
--------------------------------------------------------------------
玄黄吉星:
XF: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
VAR2:=MA(CLOSE,80)-MA(CLOSE,13)/3;
神奇趋势线:=MA((CLOSE-VAR2)/VAR2,1);
狙击:DRAWTEXT(CROSS(神奇趋势线,0) AND LOW/REF(HIGH,1)<1.012,LOW,'狙击'),COLORYELLOW;
盈利临界: DRAWTEXT(COUNT(神奇趋势线>REF(神奇趋势线,1),3)=3 AND COUNT(神奇趋势线<0,10)=10 AND REF(神奇趋势线,3)=LLV(神奇趋势线,10),LOW,'盈利临界'),COLORYELLOW;
参与: DRAWTEXT(REF(神奇趋势线,2)=LLV(神奇趋势线,20) AND REF(神奇趋势线,2)<0.071 AND REF(神奇趋势线,2)REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),LOW,'参与'),COLORYELLOW;
DRAWICON(CROSS(EMA(CLOSE,8),EMA(EMA(CLOSE,8),20)) AND EMA(CLOSE,8)
VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR21:=SMA(VAR1,20,1);
VAR3:=SMA(VAR21,15,1);
VAR4:=100-3*VAR21+2*VAR3;
VAR5:=(3*VAR21+2*VAR3)/4;
VAR6:=ABS(ABS(VAR5)-ABS(VAR4));
VAR7:=ABS(ABS(VAR5)-ABS(VAR6));
阴跌区域:=VAR4-VAR7;
见顶区域:=阴跌区域<0;
均衡:=VAR5-VAR7;
DRAWTEXT(CROSS(阴跌区域,均衡),LOW,'阴跌延续'),COLORGREEN;
DRAWTEXT(CROSS(阴跌区域,-0.1),LOW,'见顶回落'),COLORWHITE;
STICKLINE(C>=O,C,H,0.1,0),COLORRED;
TTZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 {AND TTZF>=ZF};
STICKLINE(TTZF>=2.50 ,O ,C ,8,0),COLOR00FFFF;
中轨:HHV(MA(H,11),15),COLORRED;
趋势:LLV(MA(H,11),1),COLORGREEN;
-------------------------------------------------------
----------------------------------------------------------
红鸟庄家抄底王:
INPUT:周期(15,1,100), 过滤(8,1,100),选股(-26, -30,-20),抄底(-40,-50,-25);
售价一万五千元:0,ColorFF00FF,POINTDOT;
VAR2:=MA(CLOSE,5);
VAR3:=MA(CLOSE,10);
VAR4:=MA(CLOSE,20);
VAR5:=MA(CLOSE,30);
VAR6:=(VAR2+VAR3+VAR4+VAR5)/(4);
VAR7:=((VAR6-REF(VAR6,周期))/(REF(VAR6,周期)))*(100);
VAR8:=((VAR6-REF(VAR6,周期))/(REF(VAR6,周期)))*(100);
VAR9:=EMA(VAR7,过滤);
红包:IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),10,(-5)),Color00FF00;
反转:STICKLINE(Var9>1*REF(Var9, 1), Var7, 0, 5, 0), COLOREE00EE;
持股:STICKLINE(Var7>1*REF(Var7, 1), Var7, Var9, 5, 0), COLORRED;
持币:STICKLINE(Var7<1*REF(Var7, 1), Var7, Var9, 5, 1), COLORGREEN;
洗盘:STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1), Var7, Var9, 10, 0), COLOR00EEFF;
VAR10:=((CLOSE-MA(CLOSE,58))/(MA(CLOSE,58)))*(100);
VAR11:=((VAR10>(1)*(REF(VAR10,1))) AND (VAR10<选股) AND (VAR10>抄底))*(1.5);
VAR12:=((VOL)/(CAPITAL))*(100);
VAR13:=LLVBARS(LOW,50);
VAR14:=SUM(VOL,VAR13);
VAR15:=HHVBARS(HIGH,50);
VAR16:=SUM(VOL,VAR15);
VAR17:=((CLOSE-REF(OPEN,VAR15))/(REF(OPEN,VAR15)))*(100);
VAR18:=((VAR16)/(CAPITAL))*(100);
VAR19:=((CLOSE-REF(OPEN,VAR13))/(REF(OPEN,VAR13)))*(100);
VAR20:=((VAR14)/(CAPITAL))*(100);
VAR21:=MA(CLOSE,3);
VAR22:=(REF(CLOSE,2))*(0.86500001);
VAR23:=(REF(CLOSE,13))*(0.77200001);
VAR24:=MIN(VAR22,VAR23);
VAR25:=MA(CLOSE,13);
抄底王:(IF(((CLOSE-VAR24)/(CLOSE)<0.02999999) AND (VAR17<(-35)) AND ((SUM(VAR12,5))/(5)<1.8),1,0))*(10),ColorFFFFFF;
DRAWTEXT(抄底王, 抄底王, ' 成功率90追 '), COLORFFAA00;
VAR26:=((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(100);
VAR27:=(EMA(CLOSE,12)-EMA(CLOSE,26))*(100);
VAR28:=EMA(VAR27,9);
VAR29:=(2)*(VAR27-VAR28);
DRAWTEXT(Var27<(-50) AND Var26>7 AND Var27
STICKLINE(Var27<(-50) AND Var26>7, 0,(-10), 5, 0), COLORFFFF66;