忘了是在什么地方发现的这个公式了,反正是很久以前的吧
不是原创,所以源码奉上
V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
V2:=REF(V1,1);
V3:=MAX(V1-V2,0);
V4:=ABS(V1-V2);
V5:=SMA(V3,10,1);
V6:=SMA(V4,10,1);
V8:=COUNT(((V5)/(V6) 0.2),5);
V9:=COUNT((LLV(V1,10)=V1),10);
VAR1:=IF((V8 =1) AND (V9 =1) AND (CLOSE OPEN) AND (REF(CLOSE,1) REF(OPEN,1)) AND (VOL REF(VOL,1)),1,0),COLOR00FFFF;
VR1:FILTER(VAR1,4),COLORRED;
DRAWTEXT(VR1,0.82,'金窝窝'),COLORYELLOW;