炒股指标

显示 收起

同花顺抄底做多做空逃顶指标公式

同花顺抄底做多做空逃顶指标公式:

N:=5;
 VAR1:=1;

VAR3:=LLV(HIGH,240);

VAR4:=100*(CLOSE-VAR3)/VAR3*VAR1;

VAR5:=REF(LLV(CLOSE,480),1)*VAR1;

VAR6:=REF(HHV(CLOSE,480),1)*VAR1;

VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;

VAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1;

VAR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*VAR1;

VARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*VAR1;

VARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1;

VARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*VAR1;

VARD:=IF(VARC>23.16,VARC,0)*VAR1;

VARE:=VARC<1*VAR1;

VARF:=VARD*VAR1;

VAR10:=VAR4<0 AND VAR7<0;

VAR11:=1;

VAR12:=(HIGH+LOW+CLOSE*2)/4*VAR11;

VAR13:=EMA(VAR12,21);

VAR14:=STD(VAR12,21);

VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11;

VAR16:=(EMA(VAR15,89)-25)*1.56*VAR11;

VAR17:=EMA(VAR16,5)*1.22*VAR11;

VAR18:=EMA(VAR17,3)*VAR11;

VAR19:=3*VAR17-2*VAR18*VAR11;

VAR1A:=IF(CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18) AND CROSS(VAR17,VAR18),1,0);

VAR1B:=IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND CROSS(VAR18,VAR17),1,0);

VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VAR1;

VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VAR1;

VAR1E:=EMA(VAR1D,30)*VAR1;

VAR1F:=2*(VAR1D-VAR1E)*10*VAR1;

VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2)*VAR1;

VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

VAR22:=EMA(VAR21*0.97,3)*VAR1;

VAR23:=(HIGH+LOW+CLOSE)/3*VAR1;

VAR24:=(VAR23-MA(VAR23,14))/(0.015*AVEDEV(VAR23,14))*VAR1;

VAR25:=IF(VAR1F>0.015,VAR20,0)/45*VAR1;

拉升: VAR25,LINETHICK4,coloryellow;

VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);

VAR27:=EMA(VAR26,100);

VAR28:=2*(VAR26-VAR27);

VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);

VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

VAR2B:=EMA(VAR2A*0.97,3);

VAR2C:=(HIGH+LOW+CLOSE)/3;

VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));

主力:IF(VAR28>0.1,VAR29,0)*5,LINETHICK1,COLORFF00FF;

买点:=IF(FILTER(VAR8=0 AND VARE AND VAR10 AND VAR1A,5)=1,10,0),colorcyan;

DRAWTEXT(CROSS(拉升,0.001)AND 主力>0,拉升,""),colorwhite;

卖点:=IF(FILTER(VAR8=100 AND VARF AND VAR1B,5)=1,100,0),colorgreen;

DRAWTEXT (CROSS(买点,1),5000,''),LINETHICK1,colorgray;

DRAWICON(买点,55,11);

VAR2:=REF(LOW,1);

VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;

VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);

VAR5:=LLV(LOW,13);

VAR6:=HHV(VAR4,13);

VAR7:=IF(MA(CLOSE,34),1,0);

VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

VAR9:=IF(VAR8>100,100,VAR8);

VAR10:=IF(VAR9>-120,VAR9,0);

VAR11:=VAR10<REF(VAR10,1);

DRAWTEXT(VAR11 AND REF(NOT(VAR11),1),VAR9,''),colorgray;

VAR12:=SMA(((HHV(CLOSE,13) - CLOSE) / (HHV(CLOSE,13) - LLV(CLOSE,13))),5,1);

高:((10/VAR12)-10)/5,COLORSTICK,colorgreen;

STICKLINE((高 >24),0,高,3,1),LINETHICK2,colorgreen;

VARA:=EMA(REF(CLOSE,1),4);

VAR1:=REF(CLOSE,2);

弹:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100),LINETHICK0,colorFFFF;

中参:IF((弹 < 12),95,0),LINETHICK1,colorwhite;

DRAWTEXT(CROSS(中参,1),96,'中'),LINETHICK1,colorwhite;

Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

Var2:=SMA(Var1,3,1);

Var3:=SMA(Var2,3,1);

Var4:=SMA(Var3,3,1);

Var6:=CROSS(Var3,Var4) AND Var3<20;

STICKLINE(FILTER(Var6,10)=1,0,87,10,0),LINETHICK1,colorred;

DRAWTEXT(FILTER(Var6,10),91,'周'),LINETHICK2,colorred;

Var7:=CROSS(Var4,Var3) AND Var3>80;

STICKLINE(FILTER(Var7,5)=1,88,100,10,0),LINETHICK6,colorgreen;

DRAWTEXT(FILTER(VAR7,5),98,'暴涨后见顶'),,LINETHICK1,colormagenta;

Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4;

STICKLINE(Var8,94,100,10,0);90;0,LINETHICK2,coloryellow;

DRAWTEXT(FILTER(Var8,94,100,10,0),94,'峰1'),LINETHICK1,coloryellow;

VAR1:=REF(LOW,1);

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;

卖:=CROSS(85,RSI1)*30,colorblue,LINETHICK2;

STICKLINE(卖,0,60,3,0),LINETHICK2,colorgreen;

DRAWTEXT(CROSS(85,RSI1),65,'卖'),LINETHICK1,colorgreen;

抄底:DMA(EMA(C,60),SUM(V,60)/CAPITAL)*POW(IF(C>60,100,10),6)/EXP(2*H-L/3)/2;

零层:0, ,linethick1,colorwhite;

同花顺抄底做多做空逃顶指标公式实例图解: