n{2.90.9}m1{2.30.3}m2{2.30.3}rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;k:=sma(rsv,m1,1);d:=sma(k,m2,1);j:=3*k-2*d;金叉:=barslastcount( j>k and k>d)=1;diff :=(ema(close,12)-ema(close,26))*100/ema(close,26);dea := ema(diff,9);xg:cross(ma(c,5),ma(c,10)) and cross(ma(v,5),ma(v,10)) and cross(diff,dea) and 金叉; 20210311
n:=20;m:=32;p1:=80;p2:=100;var1:=(c+h+o+l)/4;卖出:=(var1,n)*(1+p1/1000),;买入:=(var1,m)*(1-p2/1000);幅度:=100*(卖出-买入)/买入;ma1:=ma(var1,3);a1:=stickline(卖出> and 卖出<,卖出,(卖出,(,close)),3,0);a2:=stickline(卖...
涨跌幅:=(c-ref(c,1))/ref(c,1)*100;向右线:ref(o,barslast(涨跌幅>5)),colorgreen,dotline;a1:=if(ref(c,1)=o and((ref(c>o,1) and c<o)or (ref(c<o,1) and c>o)),ref(c,1),0);水平线:drawline(a1,a1,ref(a1,1),...
通达信的好像没有,以下是大智慧的,供参考:止盈线:ema(c,7),linethick1,colorwhite;工作线:ema(c,14),linethick1,coloryellow;生命线:ema(c,25),colorred,linethick1;drawicon(cross(工作线,生命线),工作线*0.95,5);drawicon(cross(c,生命线) and c>ema(c,...