以下是股市藏宝之指标公式 源码和使用说明
股市藏宝之抄底选股指标公式 源码:
MA1:=MA(CLOSE,20);
MA2:=MA(CLOSE,40);
MA3:=MA(CLOSE,60);
{A1:=(OPEN MA1ANDOPEN MA2)OR(OPEN MA2ANDOPEN MA3)OR(OPEN MA1ANDOPEN MA3);}
A1:=OPEN MA1OROPEN MA2OROPEN
A2:=C MAX(MA1,MAX(MA2,MA3));
A3:=V/MA(V,30)
A4:=C/REF(C,1) 1.049;
TJ:A1ANDA2ANDA3ANDA4;
VAR1:=1/WINNER(CLOSE);
VAR2:=ma(CLOSE,13);
VAR3:=100-Abs((CLOSE-VAR2)/VAR2*100);
VAR4:=LLV(LOW,75);
VAR5:=HHV(HIGH,75);
VAR6:=(VAR5-VAR4)/100;
VAR7:=SMA((CLOSE-VAR4)/VAR6,20,1);
VAR8:=SMA((OPEN-VAR4)/VAR6,20,1);
VAR9:=3*VAR7-2*SMA(VAR7,15,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=100-VARA;
VARC:=IF(900101 DATEANDDATE 9999999,1,0);
出货量:=MA(WINNER(CLOSE*0.95)*100,3)*VARC,COLORYELLOW;
VARD:=出货量 VAR3;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=ema(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18 =25ANDVAR19 -95ANDVAR1F 20ANDVAR1B -30ANDVAR1E 30ANDVAR11-CLOSE =-0.25ANDVAR15 22ANDVAR16 28ANDVAR17
抄底:crOSS(VAR20,0.5)ANDCOUNT(VAR20=1,10)=1;
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*Sma(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
线:EMA(VAR1,8);
趋势:MA(趋势线,8);
阶段底部:IF(趋势线 5,45,0);
抓住机会:IF(crOSS(趋势线,5),100,0),COLORYELLOW;
VAR3:=(C+H+L+O)/4;
VAR4:=LLV(L,34);
VAR5:=HHV(H,34);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,8);
VAR7:=EMA(VAR6,5);
stICKLINE((VAR6-VAR7) 0,VAR6,VAR7,8,1),COLORRED;
STICKLINE((VAR6-VAR7) 0,VAR6,VAR7,8,1),COLORGREEN;
买:IF(CROSS(趋势线,趋势均线)AND趋势线 15,50,0),COLORRED;
卖:IF(CROSS(趋势均线,趋势线)AND趋势线 80,50,100),COLORGREEN;
顶部区域:STICKLINE(VAR7 80,100,105,10,1),COLORCYAN;
底部区域:STICKLINE(VAR7 20,-5,0,8,1),COLORYELLOW;
判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);
买参考:IF(FILTER(CROSS(判断,趋势线)=1OR判断 REF(判断,1),10)AND判断
25,35,1),COLORWHITE,POINTDOT;
STICKLINE(FILTER(CROSS(判断,趋势线)=1OR判断 REF(判断,1),10)AND判断
25,35,0,4,1),COLORWHITE;
卖参考:IF(FILTER(判断 REF(判断,1)AND判断
65,5),80,70),COLOR00FF00,POINTDOT;
STICKLINE(FILTER(判断 REF(判断,1)AND判断
65,5),80,70,4,0),COLOR00FF00;
股市藏宝之抄底选股指标公式 截图