{公式名称: 倍量梯排序
公式描述: 排序指标1
参数数量: 4
参数1: 计算周期, 最小: 30, 最大: 150, 缺省: 100
参数2: 千分误差, 最小: 0, 最大: 2000, 缺省: 10
参数3: 柱底位置, 最小: 1, 最大: 2, 缺省: 1
参数4: 倍量值, 最小: 10, 最大: 300, 缺省: 190
}
var1:=计算周期;
var2:=千分误差/1000;
var3:=if(柱底位置=1,open,low);
var4:=vol>=ref(vol,1)*倍量值/100 and (close>=ref(close,1) or close>=open) and ref(vol,2)>ref(vol,1);
var5:=count(var4,currbarscount-var1);
var6:=if(var5>0 and currbarscount<var1,var5,drawnull);
var7:=hhv(var6,barscount(close));
var8:=llv(var6,barscount(close) and var6!=drawnull);
var9:=backset(islastbar,var1);
var10:=if(islastbar,hhv(var6,barscount(close))-llv(var6,barscount(close)-var1),0);
柱数量总数:refx(hhv(var10,var1),currbarscount-1),nodraw,coloryellow;
var11:=倍量值;
var12:=千分误差;
var13:=计算周期;
var14:=if(currbarscount<=var1 and var4,1,0);
var15:=柱数量总数-sum(var14,0)+1;
var16:=1;
var17:=if(var15=var16,currbarscount,0);
var18:=hhv(var17,barscount(close));
var19:=hhv(var17,barscount(close));
var20:=if(refx(llv(min(open,close),var19-1),var19-1)>0,refx(llv(min(open,close),var19-1),var19-1),0);
var21:=if(var15=var16 and var3<var20 and var20>0,1,0);
var22:=ref(var20*(1+var2),var19-currbarscount);
var23:=ref(var3,var19-currbarscount);
var24:=if(var21=1 and var23<var22,1,0);
var25:=2;
var26:=if(var15=var25,currbarscount,0);
var27:=hhv(var26,barscount(close));
var28:=hhv(var26,barscount(close));
var29:=if(refx(llv(min(open,close),var28-1),var28-1)>0,refx(llv(min(open,close),var28-1),var28-1),0);
var30:=if(var15=var25 and var3<var29 and var29>0,1,0);
var31:=ref(var29*(1+var2),var28-currbarscount);
var32:=ref(var3,var28-currbarscount);
var33:=if(var30=1 and var32<var31,1,0);
var34:=3;
var35:=if(var15=var34,currbarscount,0);
var36:=hhv(var35,barscount(close));
var37:=hhv(var35,barscount(close));
var38:=if(refx(llv(min(open,close),var37-1),var37-1)>0,refx(llv(min(open,close),var37-1),var37-1),0);
var39:=if(var15=var34 and var3<var38 and var38>0,1,0);
var40:=ref(var38*(1+var2),var37-currbarscount);
var41:=ref(var3,var37-currbarscount);
var42:=if(var39=1 and var41<var40,1,0);
var43:=4;
var44:=if(var15=var43,currbarscount,0);
var45:=hhv(var44,barscount(close));
var46:=hhv(var44,barscount(close));
var47:=if(refx(llv(min(open,close),var46-1),var46-1)>0,refx(llv(min(open,close),var46-1),var46-1),0);
var48:=if(var15=var43 and var3<var47 and var47>0,1,0);
var49:=ref(var47*(1+var2),var46-currbarscount);
var50:=ref(var3,var46-currbarscount);
var51:=if(var48=1 and var50<var49,1,0);
var52:=5;
var53:=if(var15=var52,currbarscount,0);
var54:=hhv(var53,barscount(close));
var55:=hhv(var53,barscount(close));
var56:=if(refx(llv(min(open,close),var55-1),var55-1)>0,refx(llv(min(open,close),var55-1),var55-1),0);
var57:=if(var15=var52 and var3<var56 and var56>0,1,0);
var58:=ref(var56*(1+var2),var55-currbarscount);
var59:=ref(var3,var55-currbarscount);
var60:=if(var57=1 and var59<var58,1,0);
var61:=6;
var62:=if(var15=var61,currbarscount,0);
var63:=hhv(var62,barscount(close));
var64:=hhv(var62,barscount(close));
var65:=if(refx(llv(min(open,close),var64-1),var64-1)>0,refx(llv(min(open,close),var64-1),var64-1),0);
var66:=if(var15=var61 and var3<var65 and var65>0,1,0);
var67:=ref(var65*(1+var2),var64-currbarscount);
var68:=ref(var3,var64-currbarscount);
var69:=if(var66=1 and var68<var67,1,0);
var70:=7;
var71:=if(var15=var70,currbarscount,0);
var72:=hhv(var71,barscount(close));
var73:=hhv(var71,barscount(close));
var74:=if(refx(llv(min(open,close),var73-1),var73-1)>0,refx(llv(min(open,close),var73-1),var73-1),0);
var75:=if(var15=var70 and var3<var74 and var74>0,1,0);
var76:=ref(var74*(1+var2),var73-currbarscount);
var77:=ref(var3,var73-currbarscount);
var78:=if(var75=1 and var77<var76,1,0);
var79:=8;
var80:=if(var15=var79,currbarscount,0);
var81:=hhv(var80,barscount(close));
var82:=hhv(var80,barscount(close));
var83:=if(refx(llv(min(open,close),var82-1),var82-1)>0,refx(llv(min(open,close),var82-1),var82-1),0);
var84:=if(var15=var79 and var3<var83 and var83>0,1,0);
var85:=ref(var83*(1+var2),var82-currbarscount);
var86:=ref(var3,var82-currbarscount);
var87:=if(var84=1 and var86<var85,1,0);
var88:=9;
var89:=if(var15=var88,currbarscount,0);
var90:=hhv(var89,barscount(close));
var91:=hhv(var89,barscount(close));
var92:=if(refx(llv(min(open,close),var91-1),var91-1)>0,refx(llv(min(open,close),var91-1),var91-1),0);
var93:=if(var15=var88 and var3<var92 and var92>0,1,0);
var94:=ref(var92*(1+var2),var91-currbarscount);
var95:=ref(var3,var91-currbarscount);
var96:=if(var93=1 and var95<var94,1,0);
var97:=10;
var98:=if(var15=var97,currbarscount,0);
var99:=hhv(var98,barscount(close));
var100:=hhv(var98,barscount(close));
var101:=if(refx(llv(min(open,close),var100-1),var100-1)>0,refx(llv(min(open,close),var100-1),var100-1),0);
var102:=if(var15=var97 and var3<var101 and var101>0,1,0);
var103:=ref(var101*(1+var2),var100-currbarscount);
var104:=ref(var3,var100-currbarscount);
var105:=if(var102=1 and var104<var103,1,0);
var106:=11;
var107:=if(var15=var106,currbarscount,0);
var108:=hhv(var107,barscount(close));
var109:=hhv(var107,barscount(close));
var110:=if(refx(llv(min(open,close),var109-1),var109-1)>0,refx(llv(min(open,close),var109-1),var109-1),0);
var111:=if(var15=var106 and var3<var110 and var110>0,1,0);
var112:=ref(var110*(1+var2),var109-currbarscount);
var113:=ref(var3,var109-currbarscount);
var114:=if(var111=1 and var113<var112,1,0);
var115:=12;
var116:=if(var15=var115,currbarscount,0);
var117:=hhv(var116,barscount(close));
var118:=hhv(var116,barscount(close));
var119:=if(refx(llv(min(open,close),var118-1),var118-1)>0,refx(llv(min(open,close),var118-1),var118-1),0);
var120:=if(var15=var115 and var3<var119 and var119>0,1,0);
var121:=ref(var119*(1+var2),var118-currbarscount);
var122:=ref(var3,var118-currbarscount);
var123:=if(var120=1 and var122<var121,1,0);
var124:=if(close>ref(close,1),if(dynainfo(4)>0,if(var21=drawnull,0,if(var24=drawnull,0,var24))+if(var30=drawnull,0,if(var33=drawnull,0,var33))+if(var39=drawnull,0,if(var42=drawnull,0,var42))+if(var48=drawnull,0,if(var51=drawnull,0,var51))+if(var57=drawnull,0,if(var60=drawnull,0,var60))+if(var66=drawnull,0,if(var69=drawnull,0,var69))+if(var75=drawnull,0,if(var78=drawnull,0,var78))+if(var84=drawnull,0,if(var87=drawnull,0,var87))+if(var93=drawnull,0,if(var96=drawnull,0,var96))+if(var102=drawnull,0,if(var105=drawnull,0,var105))+if(var111=drawnull,0,if(var114=drawnull,0,var114))+if(var120=drawnull,0,if(var123=drawnull,0,var123)),0),0);
梯级数:if(totalbarscount>100,var124,0);
上一指标公式:与庄共舞 通达信共舞
下一指标公式:鼎牛伏击涨停 通达信伏击
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文倍量梯排序排序指标1转载和谐完全加密指标 通达信指标加密仅供学习研究。