有戏了,原码如下请收藏,有什么特殊要求,请联系dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;yx:=if(c>o and ref(c>o,1) and ref(c>o,1),1,0);m:=if(macd>0 and macd<ref(macd,1) and ref(macd,1)...
哥们,你的表达有问题,周日不分啊,应该是这样:周线公式 周k线站上5周均线 ,同时5周均线多头向上, 然后这一周的前3周k线要在5周均线之下的公式。两种写法:一是公式内不指定周期,写好后把k线周期调到周线下就行了。ar1:=c>ma(c,5) and ma(c,5)>ref(ma(c,5),1);ar2:=hma(c,5)#week and ma(c,5)#week>ref(ma(c,5)#w...