var1:=(hhv(high,21)-close)/(hhv(high,21)-llv(low,21))*100-10;var2:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;var3:=sma(var2,13,8);多方能量:=sma(var3,13,8);空方能量:=sma(var1,21,8);xg:多方能量>=空方能量 and 多方能量>=ref(多方能量,1)and cross(多方能量,40);参考资料:... 20210311
用这个就行了:a1:=(dvol/c)/2;a2:=sum(if(a1>100 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>100 and close<ref(close,1),a1,0),0);a4:=sum(if(a1<100 and close>ref(close,1),a1,0),0);a5:=sum(if...
{1.}var2:=(2*close+high+low)/4;var3:=if(year>=2099 and month>2,0,1);var4:=llv(low,5);var5:=hhv(high,4);散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;**:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;短快进:cr...
dif:1000*(ema(close,12)-ema(close,26))/abs(ema(close,12));macd:ema(dif,9);def:2*(dif-macd),nodraw;stickline(def>=0 and def>=ref(def,1),0,def,2,1),color6058ff;stickline(def>=0 and def< ref(...