VV:=IF(CLOSE>REF(CLOSE,1) ,1,-1);{可调节参数}
YY:=SUM(IF(CLOSE=REF(CLOSE,1),0,VV),0);{可调节参数}
BBB:=YY-REF(YY,1);
量能等k线:SUM(BBB,0)COLORYELLOW;
MAA:HHV(量能等K线,2),COLORLIRED,LINETHICK1,DOTLINE;
MAB:LLV(量能等K线,2),COLORLIBLUE,LINETHICK1,DOTLINE;
STICKLINE(BBB>0 ,BBB+量能等K线,量能等K线,1,1),COLORLIRED;
STICKLINE(BBB<0 ,量能等K线+BBB,量能等K线,1,1),COLORLIBLUE;
H2:=REF(HIGH,10);
L2:=REF(LOW,10);
E1:=HIGH>H2 AND LOW>=L2
AND CLOSE>REF(CLOSE,1);
E11:=HIGH>H2 AND LOW>=L2
AND CLOSE<=REF(CLOSE,1);
E2:=LOW<L2 AND HIGH<H2;
E3:=HIGH>H2 AND LOW<L2
AND CLOSE>REF(CLOSE,1);
E31:=HIGH>H2 AND LOW<L2
AND CLOSE<=REF(CLOSE,1);
E4:=HIGH<=H2 AND LOW>=L2;
TURBO:=SUM(IF(E1,HIGH,IF(E11,LOW,IF(E2,-HIGH,IF(E3,HIGH,IF(E31,-HIGH,IF(E4,0,0)))))),0)/100,LINETHICK1,COLORGRAY,DOTLINE;
STICKLINE(TURBO>=REF(TURBO,1),量能等K线,BBB+量能等K线,1,1),COLORLIMAGENTA;{股票之友自创定位参数}
STICKLINE(TURBO<REF(TURBO,1),量能等K线,量能等K线+BBB,1,1),COLORBLUE;{股票之友自创定位参数}
STICKLINE(BBB>=0 AND C=HHV(C,5) AND MAA>REF(MAA,1),BBB+量能等K线,量能等K线,1.0,0),COLORRED;{调节参数作为减仓依据}
STICKLINE(BBB<0 AND C=LLV(C,5) AND MAB<REF(MAB,1),量能等K线+BBB,量能等K线,1.0,0),COLORGREEN;{调节参数作为减仓依据};
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/171962.html,转载请注明出处。