九毛八公式指标
公式模块:
WW:=BArslAST(DISPSTATUS=1);
低涨:(C/LLV(LOW,WW)-1)*100,LINETHICK0,colorred;
高点:(C/HHV(HIGH,WW)-1)*100,LINETHICK0,colorred;
天:=BARSLAST(L=LLV(LOW,WW));
天1:=BARSLAST(h=hhV(h,Ww));
DRAWTEXTABS(145,10,'◇低点至今上涨:'+NUMTOSTRN(低涨,2)+'%'+NUMTOSTRN(天,0)+'颗'),COLORred,LAYER0;
DRAWTEXTABS(295,10,'◇高点至今下降:'+NUMTOSTRN(高点,2)+'%'+NUMTOSTRN(天1,0)+'颗'),COLORred,LAYER0;
这是一高点低点指标,我想再加一个低点到高点的换手率,和高点到底点的换手率,那位老师给做一下,谢谢了 WW:=BARSLAST(DISPSTATUS=1);
低涨:(C/LLV(LOW,WW)-1)*100,LINETHICK0,colorred;
高点:(C/HHV(HIGH,WW)-1)*100,LINETHICK0,colorred;
天:=BARSLAST(L=LLV(LOW,WW));
天1:=BARSLAST(h=hhV(h,Ww));
A:=SUM(V/CAPITAL*100,天);
B:=SUM(V/CAPITAL*100,天1);
DRAWTEXTABS(130,10,'◇低点至今上涨:'+NUMTOSTRN(低涨,2)+'%'+NUMTOSTRN(天,0)+'颗'+' 换手:'+NUMTOSTRN(A,2)),COLORred,LAYER0;
DRAWTEXTABS(350,10,'◇高点至今下降:'+NUMTOSTRN(高点,2)+'%'+NUMTOSTRN(天1,0)+'颗'+' 换手:'+NUMTOSTRN(B,2)),COLORred,LAYER0;