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
E31:=HIGH>H2 AND LOW
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
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