趋势H1:EMA(CLOSE,6);
H2:EMA(趋势H1,18);
H3:EMA(CLOSE,108),coloryellow;
STICKLINE(趋势H1>H2,趋势H1,H2,1,1),colorred;
STICKLINE(趋势H1
AB1:=REF(C,10)=HHV(C,2*10+1); BB1:=FILTER(AB1,10); CB1:=BacKSET(BB1,10+1); HBD:=FILTER(CB1,10);
近期压力:REF(C,BArslAST(HBD)),NODRAW,coloryellow;
STICKLINE(C,近期压力,近期压力,10,0),coloryellow ;DRAWTEXT(ISLASTBAR,近期压力,' 近期压力');
AS1:=REF(C,60)=HHV(C,2*60+1); AS2:=FILTER(AS1,60); AS3:=BACKSET(AS2,60+1); AS4:=FILTER(AS3,60);
长期压力:REF(C,BARSLAST(AS4)),NODRAW,colorred;
STICKLINE(C,长期压力,长期压力,10,0),colorred;DRAWTEXT(ISLASTBAR,长期压力,' 长期压力');
跌幅:=(C-REF(C,1))/REF(C,1)*100<-4.94;
箱顶:DRAWLINE(跌幅,O,REF(跌幅,1),REF(O,1),1),colormagenta,LINETHICK2;
DRAWTEXT(ISLASTBAR,箱顶,' 箱顶');
Z1:=Abs(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
Z2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),Z1);
金线王:EMA(Z2,200)*1.118,colorcyan,LINETHICK1;
DF2:=(C-REF(C,1))/REF(C,1)*100>9;
金k线:=crOSS(C,金线王) AND DF2;
标签:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03;
DRAWTEXT(标签,H,'标签'),colorred;
DRAWTEXT(金K线,L*0.98,'↖金K线'),colorgreen;