{鱼身战法} {DRAWGBK(OPEN>0,RGB(0,0,250),RGB(0,0,0),0,'02',0);} VOLUME:=VOL,VOLSTICK; MAVOL5:=MA(VOLUME,5); MAVOL21:=MA(VOLUME,21); MAVOL65:=MA(VOLUME,65); STICKLINE(CROSS(MAVOL5,MAVOL21),5,8,2,0),COLORWHITE; 周DIF:=("MACD.DIF#WEEK"); 周DEA:=("MACD.DEA#WEEK"); 周MACD:=2*(周DIF-周DEA); DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9),COLORFFFF00; MACD:=(DIFF-DEA)*2; A1:BARSLAST(DIFF<REF(DIFF,1)),COLOR00FFFF,LINETHICK1; A11:A1*-1,COLOR00FFFF,LINETHICK1; A2:BARSLAST(DEA<REF(DEA,1)),COLORRED,LINETHICK1; A22:A2*-1,COLORRED,LINETHICK1; DRAWBAND(A2,RGB(150,50,20),A1,RGB(150,100,150)); DRAWBAND(A22,RGB(150,100,150),A11,RGB(150,50,20)); STICKLINE(周MACD>REF(周MACD,1) AND 周MACD>0,-5,5,18,0),COLORRED; STICKLINE(周MACD<REF(周MACD,1) AND 周MACD>0,-5,5,18,0),COLORYELLOW; STICKLINE(周MACD>REF(周MACD,1) AND 周MACD<0,-5,5,18,0),COLORLIRED; STICKLINE(周MACD<REF(周MACD,1) AND 周MACD<0,-5,5,18,0),COLORBLUE; STICKLINE(MACD>REF(MACD,1) AND MACD>0,-3,3,3.5,1),COLORRED; STICKLINE(MACD>REF(MACD,1) AND MACD<0,-3,3,3.5,1),COLORLIRED; STICKLINE(MACD<REF(MACD,1) AND MACD>0,-3,3,3.5,1),COLORYELLOW; STICKLINE(MACD<REF(MACD,1) AND MACD<0,-3,3,3.5,1),COLORBLUE; DIIFF:=(EMA(A1,5) - EMA(A1,10)); DEAA:=EMA(DIIFF,3); K线动能:=(DIIFF-DEAA),COLORYELLOW; STICKLINE((K线动能 > 0),-1,1,1.5,0),COLOR0000FF; STICKLINE((K线动能 < 0),-1,1,1.5,0),COLOR00FF00; STICKLINE(CROSS(DIFF,DEA),0,0.04,5,1),COLORYELLOW; STICKLINE(CROSS(DIFF,DEA),0.04,0.08,5,0),COLORRED; STICKLINE(CROSS(DIFF,DEA),0.08,0.12,5,1),COLORYELLOW; STICKLINE(CROSS(DIFF,DEA),0.12,0.16,4,1),COLORRED; STICKLINE(CROSS(DIFF,DEA),0.16,0.2,3,1),COLORRED; STICKLINE(CROSS(DIFF,DEA),0.2,0.24,2,0),COLORWHITE; STICKLINE(CROSS(DIFF,DEA) AND DIFF<0,A11,0,2,0),COLORRED; STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED; STICKLINE(CROSS(DEA,DIFF) AND DIFF<0,A11,0,2,0),COLORBLUE; STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE; MACD底背离: STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),-25,25,0.00001,0),COLORYELLOW; STICKLINE(A1>0 AND A2>0,A2,A1,0.00001,0),COLORFFFFFF; STICKLINE(A1>0 AND A2>0,A22,A11,0.00001,0),COLORFFFFFF; STICKLINE(A1>0 AND A2>0,0,A1,0.000001,0),COLORFF00FF; STICKLINE(A1>0 AND A2>0,0,A11,0.000001,0),COLORGREEN; DRAWTEXT(CROSS(DIFF,DEA) AND DIFF<0,-5,'〇'),COLORCYAN; DRAWTEXT(CROSS(DIFF,DEA) AND DIFF<0,-12,'〇'),COLORCYAN; DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>0,5,'〇'),COLORGREEN; DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>0,12,'〇'),COLORGREEN; DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,A2,'∈'),COLORGREEN; DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,0,'∈'),COLORGREEN; DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,A22,'∈'),COLORGREEN; STICKLINE(CROSS(DIFF,DEA) AND DIFF<0,A11,0,2,0),COLORRED; STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED; STICKLINE(CROSS(DEA,DIFF) AND DIFF<0,A11,0,2,0),COLORBLUE; STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE; N:=5;M1:=5; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,5,1); D:=SMA(K,M1,5); J:=3*K-2*D; VARB2:=(RSV/2+22)*1; 量:=EMA(VOL,13); 资金:=EMA(AMOUNT,13); 过滤:=((资金 /量) / 100); 提纯:=(((CLOSE -过滤) / 过滤) * 100); 黄金:=((提纯 < (0)) AND ZXNH); 低买:=IF(黄金 AND RSV<VARB2-2,50,0); 高卖:=IF(黄金 AND RSV>VARB2,80,120); 上涨分界:=25; KDJ提前金叉:(CROSS(上涨分界,低买)),COLORFF00FF,NODRAW; DRAWTEXT(KDJ提前金叉,0,'⊙'),COLORFFFFFF; DRAWTEXT_FIX(1,0.05,0.02,0,'【大池不红君莫入,大池变黄君莫贪】'),COLORYELLOW; DRAWTEXT_FIX(1,0.05,0.07,0,'【中池变黄小池绿,如在鱼尾逃命急】'),COLORYELLOW; UploadPic/2013-8/2013852243631741.jpg |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!