{狙击手 副图 } 花:=EMA(SLOPE(1,2)*20+C,3); 女:=EMA(SLOPE(1,2)*20+C,7); DRAWTEXT(COUNT (花<女,5)=4 AND 花>=女,C*0.95,'B'), COLORRED; DRAWTEXT(COUNT (花>=女,5)=4 AND 花<女,C*1.08,'S'), COLORYELLOW; CO:=ABS(C-O)/2; STICKLINE(花>= 女 ,CLOSE,OPEN,3,0) ,COLOR000077; STICKLINE(花>= 女 ,CLOSE,OPEN,2.5,0) ,COLOR000099; STICKLINE(花>= 女 ,CLOSE,OPEN,1.5,0) ,COLOR0000BB; STICKLINE(花>= 女 ,CLOSE,OPEN,1,0) ,COLOR0000CC; STICKLINE(花>= 女 ,CLOSE,OPEN,0.5,0) ,COLOR0000DD; STICKLINE(花>= 女 ,CLOSE,OPEN,0.3,0) ,COLOR0000EE; STICKLINE(花>= 女 ,CLOSE,OPEN,0,0) ,COLOR0000FF; STICKLINE(花<= 女 ,CLOSE,OPEN,3,0),COLOREE1100; STICKLINE(花<= 女 ,CLOSE,OPEN,2.5,0),COLOREE2200; STICKLINE(花<= 女 ,CLOSE,OPEN,2,0),COLOREE4400; STICKLINE(花<= 女 ,CLOSE,OPEN,1.5,0),COLOREE6600; STICKLINE(花<= 女 ,CLOSE,OPEN,1,0),COLOREE8800; EMA13:=EMA(C,20),COLORFF8080; EMA34:=EMA(C,60),COLORFFFF00; EMA55:=EMA(C,80),COLORFF00FF; YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02; YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11); Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100; YZ:=YZ1 AND YZ2 AND Y>10; X11:DRAWTEXT(YZ,HIGH+0.2,'减仓'),COLORF00FF0; GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) ); GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1); GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1); GR4:=H=HHV(H,GR1); GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1); GR6:=GR2 AND GR3 AND GR4; GR7:=GR2 AND GR3 AND GR4 AND GR5; DRAWTEXT(GR6 AND GR7,H+0.13,'保存利润'),COLOR00FF00; A1:=EMA(C,14),COLORWHITE,LINETHICK1; A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW; 支撑位:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORRED,LINETHICK1; 阻力位:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORGREEN,LINETHICK1; STICKLINE(CROSS(A1X,0),C,O,0.1,0),COLORYELLOW; STICKLINE(CROSS(0,A1X),C,O,0.1,0),COLORGREEN; DRAWICON(CROSS(花,女) AND CLOSE/REF(CLOSE,1)>1.03,LOW/1.06,25); 花2:=EMA(SLOPE(1,2)*20+C,3),COLORRED; 女2:=EMA(SLOPE(1,2)*20+C,7),COLORBLUE; 花1:=MA(CLOSE, 5); 女1:=MA(CLOSE, 60); 花仙:=CROSS(花2,女2) AND 花1>女1; 仙女:=CROSS(女2,花2) AND 花1>女1 AND COUNT(CROSS(花,女) AND 花1>女1 ,30); DRAWTEXT(花仙,LOW/1.03,'买'),COLORWHITE; DRAWTEXT(仙女,HIGH*1.06,'卖'),COLORYELLOW; STICKLINE(花仙,C,O,0.1,0),COLORYELLOW; STICKLINE(仙女,O,O+CO,3,0),COLOR660066; {卖} STICKLINE(仙女,O,O+CO,2.5,0),COLOR880088; STICKLINE(仙女,O,O+CO,2,0),COLORAA00AA; STICKLINE(仙女,O,O+CO,1.5,0),COLORCC00CC; STICKLINE(仙女,O,O+CO,1,0),COLOREE00EE; STICKLINE(仙女,CLOSE,O,0.1,0),COLORWHITE; STICKLINE(花仙,O,O+CO,3,0),COLOR008888; {买} STICKLINE(花仙,O,O+CO,2,0),COLOR00AAAA; STICKLINE(花仙,O,O+CO,1,0),COLOR00CCCC; STICKLINE(花仙,O,O+CO,0.1,0),COLOR00FFFF; 买入条件:=花仙; 卖出条件:=仙女; D1:=BARSLAST(买入条件); D2:=FLOOR(((C-REF(C,D1))/REF(C,D1))*100); { IF(D2>=3 AND D2<7,'5',DRAWNULL);} DRAWTEXT(卖出条件 AND D2=0,LOW,'0'),COLORWHITE; DRAWTEXT(卖出条件 AND D2>0 AND D2<3,HIGH*1.13,'赚2%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=3 AND D2<7,HIGH*1.13,'赚5%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=7 AND D2<9,HIGH*1.13,'赚8%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=9 AND D2<12,HIGH*1.13,'赚10%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=12 AND D2<14,HIGH*1.13,'赚12%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=14 AND D2<17,HIGH*1.13,'赚15%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=17 AND D2<20,HIGH*1.13,'赚18%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=20 AND D2<23,HIGH*1.13,'赚22%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=23 AND D2<27,HIGH*1.13,'赚25%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=27 AND D2<31,HIGH*1.13,'赚30%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=31 AND D2<33,HIGH*1.13,'赚32%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=33 AND D2<36,HIGH*1.13,'赚35%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=36 AND D2<39,HIGH*1.13,'赚38%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=39 AND D2<43,HIGH*1.13,'赚40%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=43 AND D2<47,HIGH*1.13,'赚45%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=47 AND D2<50,HIGH*1.13,'赚48%'),COLORRED; DRAWTEXT(卖出条件 AND D2>=50 AND D2<53,HIGH*1.13,'赚50%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=53 AND D2<58,HIGH*1.13,'赚55%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=58 AND D2<63,HIGH*1.13,'赚60%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=63 AND D2<68,HIGH*1.13,'赚65%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=68 AND D2<73,HIGH*1.13,'赚70%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=73 AND D2<78,HIGH*1.13,'赚75%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=78 AND D2<83,HIGH*1.13,'赚80%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=83 AND D2<88,HIGH*1.13,'赚85%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=88 AND D2<93,HIGH*1.13,'赚90%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=93 AND D2<97,HIGH*1.13,'赚95%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=97 AND D2<100,HIGH*1.13,'赚99%'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2>=100,HIGH*1.03,'99.99%发了!'),COLORYELLOW; DRAWTEXT(卖出条件 AND D2<=-1 AND D2>-3,HIGH*1.03,'-2%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-3 AND D2>-5,HIGH*1.03,'-3%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-5 AND D2>-7,HIGH*1.03,'-5%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-7 AND D2>-9,HIGH*1.03,'-7%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2=-9 ,HIGH*1.03,'-9%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-10 AND D2>-12,HIGH*1.03,'-10%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-12 AND D2>-14,HIGH*1.03,'-12%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-14 AND D2>-16,HIGH*1.03,'-14%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-16 AND D2>-18,HIGH*1.03,'-16%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-18 AND D2>-20,HIGH*1.03,'-18%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-20 AND D2>-23,HIGH*1.03,'-20%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-23 AND D2>-26,HIGH*1.03,'-23%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-26 AND D2>-28,HIGH*1.03,'-25%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-28 AND D2>-33,HIGH*1.03,'-30%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-33 AND D2>-35,HIGH*1.03,'-32%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-35 AND D2>-39,HIGH*1.03,'-35%'),COLORBLUE; DRAWTEXT(卖出条件 AND D2<=-39 AND D2>-43,HIGH*1.03,'-40%'),COLORBLUE; 涨跌停:=(C-REF(C,1))/REF(C,1)*100; 涨5:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(涨跌停>9.8,O,C,0.2,0),COLORYELLOW; BB:=MA(CLOSE,20); CC:BB+2*STD(CLOSE,20),COLORYELLOW; DD:MA(C,14),COLORCYAN; AA:=CROSS(C,CC)AND C/REF(C,1)>1.099; DRAWTEXT(AA,H,'狙击'); |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!