指标给出了买点,没有未来函数的! 量比:=v/ema(v,20); c1:=(c+2*h+l+o)/5; a1:=EMA((EMA(c1,2)+EMA(c1,4)+EMA(c1,6))/3,3); a2:=EMA((EMA(c1,6)+EMA(c1,8)+EMA( c1,10))/3,3); a3:=EMA((EMA(c1,10)+EMA(c1,12)+EMA( c1,14))/3,3); a4:=EMA((EMA(c1,14)+EMA(c1,16)+EMA( c1,18))/3,3); a5:=EMA((EMA(c1,18)+EMA(c1,20)+EMA( c1,22))/3,3); a6:=EMA((EMA(c1,22)+EMA(c1,24)+EMA(c1,26))/3,3); a:=EMA((EMA(c1,29)+EMA(c1,31)+EMA(c1,33))/3,3),colorwhite; PARTLINE(c1>a,a),colormagenta,linethick2; PARTLINE(c1<a,a),colorgreen,linethick2; PARTLINE(a1>ref(a1,1),a1),colormagenta,POINTDOT; PARTLINE(a2>ref(a2,1),a2),colormagenta,POINTDOT; PARTLINE(a3>ref(a3,1),a3),colormagenta,POINTDOT; PARTLINE(a4>ref(a4,1),a4),colormagenta,POINTDOT; PARTLINE(a5>ref(a5,1),a5),colormagenta,POINTDOT; PARTLINE(a6>ref(a6,1),a6),colormagenta,POINTDOT; PARTLINE(a1<ref(a1,1),a1),colorgreen,POINTDOT; PARTLINE(a2<ref(a2,1),a2),colorgreen,POINTDOT; PARTLINE(a3<ref(a3,1),a3),colorgreen,POINTDOT; PARTLINE(a4<ref(a4,1),a4),colorgreen,POINTDOT; PARTLINE(a5<ref(a5,1),a5),colorgreen,POINTDOT; PARTLINE(a6<ref(a6,1),a6),colorgreen,POINTDOT; tj:=c1>a; tj2:=c1>open or c1=open and c1>ref(c1,1); STICKLINE(tj2,HIGH,LOW,0.5,0),colorred; STICKLINE(tj,OPEN,CLOSE,8,0),color102088; STICKLINE(tj,OPEN,CLOSE,7,0),color102099; STICKLINE(tj,OPEN,CLOSE,6,0),color1020aa; STICKLINE(tj,OPEN,CLOSE,5,0),color1020bb; STICKLINE(tj,OPEN,CLOSE,4,0),color1020cc; STICKLINE(tj,OPEN,CLOSE,3,0),color1020dd; STICKLINE(tj,OPEN,CLOSE,2,0),color1020ee; STICKLINE(tj,OPEN,CLOSE,1,0),color1020ff; STICKLINE(not(tj),OPEN,CLOSE,8,0),colorff7700; STICKLINE(not(tj),OPEN,CLOSE,7,0),colorff8800; STICKLINE(not(tj),OPEN,CLOSE,6,0),colorff9900; STICKLINE(not(tj),OPEN,CLOSE,5,0),colorffaa00; STICKLINE(not(tj),OPEN,CLOSE,4,0),colorffbb00; STICKLINE(not(tj),OPEN,CLOSE,3,0),colorffcc00; STICKLINE(not(tj),OPEN,CLOSE,2,0),colorffdd00; STICKLINE(not(tj),OPEN,CLOSE,1,0),colorffee00; c11:=ref(c,1); c2:=hhv(c11,2); c3:=llv(c11,1); et:=hhv(c11,2); et1:=ref(et,1); xb:=llv(c11,1); xb1:=ref(xb,1); m:=BARSLAST(c<xb and c11>=xb1); m1:=ref(m,1); n9:=BARSLAST(c>et and c11<=et1); n1:=ref(n9,1); m2:=BARSLAST(m-n9>0 and m1<=n1)+1; n2:=BARSLAST(n9-m>0 and n1<=m1)+1; et2:=hhv(et,m2); xb2:=llv(xb,n2); app:=if(m-n9>0 and m1<=n1,1,if(n9-m>0 and n1<=m1,0,2)); h11:=if(m-n9>0,c,et2); h2:=if(app=1,c,c2); h3:=if(m-n9<0,c,xb2); h4:=if(app=1,c,xb2); 关键位:=if(m-n9>0 or app=1 ,c,h3); p1:=l<a and c>a and 量比>1 and a1>ref(a1,1) and 关键位>ref(关键位,1) or cross(c,a) and 量比>1 and 关键位>ref(关键位,1); DRAWTEXT(p1,L,'买'),COLORgreen,ALIGN0; 量比:=v/ema(v,20); c1:=(c+2*h+l+o)/5; a1:=EMA((EMA(c1,2)+EMA(c1,4)+EMA(c1,6))/3,3); a2:=EMA((EMA(c1,6)+EMA(c1,8)+EMA( c1,10))/3,3); a3:=EMA((EMA(c1,10)+EMA(c1,12)+EMA( c1,14))/3,3); a4:=EMA((EMA(c1,14)+EMA(c1,16)+EMA( c1,18))/3,3); a5:=EMA((EMA(c1,18)+EMA(c1,20)+EMA( c1,22))/3,3); a6:=EMA((EMA(c1,22)+EMA(c1,24)+EMA(c1,26))/3,3); a:=EMA((EMA(c1,29)+EMA(c1,31)+EMA(c1,33))/3,3),colorwhite; PARTLINE(c1>a,a),colormagenta,linethick2; PARTLINE(c1<a,a),colorgreen,linethick2; PARTLINE(a1>ref(a1,1),a1),colormagenta,POINTDOT; PARTLINE(a2>ref(a2,1),a2),colormagenta,POINTDOT; PARTLINE(a3>ref(a3,1),a3),colormagenta,POINTDOT; PARTLINE(a4>ref(a4,1),a4),colormagenta,POINTDOT; PARTLINE(a5>ref(a5,1),a5),colormagenta,POINTDOT; PARTLINE(a6>ref(a6,1),a6),colormagenta,POINTDOT; PARTLINE(a1<ref(a1,1),a1),colorgreen,POINTDOT; PARTLINE(a2<ref(a2,1),a2),colorgreen,POINTDOT; PARTLINE(a3<ref(a3,1),a3),colorgreen,POINTDOT; PARTLINE(a4<ref(a4,1),a4),colorgreen,POINTDOT; PARTLINE(a5<ref(a5,1),a5),colorgreen,POINTDOT; PARTLINE(a6<ref(a6,1),a6),colorgreen,POINTDOT; tj:=c1>a; tj2:=c1>open or c1=open and c1>ref(c1,1); STICKLINE(tj2,HIGH,LOW,0.5,0),colorred; STICKLINE(tj,OPEN,CLOSE,8,0),color102088; STICKLINE(tj,OPEN,CLOSE,7,0),color102099; STICKLINE(tj,OPEN,CLOSE,6,0),color1020aa; STICKLINE(tj,OPEN,CLOSE,5,0),color1020bb; STICKLINE(tj,OPEN,CLOSE,4,0),color1020cc; STICKLINE(tj,OPEN,CLOSE,3,0),color1020dd; STICKLINE(tj,OPEN,CLOSE,2,0),color1020ee; STICKLINE(tj,OPEN,CLOSE,1,0),color1020ff; STICKLINE(not(tj),OPEN,CLOSE,8,0),colorff7700; STICKLINE(not(tj),OPEN,CLOSE,7,0),colorff8800; STICKLINE(not(tj),OPEN,CLOSE,6,0),colorff9900; STICKLINE(not(tj),OPEN,CLOSE,5,0),colorffaa00; STICKLINE(not(tj),OPEN,CLOSE,4,0),colorffbb00; STICKLINE(not(tj),OPEN,CLOSE,3,0),colorffcc00; STICKLINE(not(tj),OPEN,CLOSE,2,0),colorffdd00; STICKLINE(not(tj),OPEN,CLOSE,1,0),colorffee00; c11:=ref(c,1); c2:=hhv(c11,2); c3:=llv(c11,1); et:=hhv(c11,2); et1:=ref(et,1); xb:=llv(c11,1); xb1:=ref(xb,1); m:=BARSLAST(c<xb and c11>=xb1); m1:=ref(m,1); n9:=BARSLAST(c>et and c11<=et1); n1:=ref(n9,1); m2:=BARSLAST(m-n9>0 and m1<=n1)+1; n2:=BARSLAST(n9-m>0 and n1<=m1)+1; et2:=hhv(et,m2); xb2:=llv(xb,n2); app:=if(m-n9>0 and m1<=n1,1,if(n9-m>0 and n1<=m1,0,2)); h11:=if(m-n9>0,c,et2); h2:=if(app=1,c,c2); h3:=if(m-n9<0,c,xb2); h4:=if(app=1,c,xb2); 关键位:=if(m-n9>0 or app=1 ,c,h3); p1:=l<a and c>a and 量比>1 and a1>ref(a1,1) and 关键位>ref(关键位,1) or cross(c,a) and 量比>1 and 关键位>ref(关键位,1); DRAWTEXT(p1,L,'买'),COLORgreen,ALIGN0 ; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!