我是小小楠瓜呀
2024-11-30 01:54:46
最佳回答
这样应该能用:rsv:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;k:=(sma(rsv,10,1)); d:=(sma(k,5,1)); kk:=intpart(sma(rsv,10,1)); dd:=intpart(sma(k,5,1)); n:kk+dd,linethick2;精确涨停:if(cross(n,50),90,50),colorgreen; 接近头部:if(cross(160,n),95,160),colorblue; 尾数:mod(n,10),linethick0,coloryellow; if(尾数=ws and cross(n,50),115,50),colorred;再把下文复制到参数自述里:input:ws(3,0,9);{ws是n的尾数,ws=3,尾数,0~9之间整数,可调节参数}再在参数名里输入:ws 最小:0,最大10,缺省:5。另外再附送一个公式,直接复制即可。主力持仓公式:主力持仓:ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3),colorff00ff,linethick2;指数趋势:ema(100*(indexc-llv(indexl,34))/(hhv(indexh,34)-llv(indexl,34)),3),colorffaa66,linethick3; 强弱分界: 80,coloryellow;主力**集中度:winner(c)*100 ,colorred,linethick2;散筹**集中度:(winner(c*1.1)-winner(c*0.9))*100 ,colorgreen,linethick2 20210311