飞狐主力建仓提醒指标公式股票软件源码如下: var10:=100*(c-cost(10))/cost(10); var1:=(close-llv(low,28))/(hhv(high,28)-llv(low,28))*100; var2:=sma(var1,4,1); var3:=sma(var2,2,1); var4:=vol/capital*34; var5:=ref(var4,1); 主力建仓提醒: if(var3<8.5 and var2<11,-10,0),colorred; 空跌幅度:if(var10<0,var10,0),coloryellow,linethick2; -10,colorccff99,pointdot; -20,colorccff99,pointdot; -25,colorccff99,pointdot; |