A1:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18));R18:A1-0.5,COLORLIMAGENTA;MR3:MA(R18,3),COLORYELLOW,DOTLINE;操作:EMA(A1,5)-0.5,COLORRED,NODRAW;:EMA(A1,21)-0.5,COLORCYAN,NODRAW;棒:=(操作-阻力),COLORSTICK;买:C
[REF(A1,1),COLORMAGENTA,NODRAW;买:REF(棒<0 REF(COUNT(OSS(R18,MR3),6)=1,1)AND>REF(棒,1),COLORWHITE,NODRAW;STICKLINE(棒>0,0,棒,0.1,0),COLORRED;STICKLINE(棒<0>0 AND 棒][REF(棒,1),0,棒,0.1,0),COLORLIRED;STICKLINE(CROSS(操作,阻力),0,棒,0.1,0),COLORYELLOW;DRAWTEXT(CROSS(操作,阻力) AND 阻力<0>0.25,棒,''),COLORGREEN;STICKLINE
]