以下是同花顺量能平台指标公式
量能平台
HV:=HHV(V,5)=V OR V/REF(V,1)>=5 ;
FT:=BARSLAST(HV);
量能平台:IF(HV,C,REF(C,FT)),colorwhite,LINETHICK2;
HV0:=HHV(V,2)=V OR V/REF(V,1)>=5 ;
FT0:=BARSLAST(HV0);
量能平台0:IF(HV,C,REF(C,FT0)),colorgreen,LINETHICK1;
DRAWTEXT(量能平台>REF(量能平台,1) AND C>REF(C,1) AND NOT(C>MA(C,13)AND C=HHV(C,20) AND C/REF(C,1)>1.05),C,\’———\’),coloryellow;
DRAWTEXT(量能平台>REF(量能平台,1)AND C<REF(C,1),C,\’———带量阴\’),colorgreen;
//drawtext(量能平台<=ref(量能平台,1) and c<ref(c,1),c,\’———-\’,c),colorgreen;//
DRAWTEXT(量能平台REF(C,1),C,\’———缩量涨\’),colorwhite;
DRAWTEXT(量能平台>REF(量能平台,1) AND C>REF(C,1) AND C>MA(C,13)AND C=HHV(C,20) AND C/REF(C,1)>1.05,C,\’———带量突破\’),colorred;