同花顺股票公式

时间:2023-03-03 06:10:27 股票 我要投稿
  • 相关推荐

同花顺股票公式大全汇总

  同花顺跟踪主力指标公式

  VAR1:=PEAKBARS(2,13,1)《10;

  VAR2:=IF(VAR1=1,2,0);

  顶1:= IF(VAR2=2,1,0);

  顶B:IF(顶1》REF(顶1,1),78,100,0),colorgreen,linethick2;

  var3:=PEAKBARS(3,8,1)《10;

  var5:=IF(var3=1,2,0);

  顶:= IF(var5=2,1,0);

  顶A:IF(顶》REF(顶,1),78,100,0),coloryellow,linethick2;

  DRAWTEXT(顶A=5,4.5,‘↓’),coloryellow;

  VARC:=(ZIG(3,8)》REF(ZIG(3,8),1)) AND (REF(ZIG(3,8),1)《=REF(ZIG(3,8),2)) AND (REF(ZIG

  (3,8),2)《=REF(ZIG(3,8),3));

  STICKLINE((VARC=1),18,0,8,1),colormagenta;

  DRAWTEXT((VARC=1),8,‘+买股票’),colorwhite;

  LL:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);

  FILLRGN(LL,90,LL》90,RGB(0,255,0),RGB(255,0,0));

  FILLRGN(LL,10,LL《10,RGB(255,0,0),RGB(0,255,0));

  风险值:EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),LINETHICK2,colorcyan;

  预警:90,,LINETHICK;

  安全区:10,,LINETHICK;

  N1:=9;N2:=5;

  MTM:=C-REF(C,1);

  ZLGJ:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),colorwhite;

  MAZL:MA(ZLGJ,N2),coloryellow;

  VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

  VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);

  VAR3:=EMA(VAR2,10);

  VAR4:=LLV(LOW,33);

  VAR5:=EMA(IF(LOW《=VAR4,VAR3,0),3);

  主力进场:IF(VAR5》REF(VAR5,1),VAR5,0),colorred,NODRAW;

  STICKLINE(VAR5》REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;

  STICKLINE(VAR5》REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;

  STICKLINE(VAR5》REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;

  STICKLINE(VAR5》REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;

  STICKLINE(VAR5》REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;

  STICKLINE(VAR5》REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;

  Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

  Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

  Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;

  Var6:=(Var3+Var4+Var5)/3;

  Var7:=EMA(Var6,5);

  指标: EMA(EMA(Var3,5),5)*3, COLORSTICK;

  Var8:=IF(Var6《=-20,10,0);

  Var9:=HHV(Var8,10);

  STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;

  VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

  K:EMA(Var7,5)*2, COLORff00ff;

  D:EMA(K,5), colorwhite;

  J:K*3-D*2, coloryellow;

  VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J》10;

  换手: VOL/CAPITAL*100,colorgreen;

  DRAWTEXT(VarA=20,15,‘底部’),linethick1,colorwhite;

  STICKLINE((VarA=20),0,10,5,0),colorwhite;

  VARC:=(ZIG(3,5)》REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)《=REF(ZIG(3,5),2))

  AND (REF(ZIG

  (3,5),2)《=REF(ZIG(3,5),3));

  VARD:=(ZIG(3,5)《REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)》=REF(ZIG(3,5),2))

  AND (REF(ZIG

  (3,5),2)》=REF(ZIG(3,5),3));

  STICKLINE((VARC=1),(-14),0,4,0),Color0000FF;

  DRAWTEXT((VARC=1),(-14),‘买股票’),Color0000FF;

  STICKLINE((VARD=1),14,0,4,0),Color00FF00;

  DRAWTEXT((VARD=1),18,‘卖股票’),Color00FF00;

  VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

  VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

  ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

  Var10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

  ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

  Var11:=VarF《REF(Var10,1) AND VOL》REF(VOL,1) AND CLOSE》REF(CLOSE,1);

  DRAWTEXT(Var11 AND COUNT(Var11,30)=1,15,‘大资金活动’),linethick1,COLORff00ff;

  STICKLINE(Var11 AND COUNT(Var11,30)=1,1,10,5,0),colorff00ff;

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

  Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));

  Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));

  Var15:=IF(Var13》=150 AND Var13《200 AND Var14》=150 AND Var14《200,10,0);

  Var16:=IF(Var13《=-150 AND Var13》-200 AND Var14《=-150 AND

  Var14》-200,-10,Var15);

  Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

  Var18:=100-ABS(Var17);

  Var19:=IF(Var18《90,Var18,100);

  Var1A:=IF(VarE》0,VarE,0);

  Var1B:=IF(Var14》=200 AND Var13》=150,15,IF(Var14《=-200 AND

  Var13《=-150,-15,Var16))+60;

  Var1C:=Var1A》48 AND Var1B》60 AND Var19《100;

  DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15,‘大笔出货’),linethick1,COLORffcc66;

  STICKLINE(Var1C AND COUNT(Var1C,30)=1,0,10,5,0),colorffcc66;

  同花顺即将拉升指标公式

  DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

  DEA:=EMA(DIFF,9);

  RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

  K:=SMA(RSV,3,1);

  D:=SMA(K,3,1);

  J1:=DIFF;

  J2:=DEA;

  J3:=K;

  J4:=D;

  VL:=REF(LOW,1); VH:=REF(H,1);

  VAR1:=SMA(ABS(H-VH),13,1)/SMA(MAX(H-VH,0),13,1)*100;

  VAR2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;

  VAR3:=REF(CLOSE,1);

  VAR4:=MA(VAR2,13);

  VAR5:=LLV(L,34);

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

  VAR7:=CROSS(93,VAR6);

  VAR8:=EMA(IF(L《=VAR5,VAR4,0),3);

  VAR9:=H》LLV(L,0)*7;

  VAR10:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));

  VAR11:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (VAR10 * 10.9);

  T:=FILTER(IF(VAR11《=VAR10 AND VAR8》REF(VAR8,1),VAR8*8,0),20);

  将要拉升:T,LINETHICK4,STICK;

  注意洗盘:FILTER(IF(CROSS(J4,J3) AND SUM(J1》REF(J1,1),3)》3,CROSS(J4,J3) AND CROSS(J2,J1),0),13),STICK,LINETHICK3;

  加速升:FILTER(CROSS(J1,J2) AND VOL》REF(SUM(VOL,5),1),3),STICK,LINETHICK3;

  逃跑:FILTER(VAR7 AND C/(REF(C,1)-1)*100=5 AND VAR9 AND VOL》REF(SUM(VOL,3),1),5),STICK,LINETHICK3;

  风险:FILTER(VAR9 AND CROSS(J4,J3) AND C/(REF(C,1)-1)*100=5,22),STICK,LINETHICK3;

  DRAWTEXT(注意洗盘,注意洗盘,‘注意洗盘’);

  DRAWTEXT(T,T*0.90,‘将要拉升’);

  DRAWTEXT(加速升,加速升*0.90,‘加速升’);

  DRAWTEXT(逃跑,逃跑*0.90,‘逃跑’);

  DRAWTEXT(风险,风险*0.90,‘风险’);

  同花顺股票公式之必涨指标

  VAR3:=LLV(HIGH,240);

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

  VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;

  VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;

  VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;

  VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;

  VARA:=BARSCOUNT(CLOSE);

  VARB:=VAR8《20 AND VAR9《23 AND VARA》35;

  VARC:=VARB AND COUNT(VARB,1)=1;

  VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);

  VARE:=EMA(VARD,5);

  VARF:=TROUGHBARS(3,6,1)《4 AND CROSS(VARD,VARE);

  VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH》LOW+0.04,4,0);

  VAR11:=ZIG(3,6)》REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)《=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)《=REF(ZIG(3,6),3);

  VAR12:=ZIG(3,6)《REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)》=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)》=REF(ZIG(3,6),3);

  VAR13:=ZIG(3,22)》REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)《=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)《=REF(ZIG(3,22),3);

  VAR14:=ZIG(3,22)《REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)》=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)》=REF(ZIG(3,22),3);

  VAR15:=ZIG(3,51)》REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)《=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)《=REF(ZIG(3,51),3);

  VAR16:=ZIG(3,51)《REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)》=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)》=REF(ZIG(3,51),3);

  VAR17:=ZIG(3,72)》REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)《=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)《=REF(ZIG(3,72),3);

  VAR18:=ZIG(3,72)《REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)》=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)》=REF(ZIG(3,72),3);

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

  VAR1A:=EMA(VAR19,100);

  VAR1B:=2*(VAR19-VAR1A);

  VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);

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

  VAR1E:=EMA(VAR1D*0.97,3);

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

  VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));

  VAR21:=CROSS(VAR1E,LOW);

  选股买点: VAR10, coloryellow;

  组合买: (VAR11+VAR13+VAR15+VAR17), colorred;

  组合卖: (VAR12+VAR14+VAR16+VAR18), colorgreen;

  黑马线: IF(MONTH《2008 AND VAR1B》0.1,VAR1C,0)*1, COLOR6699CC;

  黑马信号介入点: 选股买点 AND VARF AND VARC AND VAR21 AND VAR4《0 AND VAR5《2 AND VAR6=0, COLORFFFF99;

  DRAWTEXT(VAR13,0.6,‘●’), colorred;

  DRAWICON(组合买,组合买,1);

  DRAWICON(组合卖,组合卖,9);

  DRAWTEXT(黑马信号介入点》0,4.5,‘●我的黑马介入点’), colorred;

  DRAWICON(选股买点》0,4.2,1);

  DRAWTEXT(选股买点 AND VARF AND VARC,2.8,‘ 30%下单莫错过!’), colormagenta;

  DRAWTEXT(VAR18,3,‘空仓’), colorgreen;

  DRAWTEXT(VAR20《-110 AND 选股买点》0,2,‘选股买点’), coloryellow;

  DRAWTEXT(VAR17,1.3,‘发现黑马’), COLORFF6600;

  DRAWTEXT(选股买点 AND VAR20《-100 AND VARF AND VARC》0,4.1,‘组合5分钟线选股思路获利5%以上’), colorred;

  -10;

  同花顺股票公式之理想主图

  理想主图

  A5:=MA(C,5);

  MA10:=MA(C,10)COLORRED LINETHICK2;

  MA20:=MA(C,20);

  MA135:=MA(C,135);

  VOL5:=MA(V,3);

  VOL10:=MA(V,5);

  多:EMA(C,3),COLORYELLOW;

  空:EMA(C,10),COLOR00FF00;

  均衡:EMA(空,5),COLORWHITE,;

  VARF1:=COUNT(CROSS(多,均衡),2)=1;

  VARF2:=COUNT(CROSS(空,均衡),2)=1;

  ZAI:=FILTER(VARF1 AND VARF2,2);

  DRAWTEXT(ZAI,均衡,‘主升↑’),COLORFF00FF;

  VV2:=REF(CLOSE,1);

  VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;

  DRAWICON(REF(VV3,1)》81 AND VV3《80,HIGH,2);

  DRAWTEXT(REF(VV3,1)》81 AND VV3《80,HIGH*1.003,‘沽空↓’),COLORYELLOW;

  VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;

  DRAWTEXT(IF(CLOSE《VF1 AND VOL/240》MA(VOL,5)/240 AND CLOSE》=REF(CLOSE,1)*1.08 AND CLOSE《MA(CLOSE,13)*1.3,1,0),LOW,‘☆’),COLORRED;

  VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;

  VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);

  DRAWTEXT(IF(VOL》=1.3*MA(VOL,5) AND COUNT(VARA》=VARB AND VARA《-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,‘注意买入’);

  VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;

  DRAWICON(CROSS(82,VARR1),HIGH,2);

  DRAWTEXT(CROSS(82,VARR1),HIGH,‘短空↓’),COLORYELLOW;

  VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;

  VAR2:=REF(VAR1,1);

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

  HY3:=IF(COUNT(VAR3《20,5)》=1 AND COUNT(VAR1=LLV(VAR1,10),10)》=1 AND CLOSE》=OPEN*1.038 AND VOL》MA(VOL,5)*1.2,1,0);

  DRAWTEXT(HY3,LOW,‘注意买入’),COLORRED;

  S:=MA(VOL,5)/MA(VOL,60),COLORWHITE,,LINETHICK3;

  A:=MA(S,5),COLORGREEN,,LINETHICK2;

  BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;

  F:=MA(S,121);

  RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;

  K:=SMA(RSV,15,1);

  D:=SMA(K,15,1);

  J:=3*K-2*D;

  LC:=REF(CLOSE,1);

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

  DRAWTEXT(CROSS(84,RSI) , HIGH*1.0006,‘逃顶!’),COLORYELLOW ;

  S1:=IF((J《11 AND BIAS》-11 AND CROSS( S,F) AND (S-F)》0.010),2,0),STICK,LINETHICK3,COLORGREEN;

  DRAWTEXT(S1=2,LOW,‘关注’), COLORGREEN;

  中轨:HHV(MA(H,13),13),COLORRED,LINETHICK2;

  趋势:LLV(MA(H,13),1),COLORGREEN,LINETHICK2;

  年线:EMA(C,250),COLORYELLOW,LINETHICK2;

  MA60:EMA(CLOSE,60),COLORWHITE LINETHICK3;

  BOLL:=MA(CLOSE,20)COLORWHITE LINETHICK2;

  UPPER:=BOLL+2*STD(CLOSE,20);

  LOWER:=BOLL-2*STD(CLOSE,20);

  MA120:EMA(CLOSE,120),POINTDOT,LINETHICK4,COLORRED;

  线:=EMA(C,10),COLORRED,LINETHICK1;线5:=EMA(C,5),COLORYELLOW,LINETHICK1

  同花顺股票公式之火焰山股票指标公式

  r1:=EMA(HHV(HIGH,500),21);

  Var2:=EMA(HHV(HIGH,250),21);

  Var3:=EMA(HHV(HIGH,90),21);

  Var4:=EMA(LLV(LOW,500),21);

  Var5:=EMA(LLV(LOW,250),21);

  Var6:=EMA(LLV(LOW,90),21);

  Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);

  Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);

  Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);

  VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);

  VarB:=REF(LOW,1);

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

  VarD:=EMA(IF(CLOSE*1.35《=VarA,VarC*10,VarC/10),3);

  VarE:=LLV(LOW,30);

  VarF:=HHV(VarD,30);

  Var10:=IF(MA(CLOSE,58),1,0);

  火焰山:EMA(IF(LOW《=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;

  火焰: STICKLINE(火焰山》0,0,火焰山,4,1);

  今量:火焰山;

  STICKLINE(火焰山》0,0,今量*1.2,8,0),COLOR0000ff;

  STICKLINE(火焰山》0,0,今量*0.8,8,0),COLOR0066ff;

  STICKLINE(火焰山》0,0,今量*0.6,8,0),COLOR0099ff;

  STICKLINE(火焰山》0,0,今量*0.4,8,0),COLOR00ccff;

  STICKLINE(火焰山》0,0,今量*0.2,8,0),COLOR00ffff;

  同花顺股票公式之大黑马选股

  R1:=EMA(VOL/CAPITAL,3);VAR2:=HHV(VAR1,240);VAR3:=LLV(VAR1,240);

  VAR4:=MA(CLOSE,33);VAR5:=EMA(CLOSE,13)-EMA(CLOSE,26);

  VAR6:=EMA(VAR5,9);VAR7:=2*(VAR5-VAR6);

  VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

  VAR9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;

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

  VARB:=SMA(VAR8,3,1);VARC:=SMA(VAR9,15,1);

  VARD:=SMA(VARA,45,1);VARE:=(VARD-REF(VARD,1))*50;

  VARF:=(VARC-REF(VARC,1))*10;VAR10:=REF(VARC,1)-REF(VARD,1);

  VAR11:=(VARC-VAR10-VARD)*30;VAR12:=VARB-REF(VARB,1);

  固定筹码:

  EMA((VAR1-VAR3)/VAR3*VAR4,13);

  移动筹码: EMA((VAR2-VAR1)/VAR1*VAR4,13);

  多空对比:

  固定筹码-移动筹码, COLORSTICK;

  VAR13:=VAR7》=-0.035 AND VAR7《=0.045 AND

  CLOSE》MA(CLOSE,5)

  AND CLOSE》MA(CLOSE,10) AND 多空对比》-100;

  大黑马:

  IF(VAR13 AND VAR12》7 AND REF(VAR12,1)《0

  AND

  VAR12-REF(VAR12,1)》9,1,0),LINETHICK3 ,

  COLOR00FFFF;

  STICKLINE(大黑马,0,固定筹码,5,0),LINETHICK3 ,

  COLOR00FFFF;

  DRAWICON(大黑马,固定筹码*1.1,5);

【同花顺股票公式】相关文章:

关于股票走势对股票的影响12-14

股票介绍12-15

何为股票通道12-17

股票的相关信息12-17

股票成交的原则12-17

股票怎样上市12-16

股票如何上市06-07

股票交割的方式12-15

股票过户流程12-15

股票回购含义12-15