波段主图(源码、贴图)
drawgbk(c=c,colorrgb(50,0,0),colorrgb(50,50,30),1);
ac:=c;
ah:=h;
al:=l;
ao:=o;
stickline(ac>=ao,ah,ac,1,0),color77aaff;
stickline(ac>=ao,ao,al,1,0),color77aaff;
stickline(ac>=ao,ao,ac,6,0),color77aaff;
stickline(ac<=ao,ao,ac,6,0),colorcyan;
stickline(ac<=ao,ah,ao,1,0),colorcyan;
stickline(ac<=ao,ao,al,1,0),colorcyan;
zh:=hhv(h,22);
zhh:=h;
zgf1:=zhh/1.0809;zgf2:=zhh/1.1618;
zgf3:=zhh/1.0809/1.1618;zgf4:=zhh/1.1618/1.1618;
drawtextex(sysparam(3)=barpos,0,2,78,'【股价第一回调区】:'+numtostr(zgf1[sysparam(1)],2)+'-'+numtostr(zgf2[sysparam(1)],2)+''),color8bb2ca;
drawtextex(sysparam(3)=barpos,0,2,96,'【股价第二回调区】:'+numtostr(zgf3[sysparam(1)],2)+'-'+numtostr(zgf4[sysparam(1)],2)+''),color8bb2ca;
zl:=llv(l,22);
zll:=l;
zgfb1:=zll*1.0809;zgfb2:=zll*1.1618;zgfb3:=zll*1.0809*1.1618;zgfb4:=zll*1.1618*1.1618;
drawtextex(sysparam(3)=barpos,0,2,120,'【股价第一压力区】:'+numtostr(zgfb1[sysparam(1)],2)+''+'--'+numtostr(zgfb2[sysparam(1)],2)+''),colorff00ff;
drawtextex(sysparam(3)=barpos,0,2,138,'【股价第二压力区】:'+numtostr(zgfb3[sysparam(1)],2)+''+'--'+numtostr(zgfb4[sysparam(1)],2)+''),colorff00ff;
drawtextex(sysparam(3)=barpos,0,2,156,'【起动价】'+numtostr(zl[sysparam(1)],2)+''),color00eeff;
drawtextex(sysparam(3)=barpos,0,110,156,'【回调价】'+numtostr(zh[sysparam(1)],2)+''),color00dd00;
明支:close-(amount/vol/100-low),colorred,linethick0;
明阻:close+(amount/vol/100-low),colorgreen,linethick0;
cdp:=(l+h+2*o)/4;
pt:=h-l;
最低支:cdp-pt,colorred,linethick0;
近低支:2*cdp-h,colormagenta,linethick0;
近高阻:2*cdp-l,color16783c,linethick0;
最高阻:cdp+pt,colorgreen,linethick0;
买入价预测:c-close*2.5/100,colorred,linethick0;
卖出价预测:(close*2.5/100+close),colorgreen,linethick0;
预测低:ma(ref(low,1)/ref(close,2),27)*ref(close,1),colorred,linethick0;
预测高:ma(ref(high,1)/ref(close,2),27)*ref(close,1),colorgreen,linethick0;
jqjjs:=(h-l)/(o-l)<2;
a1:=ma(c,13);
jzx:=ref(a1,13/2+1);
jzy:=((((ref(h,1)-ref(l,1))*8/10)+o)*100)/100;
jzs:=((o-((ref(h,1)-ref(l,1))*8/20))*100)/100;
止损:jzs,color16783c,linethick0;
止赢:jzy,colorgreen,linethick0;
压力:ma(ema(close,34)*n,5),color000000;
支撑:ma(ema(close,34)*(2-n),5),color000000;
b:=close*vol;
d:=ema((ma(b,4)/ma(vol,4)+ma(b,6)/ma(vol,6)+ma(b,13)/ma(vol,13)+ma(b,24)/ma(vol,24))/4,1);
短压:1.08*d,colorca066c;
短支:d*0.92,colorca066c;
var71:=((high+low+close)/(3)-ma((high+low+close)/(3),14))/((0.015)*(avedev((high+low+close)/(3),14)));
var72:=((high+low+close)/(3)-ma((high+low+close)/(3),70))/((0.015)*(avedev((high+low+close)/(3),70)));
var73:=if((var71<=(-150)) and (var71>(-200)) and (var72<=(-150)) and (var72>(-200)),(-10),if((var71>=150) and (var71<200) and (var72>=150) and (var72<200),10,0));
var74:=if((100-abs(((close-ma(close,13))/(ma(close,13)))*(100))<90),100-abs(((close-ma(close,13))/(ma(close,13)))*(100)),100);
var75:=if((var72>=200) and (var71>=150),15,if((var72<=(-200)) and (var71<=(-150)),(-15),var73))+60;
drawtext((var75>60) and (var74<150) and (count((var75>60) and (var74<150),20)=1),low*0.95,' 加速'),colorblue;
drawicon((var75>60) and (var74<150) and (count((var75>60) and (var74<150),20)=1),low*0.95,8),;
散户:= ema(((2*close+high+low)/4-llv(low,5))/(hhv(high,4)-llv(low,5))*100,4);
庄家:= ema(0.667*ref(散户,1)+0.333*散户,2);
drawtext(cross(散户,庄家) and 散户<30,low*0.95,'●低吸'),color1621f9;
drawtext(cross(庄家,散户) and 散户>70,h*1.05,'●高减'),color16783c;
c0:=ref(c,2)*0.865;
c1:=ref(c,13)*0.772;
dsy:=100*vol/capital;
stickline((c-min(c0,c1))/c<0.1 and sum(dsy,5)/5<1.8,l*0.95,l*0.8,8,1),colorblue;
pj:=(3*high+low+open+2*close)/7;
hj:=sum(amount,13)/amount*vol;
cn:= dma(pj,vol/hj);
delarbo:=((((close-cn)/cn)*100-ref(((close-cn)/cn)*100,1)));
stickline(( (delarbo>5.8) and ((c-ref(c,1))/ref(c,1))<0.08 and ref(((close-cn)/cn)*100,1)<-3.8 ),l*0.95,l*0.87,5,0),colordd0bf0;
var1:=(high+low+close*2)/4;
var3:=(ema(((var1-ema(var1,21))/std(var1,21)*100+200)/4,5)-25)*1.56;
var5:=3*ema(var3,2)*1.22-2*ema(ema(var3,2)*1.22,2);
var6:=ema((var1-llv(low,34))/(hhv(high,34)-llv(low,34))*100,13);
var7:=ema(0.667*ref(var6,1)+0.333*var6,2);
var8:=ema(var1,13)-ema(var1,21);
var9:=2*(var8-ema(var6,2))*3.8;
var10:=var9 > ref(var9,1) and var6 < 63 and var7 < 63 and ema(var3,2)*1.22 < 63 and ema(ema(var3,2)*1.22,2) < 63 and var5 < 63 and cross(var5,ema(var3,2)*1.22) and finance(33)> 0.01 and finance(34)> 1 and ref(close,23)/close > 1.2 and ref(close,10)/close < 1.5;
var11:=min(ref(close,2)*0.865,ref(close,13)*0.772);
var12:=if((close-var11)/close < 4/100 and sum(100*vol/capital,5)/5 < 1.8 and winner(close)*100 < 0.1,1,0);
var13:=ma(close,80)-ma(close,10)/3;
var14:=close < var13 and vol/240 > ma(vol,5)/240 and close > ref(close,1)*1.08 and close < ma(close,13)*1.3;
var15:=100*(close-ma(amount/(100*vol),5))/ma(amount/(100*vol),5)<-10and close < 10 and close/ref(close,1) > 0.935;
stickline(var12 > 0 or var10 > 0 or var14 > 0 or var15 > 0,l*0.87,l*0.8,5,0),linethick4,color3f0bf0;
var21:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
var22:=sma(var21,5,1);
var23:=sma(var22,10,1);
var24:=cross(var23,var22);
var25:=var23>80 or var22>80;
var26:=var24 and var25;
var27:=ema(amount/vol/100,3);
var28:=ema(var27,88);
var29:=ema(var27,88)*0.85;
vara:=var29*0.87;
varb:=low<vara and close>ref(close,1)*1.02;
drawicon(filter(varb,6),low*0.85,10);
drawicon(filter(cross(-5,ma((llv(low,45)-close)/(hhv(high,45)-llv(low,45))*100,5)),5),low*0.95,10);
drawtext(filter(cross(-5,ma((llv(low,45)-close)/(hhv(high,45)-llv(low,45))*100,5)),5),low*0.95,'->买'),colorred;
drawicon(filter(cross(75,sma(max(close-ref(close,1),0),8,1)/sma(abs(close-ref(close,1)),8,1)*100),10),high*1.05,11);
drawtext(filter(cross(75,sma(max(close-ref(close,1),0),8,1)/sma(abs(close-ref(close,1)),8,1)*100),10),high*1.05,'->卖'),colorblue;
drawicon(var26,high*1.2,11);
drawtext(var26,high*1.2,'->坚决卖'),colorblue;
var34:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
var35:=(high+low+close)/3;
var36:=(var35-ma(var35,14))/(0.015*avedev(var35,14));
var37:=(var35-ma(var35,70))/(0.015*avedev(var35,70));
var38:=if(var36>=150 and var36<200 and var37>=150 and var37<200,10,0);
var39:=if(var36<=-150 and var36>-200 and var37<=-150 and var37>-200,-10,var38);
var40:=100-abs((close-ma(close,13))/ma(close,13)*100);
var41:=if(var40<90,var40,100);
var42:=if(var34>0,var34,0);
var43:=if(var37>=200 and var36>=150,15,if(var37<=-200 and var36<=-150,-15,var39))+60;
var44:=var42>48 and var43>60 and var41<100;
drawtext(var44 and count(var44,30)=1,h*1.1,'大笔出货');
var51:=amount/vol/100;
var52:=(3*high+low+open+2*close)/7;
var53:=sum(amount,7)/var51/100;
var54:=dma(var52,vol/var53);
var55:=(close-var54)/var54*100;
var56:=ma(var55,20)+std(var55,20);
var57:=ma(var55,20)+1.732*std(var55,20);
bias18:=(close-ma(close,18))/ma(close,18)*100;
var58:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
var59:=sma(var58,3,1);
stickline(ref(bias18,1)>=5 and cross(var56,var55) and var59>79 ,h*1.05,h*1.1,5,0),color0099ff;
stickline(ref(bias18,1)>=5 and cross(var57,var55) and var59>79,h*1.05,h*1.1,5,0),color0099ff;
var60:=ma(100*(winner(1.1*c)-winner(0.9*c)),5)/ma(100*(winner(1.1*c)-winner(0.9*c)),34);
drawtext(filter(cross(ma(var60,4),var60)and var60>1,55),压力*1.05,'变盘'),colorred;
ks:=(c-ma(c,13))/ma(c,13)*(-100);
rks:=ref(ks,1);
mls:=rks/ks>=1.23 and rks>=8 and c/ref(c,1)>=1.02;
超跌:stickline(ks>=8,h,l,0,1),colorblue,linethick2;
反弹:stickline(mls=1,h,l,0,1),colorred,linethick2;
stickline(ks>=8,o,c,8,1),colorblue,linethick2;
stickline(mls=1,o,c,8,1),colorred,linethick2;
h0:=v/capital;
a1:=if(h0>0,amount,ma(c,2)*v*100);
ma1:=ema(a1,3)/ema(v,3)/100,colorff00ff;;
ma2:= ema(a1,7)/ema(v,7)/100,colorgreen;
mae:=ema(a1,10)/ema(v,10)/100,colorffffff;
stickline(ma1>ma2,ref(mae,1),mae,6,0),coloryellow;
stickline(ma1<ma2,ref(mae,1),mae,6,0),colorblue;
koh:=l>ref(h,1);
kol:=h<ref(l,1);
hif:=l>ref(h,barslast(koh)+1);
nhif:=l<=ref(h,barslast(koh)+1);
lif:=h<ref(l,barslast(kol)+1);
nlif:=h>=ref(l,barslast(kol)+1);
drawicon(hif and barslast(koh)<barslast(nhif) and barslast(hif)<barslast(nhif),ref(h,barslast(koh)+1),10),align0;
drawicon(lif and barslast(kol)<barslast(nlif) and barslast(lif)<barslast(nlif),ref(l,barslast(kol)+1),11),align0;
a:=(ema(((amount)/(vol))/(100),21)+ema(((amount)/(vol))/(100),34)+ema(((amount)/(vol))/(100),55))/(3),linethick0,color008000;
drawtext(cross(ema((close-llv(low,10))/(hhv(high,25)-llv(low,10))*4,4),2.8),h*1.04,'警惕!! '),colorblue;
drawtext(cross(ema((close-llv(low,10))/(hhv(high,25)-llv(low,10))*4,4),3.2),h*1.08,'逢高减磅'), ,;
drawtext(cross(ema((close-llv(low,10))/(hhv(high,25)-llv(low,10))*4,4),3.5),h*1.12,'出局? '), , ;
{当前周期计算}
停止交易周期数:=datediff(ref(date,1),date)-1;
停止交易星期数:=停止交易周期数/7;
停止交易整星期数:=floor(停止交易星期数);
超出周期数:=停止交易周期数-停止交易整星期数*7;{1-6}
周末休市日期数:=2*停止交易整星期数;
当前星期:=weekday;
当前为周末:=当前星期=6 or 当前星期=0;
超出休市数:=count(当前为周末,超出周期数);
休市周期数:=周末休市日期数+超出休市数;
停牌周期数:=停止交易周期数-休市周期数-2;
停牌周期数小于十:=停牌周期数<10 and 停牌周期数>0;
停牌周期数大于等于十:=停牌周期数>=10;
停牌周期数字符串:= numtostr(停牌周期数,0);
drawtext(停牌周期数>0,low,'停牌'),align2,color8b8b7a;
drawtext(停牌周期数小于十,low,' 周期'),align1,color8b8b7a;
drawtext(停牌周期数大于等于十,low,'周期'),align1,color8b8b7a;
drawnumber(停牌周期数>0,low,停牌周期数,0),colorwhite;
jj:=(open+high+low+close)/4;
aa:=if(between(c,jj,h) or c=o,vol,0);
bb:=if(between(c,jj,l),vol,0);
cc:=if(aa and bb,0,vol/3);
ddx:=10*(aa-(bb+cc))/if(capital<1,sum(vol,13),capital),linethick0;
ddx1:=ema(ddx,60)*60,color00ffff;
ddx2:=ma(ddx1,5),colorff00ff;
ddx3:=ma(ddx2,10),color00ff00;
ww1:=filter(o<ref(l,1) and c>o and vol>ref(v,1),13);
lc:=ref(c,1);
jh:=sma(max(c-lc,0),6,1)/sma(abs(c-lc),6,1)*100;
sz:=filter(cross(jh,35) and cross(ddx1,ddx2),13);
sx:=filter(cross(jh,30) and cross(ddx1,ddx3),7);
sq:=filter(cross(71,jh) and ddx<0 and cross(ddx3,ddx1),74);
sd:=filter(cross(80,jh) and ddx<0 and cross(ddx2,ddx1),74);
aa:=if(capital<1,sz,sx);
bb:=if(capital<1,sq,sd);
cc:=ref(hhv(close,120),1);dd:=ref(llv(close,120),1);
ww:=((100 * (close - dd)) / (cc - dd));ee:=amount;
ff:=(ema(ee,5) / ref(ema(ee,5),5));
霸占:=filter(((((((ff >= 2)) and (ww < 35))) and (barscount(close) > 30)) or (((((ff >= 2)) and (ww < 100))) and (barscount(close) < 50))),90);
stickline(霸占,close,open,10,0),color0000ff;
stickline(霸占,high,low,1,0),color0000ff;
stickline(ww1,close,open,10,0),colormagenta;
stickline(ww1,high,low,1,0),colormagenta;
stickline(aa,close,open,10,0),coloryellow;
stickline(aa,high,low,1,0),coloryellow;
stickline(bb,close,open,10,0),color00ff00;
stickline(bb,high,low,1,0),color00ff00;
drawtextex(c,1,180,0,'红色牛股'),color0000ff;
drawtextex(c,1,280,0,'黄色买入'),color00ffff;
drawtextex(c,1,380,0,'粉色洗盘'),colorff00ff;
drawtextex(c,1,480,0,'绿色卖出'),color00ff00;
上一指标公式:真正的涨了再买-买了就涨公式下载 飞狐买了涨了指标 源码
下一指标公式:雪狼自用主图公式下载 飞狐自用指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文波段主图公式下载 飞狐源码贴图指标 源码仅供学习研究。