最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 同花顺公式 > 今日同花顺股票公式:同花顺极品指标公式源码(十个)

今日同花顺股票公式:同花顺极品指标公式源码(十个)

来源:网络 点击: 时间:2022-12-31 11:49:13

带来今日同花顺股票公式:同花顺极品指标公式源码(十个)。

  股价趋势: 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),LINETHICK0;

  底部警戒: 10,colorred,linethick2;

  买入警戒:STICKLINE(股价趋势《=10,0,20,2,0),color008364,linethick2;

  买入信号: STICKLINE(CROSS(股价趋势,底部警戒),0,30,3,0),colorred,linethick5;

  顶部警戒: 90,colorgreen,linethick2;

  卖出警戒:STICKLINE(股价趋势》=85,100,80,2,0),STICK,colorF00FF0,linethick2;

  止损出局:STICKLINE(CROSS(顶部警戒,股价趋势),100,70,3,0),colorfff666,linethick5;

  多方趋势:7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)

  -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)

  -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1),Color8811FF;

  突击套利线:=14;

  套利阻力线:=78.89;

  抄底:=CROSS(多方趋势,突击套利线);

  逃顶:=CROSS(套利阻力线,多方趋势);

  DRAWICON(抄底,多方趋势,1);

  DRAWICON(逃顶,多方趋势,2);

  突击队1:=REF(LOW,1);

  突击队2:=SMA(ABS(LOW-突击队1),3,1)/SMA(MAX(LOW-突击队1,0),3,1)*100;

  突击队3:=EMA(IF(CLOSE*1.2,突击队2*10,突击队2/10),3);

  突击队4:=LLV(LOW,38);

  突击队5:=HHV(突击队3,38);

  突击队6:=IF(LLV(LOW,90),1,0);

  突击队7:=EMA(IF(LOW《=突击队4,(突击队3+突击队5*2)/2,0),3)/618*突击队6;

  突击队8:=MA(LOW,2)*0.98;

  突击队9:=MA(LOW,26)*0.84;

  突击队10:=REF(突击队8,1)《突击队9 AND REF(突击队8,1)《突击队8 AND REF(突击队8,1)《REF(突击队8,2);

  STICKLINE(突击队10,0,突击队7*3,4,0),colorred;

  DRAWTEXT(突击队10,突击队7*2,‘突击’),coloryellow;

  DRAWICON(突击队10,0,4),colorred,;

  C/C++ Code复制内容到剪贴板

  大盘生命

  N=34

  K=3

  大盘生命指数: EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),K)/4, STICK;

  大盘生命量能: IF(DATE《1020501,IF(大盘生命指数》23.16,大盘生命指数,0),0), CIRCLEDOT;

  强势: 21;

  生命分水岭: 10;

  C/C++ Code复制内容到剪贴板

  介入

  var1:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);

  var2:=SMA(var1,13,8);

  走势:SMA(var2,13,8);

  介入:IF(REF(走势,1)《30 AND 走势》REF(走势,1) AND REF(走势,1)《=REF(走势,2),50,0);

  C/C++ Code复制内容到剪贴板

  新编OBV

  v1:=SUM(IF(CLOSE》REF(CLOSE,1),V,IF(CLOSE》REF(CLOSE,1),V,0)),0);

  v2:=SUM(IF(CLOSE《REF(CLOSE,1),-V,IF(CLOSE《REF(CLOSE,1),V,0)),0);

  v3:=(v2/v1*10);

  v4:LLV(v3,6),colorblue;

  OBV::(v3/v4*v3),colorred;

  V6:HHV(v4,13),colorgreen;LLV(v3,6),COLORffff00;

  新编OBV===用法:

  1.股价上升,SOBV线下降,显示买盘无力

  2.股价下跌,SOBV线上升,显示买盘旺盛,反弹有望

  3.SOBV缓慢上升,显示买盘渐强,买进信号

  4.SOBV急速上升,显示买盘力量将尽,卖出信号

  5.SOBV线由正转负,为下跌趋势,卖出信号;反之,买进信号

  6.SOBV线长用于观察股价何时脱离盘局及突破后的未来走势

  C/C++ Code复制内容到剪贴板

  超前MACD

  SQX:=(C-MA(CLOSE,13))*100;

  diff:EMA(MA(sqx,7),1),colorred;

  dea:EMA(diff,7),colorgreen;

  MACD:(diff-dea)*2,COLORSTICK;

  低位金*:IF(CROSS(DIFF,DEA) AND DIFF《-0.1,0.3,0),coloryellow,POINTDOT;

  STICKLINE(低位金*,0,15,8,0),coloryellow;

  DRAWICON(低位金*,0.3,1);

  JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA》=0));二次金*:

  IF(CROSS(DIFF,DEA) AND DEA《0 AND COUNT(JCCOUNT=2,21)=1,0.2,0),COLORff00ff,POINTDOT;

  STICKLINE(二次金*,30,15,8,0),COLORff00ff;

  A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

  底背离:IF(REF(CLOSE,A1+1)》CLOSE AND DIFF》REF(DIFF,A1+1) AND CROSS(DIFF,DEA),0.1,0),colorred,POINTDOT;

  STICKLINE(底背离,45,30,8,0),colorred;

  DRAWLINE(A1=0,DEA,底背离,DEA,0),colorgreen;

  A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

  顶背离:REF(CLOSE,A2+1)《CLOSE AND REF(DIFF,A2+1)》DIFF AND CROSS(DEA,DIFF),colorgreen;

  DRAWLINE(A2=0,DEA,顶背离,DEA,0),colorgreen;

  A3:=CROSS(DIFF,DEA) AND DEA《0;

  零下二次金*:IF(FILTER(COUNT(A3,21)=2,10),0.05,0),colorwhite,POINTDOT;

  STICKLINE(零下二次金*,45,60,8,0),colorwhite;

  C/C++ Code复制内容到剪贴板

  快马加鞭(副图)同花顺可用

  上:=(SMA(HIGH,21,2) * 1.05);

  下轨道:=(SMA(LOW,21,2) * 0.969),POINTDOT,colorFFFF00;

  阻挡:=(SMA(HIGH,21,2) * 1.05);

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

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

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

  J:=((3 * K) - (2 * D));

  RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);

  K12:=SMA(RSV12,3,1);

  D12:=SMA(K12,3,1);

  J12:=((3 * K12) - (2 * D12));

  RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);

  K24:=SMA(RSV24,3,1);

  D24:=SMA(K24,3,1);

  J24:=((3 * K24) - (2 * D24));

  支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));

  压力位:=IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),colorFF00ff;

  U2L:=IF((CLOSE 》= MA(CLOSE,20)),80,50);

  L2L:=IF((CLOSE 》= MA(CLOSE,20)),50,20);

  RH1:=IF(((J 《 U2L) AND (REF(J,1) 》= U2L)),HHV(REF(HIGH,1),(BARSLAST(((J 》= U2L) AND (REF(J,1) 《 U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J 》= U2L) AND (REF(J,1) 《 U2L))) - 1)),BARSLAST(((J 《 U2L) AND REF(J,1)))));

  RH4:=IF((HIGH 》 RH1),LOW,REF(LOW,BARSLAST((HIGH 》 RH1))));

  RH42:=IF((HIGH 》 RH1),J,REF(J,BARSLAST((HIGH 》 RH1))));

  RH5:=IF((((HIGH 》 RH4) AND (J 《 RH42)) AND (J 《 J24)),HIGH,REF(HIGH,BARSLAST((((HIGH 》 RH4) AND (J 《 RH42)) AND (J 《 J24)))));

  RL1:=IF(((J 》 L2L) AND (REF(J,1) 《= L2L)),LLV(REF(LOW,1),(BARSLAST(((J 《= L2L) AND (REF(J,1) 》 L2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((J 《= L2L) AND (REF(J,1) 》 L2L))) - 1)),BARSLAST(((J 》 L2L) AND REF(J,1)))));

  RL4:=IF((LOW 《 RL1),HIGH,REF(HIGH,BARSLAST((LOW 《 RL1))));

  RL42:=IF((LOW 《 RL1),J,REF(J,BARSLAST((LOW 《 RL1))));

  RL5:=IF((((LOW 《 RL4) AND (J 》 RL42)) AND (J 》 J24)),LOW,REF(LOW,BARSLAST((((LOW 《 RL4) AND (J 》 RL42)) AND (J 》 J24)))));

  黑马趋势:=MA(CLOSE,3);

  AA5:=MA(CLOSE,21);

  AA10:=MA(CLOSE,8),colorFF0000;

  追击:FILTER(((((((CLOSE / OPEN) 》 1.04) AND ((CLOSE - REF(CLOSE,1)) 》 0)) AND (CLOSE 》 下轨道)) AND ((AA10 - REF(AA10,1)) 》 0)) AND (CLOSE 《 上)),3)*10,linethick0;

  STICKLINE(FILTER(((((((CLOSE / OPEN) 》 1.04) AND ((CLOSE - REF(CLOSE,1)) 》 0)) AND (CLOSE 》 下轨道)) AND ((AA10 - REF(AA10,1)) 》 0)) AND (CLOSE 《 上)),3),10,0,8,0),colorred;

  DRAWTEXT(FILTER(((((((CLOSE / OPEN) 》 1.04) AND ((CLOSE - REF(CLOSE,1)) 》 0)) AND (CLOSE 》 下轨道)) AND ((AA10 - REF(AA10,1)) 》 0)) AND (CLOSE 《 上)),3),10,‘追击’),colorD1E768;

  VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);

  支撑:=EMA(VARD,5);

  短期底部:=LLV(OPEN,30);

  机会难得:FILTER((((((((LOW 《= 短期底部) AND ((CLOSE - REF(CLOSE,1)) 》 CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) 》 0)) AND (WINNER(CLOSE) 《 0.05)) AND (短期底部 = RL5)) AND (LOW 《= RL5)) AND (HIGH 《 压力位)),3)*8,linethick0;

  STICKLINE(FILTER((((((((LOW 《= 短期底部) AND ((CLOSE - REF(CLOSE,1)) 》 CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) 》 0)) AND (WINNER(CLOSE) 《 0.05)) AND (短期底部 = RL5)) AND (LOW 《= RL5)) AND (HIGH 《 压力位)),3),8,0,8,0),coloryellow;

  DRAWTEXT(FILTER((((((((LOW 《= 短期底部) AND ((CLOSE - REF(CLOSE,1)) 》 CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) 》 0)) AND (WINNER(CLOSE) 《 0.05)) AND (短期底部 = RL5)) AND (LOW 《= RL5)) AND (HIGH 《 压力位)),3),8,‘★机会难得’),colorFFFFFF;

  历史大底:FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) 《 0.08)) AND (LOW 《= 短期底部)) AND (CLOSE 》 短期底部)) AND (J 《 80)) AND ((CLOSE / OPEN) 》 1.08)),20)*12,linethick1 ,colorgreen;

  STICKLINE(FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) 《 0.08)) AND (LOW 《= 短期底部)) AND (CLOSE 》 短期底部)) AND (J 《 80)) AND ((CLOSE / OPEN) 》 1.08)),20),12,0,8,0),colorgreen;

  DRAWTEXT(FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) 《 0.08)) AND (LOW 《= 短期底部)) AND (CLOSE 》 短期底部)) AND (J 《 80)) AND ((CLOSE / OPEN) 》 1.08)),20),LOW,‘★★历史大底’), colorgreen;

  黑马登天:FILTER(((((((((LOW 《= 短期底部) AND (CLOSE 》 压力位)) AND ((AA5 - REF(AA5,1)) 》 0)) AND (J 《 80)) AND (CLOSE 》 支撑位)) AND ((黑马趋势 - REF(黑马趋势,1)) 》 0)) AND (WINNER(CLOSE) 《 0.1)) AND (CLOSE 》 OPEN)),5)*15,linethick0;

  DRAWTEXT(FILTER(((((((((LOW 《= 短期底部) AND (CLOSE 》 压力位)) AND ((AA5 - REF(AA5,1)) 》 0)) AND (J 《 80)) AND (CLOSE 》 支撑位)) AND ((黑马趋势 - REF(黑马趋势,1)) 》 0)) AND (WINNER(CLOSE) 《 0.1)) AND (CLOSE 》 OPEN)),5),(LOW - 0.15),‘★黑马登天’),colorCDEEC5;

  X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);

  X2:=EMA(X1,10);

  均线:=MA(CLOSE,16);

  均线20:=MA(CLOSE,20);

  均线120:=MA(CLOSE,120);

  VA:=CROSS(MA(CLOSE,19),MA(CLOSE,120));

  跳马:FILTER(((((((((OPEN 》 均线120) AND (均线20 《 均线120)) AND (LOW 《= 均线120)) AND ((均线20 - REF(均线20,1)) 》 0)) AND (CLOSE 》 OPEN)) AND ((均线120 - REF(均线120,1)) 》 0)) AND (HIGH 《 RH5)) AND (CLOSE 》= 均线120)),15)*5,color00ff00 ,linethick0;

  DRAWTEXT(FILTER(((((((((OPEN 》 均线120) AND (均线20 《 均线120)) AND (LOW 《= 均线120)) AND ((均线20 - REF(均线20,1)) 》 0)) AND (CLOSE 》 OPEN)) AND ((均线120 - REF(均线120,1)) 》 0)) AND (HIGH 《 RH5)) AND (CLOSE 》= 均线120)),15),LOW,‘★120跳马’),color00ff00;

  宝马望月:((((VA AND ((均线120 - REF(均线120,1)) 》 0)) AND (HIGH 《 RH5)) AND (CLOSE 》 OPEN)))*15,linethick0;

  DRAWTEXT((((VA AND ((均线120 - REF(均线120,1)) 》 0)) AND (HIGH 《 RH5)) AND (CLOSE 》 OPEN)),LOW,‘★宝马望月’),colorFFFFFF;

  三线开花:((((((均线 - REF(均线,1)) 》 0) AND CROSS(均线20,均线120)) AND (LOW 《= 均线120)) AND (CLOSE 》= 均线120)))*3,linethick0;

  DRAWTEXT((((((均线 - REF(均线,1)) 》 0) AND CROSS(均线20,均线120)) AND (LOW 《= 均线120)) AND (CLOSE 》= 均线120)),LOW,‘三线开花’),colorFFFFFF;

  快马加鞭:FILTER(((((((((((OPEN 《 X2) AND (CLOSE 》 X2)) AND ((支撑 - REF(支撑,1)) 》 0)) AND ((支撑 - REF(支撑,1)) 》 0)) AND (CLOSE 《 阻挡)) AND ((均线 - REF(均线,1)) 》 0)) AND (CLOSE 》= 均线)) AND (HIGH 《 阻挡)) AND ((AA10 - REF(AA10,1)) 》 0)) AND ((阻挡 - REF(阻挡,2)) 》 0)),11)*8,linethick0;

  DRAWTEXT(FILTER(((((((((((OPEN 《 X2) AND (CLOSE 》 X2)) AND ((支撑 - REF(支撑,1)) 》 0)) AND ((支撑 - REF(支撑,1)) 》 0)) AND (CLOSE 《 阻挡)) AND ((均线 - REF(均线,1)) 》 0)) AND (CLOSE 》= 均线)) AND (HIGH 《 阻挡)) AND ((AA10 - REF(AA10,1)) 》 0)) AND ((阻挡 - REF(阻挡,2)) 》 0)),11),(LOW - 0.11),‘★快马加鞭’),colorFF0000;

  黑马狂奔:FILTER(((((((OPEN 《 X2) AND (WINNER(CLOSE) 《 0.2)) AND (CLOSE 》 X2)) AND ((X2 - REF(X2,1)) 》 0)) AND (HIGH 《 阻挡)) AND ((CLOSE - REF(CLOSE,1)) 》 0.35)),4)*13,linethick0,colorff00ff;

  DRAWTEXT(FILTER(((((((OPEN 《 X2) AND (WINNER(CLOSE) 《 0.2)) AND (CLOSE 》 X2)) AND ((X2 - REF(X2,1)) 》 0)) AND (HIGH 《 阻挡)) AND ((CLOSE - REF(CLOSE,1)) 》 0.35)),4),(LOW - 0.05),‘★黑马狂奔’),colorff00ff;

  C/C++ Code复制内容到剪贴板

  庄家秘密

  参数:{ 庄家秘密N:1,100,8; M:1,100,13; P:1,100,60; S:1,100,3}

  ==========================

  V1:=(C*2+H+L)/4*10;

  V2:=EMA(V1,13)-EMA(V1,34);

  V3:=EMA(V2,5);

  V4:=2*(V2-V3)*5.5;

  庄家秘密撤: IF(V4《=0,V4,0),COLOR00FF00,LINETHICK2;

  庄家秘密进: IF(V4》=0,V4,0),COLORFF00FF,LINETHICK2;

  V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

  V6:=EMA(3*V5-2*SMA(V5,18,1),5);

  V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

  V8:=(INDEXC*2+INDEXH+INDEXL)/4;

  V9:=EMA(V8,13)-EMA(V8,34);

  VA:=EMA(V9,3);

  VB:=(V9-VA)/2;

  大盘资金进场: IF(VB》=0,VB,0),COLORRED,LINETHICK2;

  大盘资金撤走: IF(VB《=0,VB,0),COLORBLUE,LINETHICK2;

  C/C++ Code复制内容到剪贴板

  警界点

  Var5:=LLV(LOW,26);

  Var6:=HHV(HIGH,34);

  Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*4,4)*25;

  关注低点: CROSS(10,Var7);

  警戒高点: CROSS(Var7,90);

  当出现“关注低点”信号,要等5日均线与10日均线金*时进入赢

  利机会要大一点,当出现“警戒高点”信号时应及时了结。

  如果顶的人多,以后继续发免费的,顶的人少,就发金钱贴

  更多同花顺股票公式,请关注。


    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top