分享

大智慧牛熊分界副图指标公式

 天府老夫 2020-05-17

指标作为辅助,不作投资依据

 


a:=(3*c l o h)/6;
x1:=(20*a 19*ref(a,1) 18*ref(a,2) 17*ref(a,3) 16*ref(a,4) 15*ref(a,5) 14*ref(a,6)
13*ref(a,7) 12*ref(a,8) 11*ref(a,9) 10*ref(a,10) 9*ref(a,11) 8*ref(a,12)
7*ref(a,13) 6*ref(a,14) 5*ref(a,15) 4*ref(a,16) 3*ref(a,17) 2*ref(a,18)
ref(a,20))/210;
x2:=ema(x1,6);
x3:=ema(x2,5);
{更多指标关注微信公众号:程序化指标}
生命线:EMA(C,21),CIRCLEDOT,color008888;
回调支撑:EMA(C,55),CIRCLEDOT,color888888;
牛熊分界:EMA(C,99),CIRCLEDOT,color888800;
STICKLINE(x2>=x3,x2,x3,30,1),Color000077,layer6;
STICKLINE(x2<x3,x2,x3,30,1),color006600,layer6;
stickline(x2>=x3,h,l,0,1),COLOR0000FF;
stickline(x2>=x3 and c>=o,O,C,5,0),COLOR0000FF;
stickline(x2>=x3 and c<o,o,c,5,1),color0000ff;
stickline(x2<x3,h,l,1,0),color00bb00;
stickline(x2stickline(x2=o,O,C,5,1),COLOR00BB00;
stickline(c=x3,h,l,0,1),COLORFFBB00;
stickline(c=x3 and c>=o,O,C,5,0),COLORFFBB00;
stickline(c=x3 and c<o,o,c,5,1),colorffbb00;
stickline((c>=x3 and x2<x3),h,l,0,1),colorff00ff;
stickline((c>=x3 and x2=o,O,C,5,0),COLORFF00FF;
stickline((c>=x3 and x2
</x3),h,l,0,1),colorff00ff;
</o,o,c,5,1),colorffbb00;
</x3,h,l,1,0),color00bb00;
</o,o,c,5,1),color0000ff;
</x3,x2,x3,30,1),color006600,layer6;
 


    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约