通达信指标主力建仓如下: 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,-10,0);空跌幅度:=if(var10,var10,0);主力建仓提醒 and 空跌幅度; 20210311
a:=((ref(c,3)-ref(c,1))/c)*100>6;a1:= close>ref(close,1)*1.03 ;a2:=cross(j,ma(j,2)) and c>o;a3:= ref(((h-o)/c)*100<2,1);a4:=ref(c<o,2) and ref(c<o,1);a5:=((h-c)/c)*100<2 and h>...
ctx:=(3*c+h+l+o)/6;iong:=(8*ctx+7*ref(ctx,1)+6*ref(ctx,2)+5*ref(ctx,3)+4*ref(ctx,4)+3*ref(ctx,5)+2*ref(ctx,6)+ref(ctx,8))/36;ctxiong:=vol=hhv(vol,10) and vol>2*ref(vol,1) and close>iong and c>...
var7:=ema(amount/vol/100,3);var8:=ema(var7,88);var9:=ema(var7,88)*0.85;vara:=var9*0.87;varb:=low<vara and close>ref(close,1)*1.02;坚决买进:=filter(varb,6);varf:=(2*close+high+low)/4;va4:=llv(low,34)...
均价:=amount/vol/100,coloryellow;ll:=c<ref(c,1) and c/均价<(1-0.03);ll1:=cross(sum(ll,0),0.5);bb1:=sum(ll1,0)*cross(count(c>ref(c,1),barslast(ll1)),0.5);cb1:=const(sum(if(bb1,ref(c,1),draw**),0))...
以下是修改过的,按问题要求做的股票选股公式,用软件实际测试过能达到要求,可以使用: za1:=sma(close,2,1);za2:=ema(c,2);za3:=ema(slope(c,24)*20+c,42);bu:=cross(za2,ref(za2,1)*1.017);sel:=cross(za3,za2);zmin:bu and cross(za2,za3*1.008)and za1>...