: | : | :期货量化学习 | :期货量化 |
返回列表 发帖

[同花顺指标] 同花顺中短线超级指标公式

[同花顺指标] 同花顺中短线超级指标公式

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

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

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

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

  5.   Var7:=EMA(Var6,5);

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

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

  8.   Var9:=HHV(Var8,10);

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

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

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

  12.   D:EMA(K,5), colorwhite;

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

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

  15.   换手: VOL/CAPITAL*100,colorgreen;

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

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

  18.   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));

  19.   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));

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

  21.   DRAWTEXT((VARC=1),(-14),‘买’),Color0000FF;

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

  23.   DRAWTEXT((VARD=1),18,‘卖’),Color00FF00;

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

  25.   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);

  26.   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);

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

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

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

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

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

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

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

  34.   Var16:=IF(Var13《=-150 AND Var13》-200 AND Var14《=-150 AND Var14》-200,-10,Var15);

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

  36.   Var18:=100-ABS(Var17);

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

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

  39.   Var1B:=IF(Var14》=200 AND Var13》=150,15,IF(Var14《=-200 AND Var13《=-150,-15,Var16))+60;

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

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

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

  43.   q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;

  44.   q3:=SMA(q2, 9, 1);

  45.   q4:=SMA(q3, 3, 1);

  46.   长趋势:3*q3-2*q4,colorwhite,linethick3;

  47.   趋势线:EMA(q3, 3),colorred,linethick3;

  48.   DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)》80, REF(长趋势,3), ‘▼逢高派发’), Color00ff00,linethick5;

  49.   ▲逢低买入: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线》1.3*长趋势,长趋势,‘▲逢低买入’), Color00Ffff, linethick1;

  50.   ▲低买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势》1.3*趋势线,趋势线,‘▲低买’),colorblue,linethick1;

  51.   var3:=PEAKBARS(3,15,1)《10;

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

  53.   顶:= IF(var5=2,2,0);

  54.   顶a:IF(顶》REF(顶,1),50,0),colorgreen, linethick2;

  55.   DRAWTEXT(顶a=50,45,‘顶 部’),color00ff00;

  56.   DD:CROSS(H,REF(HHV(H,240),1));
复制代码

论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
 
期货论坛 - 版权/免责声明   1.本站发布源码(包括函数、指标、策略等)均属开放源码,用意在于让使用者学习程序化语法撰写,使用者可以任意修改语法內容并调整参数。仅限用于个人学习使用,请勿转载、滥用,严禁私自连接实盘账户交易
  2.本站发布资讯(包括文章、视频、历史记录、教材、评论、资讯、交易方案等)均系转载自网络主流媒体,内容仅为作者当日个人观点,本网转载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。本网不对该类信息或数据做任何保证。不对您构成任何投资建议,不能依靠信息而取代自身独立判断,不对因使用本篇文章所诉信息或观点等导致的损失承担任何责任。
  3.本站发布资源(包括书籍、杂志、文档、软件等)均从互联网搜索而来,仅供个人免费交流学习,不可用作商业用途,本站不对显示的内容承担任何责任。请在下载后24小时内删除。如果喜欢,请购买正版,谢谢合作!
  4.龙听期货论坛原创文章属本网版权作品,转载须注明来源“龙听期货论坛”,违者本网将保留追究其相关法律责任的权力。本论坛除发布原创文章外,亦致力于优秀财经文章的交流分享,部分文章推送时若未能及时与原作者取得联系并涉及版权问题时,请及时联系删除。联系方式:http://www.qhlt.cn/thread-262-1-1.html
如何访问权限为100/255贴子:/thread-37840-1-1.html;注册后仍无法回复:/thread-23-1-1.html;微信/QQ群:/thread-262-1-1.html;网盘链接失效解决办法:/thread-93307-1-1.html

返回列表