v1:=(c*2+h+l)/4*10;v2:=ema(v1,13)-ema(v1,34);v3:=ema(v2,5);v4:=2*(v2-v3)*5.5;主力开始进:if(v4>=0 and ref(v4,1)<0,1,0);v8:=(indexc*2+indexh+indexl)/4;v9:=ema(v8,13)-ema(v8,34);va:=ema(v9,3);vb:=(v9-va...
公式如下:选择的范围太大,我给你加了点限制,让你有更多的选择空间。ma30:=ma(c,30);diff:=ema(close,12)-ema(close,26); dea:=ema(diff,9); macd:=2*(diff-dea); fh1:=ref(macd,1)<ref(macd,2) and ref(macd,2)<ref(macd,3) and ref(macd,3)&...
stickline(平均线>=ref(平均线,1),波动线,ref(波动线,1),5,0);stickline(平均线(平均线,1),波动线,ref(波动线,1),5,0);d:信息=1 and ref(信息,1)=0 and(ref(信息,2)+ref(信息,3)=0)and 平均线;选股公式只能有一个输出,保留最下面一行,上面2行去掉。
五天涨幅:=(c/ref(c,5)-1)*100;十天涨幅:=(c/ref(c,10)-1)*100;五天势能:=if(五天涨幅/5>0,五天涨幅/5,0);十天势能:=if(十天涨幅/10>0,十天涨幅/10,0);五天强势:=五天势能>2.5;十天强势:=十天势能>1.5;ref(五天势能,1)=0 and 五天势能>0 and ref(十天势能,1)=0 and...