原文地址:日本:一目均衡指标公式作者:标杆2018日本:一目均衡指标公式 (本博在网上搜了搜,有介绍这一指标,比较零星不全,为此,就想相对系统地介绍下这一指标.凡经典的东西,都永远不会过时,关键看使用者如何去理解它,并适时把握好时机去使用.) 公式名称:一目均衡主力指标公式 公式位置:主图 公式优化:标杆2018 适用软件:大智慧7.0以上版本 公式代码: inp t:n1(8,2,100),n2(22,2,100),n3(44,2,100); aa:=(hhv(high,120)-llv(low,120))30; var1:=(2*close+high+low)4; 转换线:(hhv(high,n1)+llv(low,n1))2,coloraaff99,linethick2; 基准线:(hhv(high,n2)+llv(low,n2))2,colorff6dd8,linethick2; 迟行带:ref(close,n2),colorff9224; 先行带a:ref((转换线+基准线)2,n2),coloryellow,linethick2; 先行带b:ref((hhv(high,n3)+llv(low,n3))2,n2),color; stickline(先行带a先行带b,先行带a,先行带b,2,1.5),color; stickline(先行带a=先行带b,先行带a,先行带b,2,0.1),color0033cc; polyline(1,先行带a),coloryellow,linethick1; polyline(1,基准线),colorff6dd8,linethick1; polyline(1,转换线),coloraaff99,linethick1; drawtext(cross(转换线,基准线) and var1min(先行带a,先行带b),min(基准线,low)*0.995,  ),colorred,align0; drawtext(cross(转换线,基准线) and range(var1,min(先行带a,先行带b),max(先行带a,先行带b)),low*0.995, n ),colorred,align0; drawtext(cross(转换线,基准线) and var1max(先行带a,先行带b),low-aa*0.5, nn ),colorred,align0; drawtext(cross(基准线,转换线) and var1min(先行带a,先行带b),max(基准线,high)+aa*2, ▼n▼n▼ ),colorff9966,align0; drawtext(cross(基准线,转换线) and range(var1,min(先行带a,先行带b),max(先行带a,先行带b)),max(基准线,high)+aa, ▼n▼ ),colorff9966,align0; drawtext(cross(基准线,转换线) and var1max(先行带a,先行带b),max(基准线,high)+aa, ▼ ),colorff9966,align0; {阴柱} stickline(open=close ,close ,open,0,0 ),color00ff00; stickline(open=close ,close ,open,8,0 ),color008800; stickline(open=close ,close ,open,7,0 ),color009900; stickline(open=close ,close ,open,6,0 ),color00aa00; stickline(open=close ,close ,open,5,0 ),color00bb00; stickline(open=close ,close ,open,4,0 ),color00cc00; stickline(open=close ,close ,open,3,0 ),color00dd00; stickline(open=close ,close ,open,2,0 ),color00ee00; stickline(open=close ,close ,open,1,0 ),color00ff00; {红柱} stickline(closeopen,close,open,0,0) ,colorffbbff; stickline(closeopen,close,open,8,0) ,colorff00ff; stickline(closeopen,close,open,7,0) ,colorff22ff; stickline(closeopen,close,open,6,0) ,colorff44ff; stickline(closeopen,close,open,5,0) ,colorff66ff; stickline(closeopen,close,open,4,0) ,colorff88ff; stickline(closeopen,close,open,3,0) ,colorff99ff; stickline(closeopen,close,open,2,0) ,colorffaaff; stickline(closeopen,close,open,1,0) ,colorffbbff; (通达信版本,我会抽时间修改,再放到本博文中,敬请近日多留意) 这一指标的系统详细介绍请参照"一目均衡表".转载须注明源于,新浪标杆2018博客.