多空量能趋势(副图、源码、无未来、贴图)介绍
多空量能趋势(副图、源码、无未来、贴图)
以下源码简单易明
N:=20;
P:=30;
K:=10;
正量能:MA(100*(L- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),3),COLORYELLOW,LINETHICK1;
负量能:MA(-100*(L- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),3),COLORWHITE,LINETHICK1;
正趋势: EMA(100*(L-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P)),K)/2,COLORRED;
负趋势: EMA(-100*(L-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P)),K)/2,COLORGREEN;
gd12719