经测试,指标含有REFDATE未来函数,信号谨慎参考。
GUP2:=REF(LOW,1);
GUP3:=SMA(ABS(LOW-GUP2),13,1)/SMA(MAX(LOW-GUP2,0),13,1)*100;
GUP4:=EMA(IF(CLOSE*1.2,GUP3*13,GUP3/13),13);
GUP5:=LLV(LOW,34);
GUP6:=HHV(GUP4,34);
GUP7:=IF(LLV(LOW,56),1,0);
GUP8:=EMA(IF(LOW<=GUP5,(GUP4+GUP6*2)/2,0),3)/618*GUP7;
AA:=GUP8>REF(GUP8,1);
DR:=100;ZRQ:=3;
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);
TJ:=L=ZD;
TJA:AA AND TJ,COLORRED,LINETHICK2;
TJ1:=TJA>REF(TJA,1);
反包买入:=TJ1>REF(TJ1,1),COLORRED,LINETHICK2;
STICKLINE(FILTER(反包买入>=1,5),45,0,4,0),COLORYELLOW;
DRAWTEXT(FILTER(反包买入=1,5),36,'---反包买入'),COLORYELLOW;
STICKLINE(反包买入,40,25,1,0),COLORRED;
STICKLINE(反包买入,25,10,2,0),COLOR00FF00;
STICKLINE(反包买入,10,0,2,0),COLORBLUE;
STICKLINE(反包买入,25,15,0.5,0),COLORYELLOW;
STICKLINE(反包买入,15,6,1,0),COLOR00FF00;