nn:=barslast(date<>ref(date,1))+1;kh:=hhv(nn,300);vertline(date<>refx(date,1)and **lastbar<>1 and kh<>1),colorblue;qq:=amount-ref(amount,1);k1:=if(close>open and qq>=0,qq,0);kk1:=if(close,qq,0);kkk1:=if(close=open,qq*0.5,0);k2:=if(close<open and qq>=0,qq,0);kk2:=if(close>open and ... 20210311
{“主力持仓”+“主力**集中度”共同上涨的选股公式}主力持仓:=ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3);主力**集中度:=winner(c)*100 ;主力持仓>ref(主力持仓,1) and 主力**集中度>ref(主力**集中度,1);
{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...