推荐回答:
n:=15;k:=8;direction:=abs(close-ref(close,n));volatility:=sum(abs(close-ref(close,1)),n);er:=direction/volatility;fsc:=2/(2+1);ssc:=2/(30+1);sc:=er*(fsc-ssc)+ssc;scsq:=sc*sc;kma:dma(close,scsq),colorwhite,linethick1;threshold:=std(kma-ref(kma,1),20)*k/10;buy0:=kma-llv(kma,4)>threshold;sell0:=hhv(kma,4)-kma>threshold;partline(buy0=1 and sell0=0,kma),colorred,linethick2;partline((buy0=0 and sell0=0) or (buy0=1 and sell0=1),kma),colorwhite,linethick1;partline(buy0=0 and sell0=1,kma),colorgreen,linethick2;b8:=ma(close,1);d8:=ma(close,5);drawicon(buy0=1 and ref(buy0,1)=0 and sell0=0,kma,4);drawicon(buy0=0 and ref(sell0,1)=0 and sell0=1,kma,5);{是要这样的吧}
广告合作商务QQ: 6391-670-971
2023年最新贷款计算器,采用2023年最新房贷基准利率,房贷利率表,提供贷款、商业贷款、公积金买房、个人按揭月供购房等银行房贷利率计算公式在线使用,2023年最好用的房贷计算器,房贷利息计算专家。