bb:=ma(c,5)>ma(c,20) and ma(c,20)>ma(c,60) and ma(c,60)>ma(ref(c,60),1);aa:=barssincen(v>ref(v,1)*2,50);ll:=ref(l,aa);sc:l<ll and bb;您好公式已经测试通过,是符合您要求的,但是我不知道您想达成什么样的效果,也欢迎您进一步追问,祝愿您投资顺...
朋友,以下是你要的主图公式:dif:=ema(close,10)-ema(close,20);dea:=ema(dif,9);m:=(dif-dea)*2,colorstick;enterlong:filter(m>ref(m,1) and m<0,4);exitlong:filter(m<ref(m,1) and m>0,4);
{大智慧已通过,和你要的一模一样}核心k线:v/ref(v,1)>=1.91 and c>ref(c,1) and c>o,linethick0;tt:=v=hhv(v,21);bbl:=核心k线 and tt;bl:=filter(bbl,2);k1:=sumbars(bl,1);stickline(k1,ref(c,k1-1),ref(c,k1-1),8,0),colorye...