a:=v*100/capital;小黑马:=ma(a,180);diff0:=(ema(dclose,12)-ema(dclose,26))*100;dea0:=ema(diff0,9);macd0:=2*(diff0-dea0);zkk:="kd.k#week"(9,3,3),colorred;zkd:="kd.d#week"(9,3,3),coloryellow;kcd:=filter(cross(zkk,zkd) and ref(zkd,1)<30,13);xg1:kcd and (macd0>ref(macd0,1)*2.5 and macd0>15);在最后一句中and 两个条件都满足或者改成or只要一个条件满足,你自己决定了。还有什么问题q我了,非常乐意为大家解答问题 20210311
第一个公式源码:**空间:=if(winner(close),winner(close)*100,20);**空间<-70;------------------------------------------------------第二个公式源码:ac:=last(c>ref(c,1),4,1) and c<ref(c,1);{价格条件}bv:=last(vol>ref(v...
{主图}t1:=ma(c,15);if(c>=t1 and t1>=ref(t1,1),t1,draw**),colorred;if(c<t1 or t1<ref(t1,1),t1,draw**),colorgreen;stickline(c>=t1 and t1>=ref(t1,1),c,h,0,0),colorred;stickline(c>=t1 a...