通达信熊抱主图指标 源码 贴图 牛:=6*HHV(熊,2.5)-5*熊; 离卦:2*熊-牛,COLORGREEN,DOTLINE; 牛2:EMA(EMA(EMA(CLOSE,3),3),3),COLORRED; DRAWBAND(牛,RGB(190,10,10),牛2,RGB(10,10,0)); DRAWBAND(牛2,RGB(70,80,190),离卦,RGB(10,10,0)); DRAWKLINE(H,O,L,C); DRAWTEXT(熊-离卦>0.65 AND REF(离卦,1)<=REF(离卦,2) AND 离卦>REF(离卦,1),离卦,'熊笑'),COLORWHITE; 昨日涨幅:=C/REF(C,1); DFT:=熊-离卦>0.3 AND REF(离卦,1)<=REF(离卦,2) AND 离卦>REF(离卦,1); DRAWTEXT(FILTER(离卦>REF(离卦,1) AND ATAN((离卦/REF(离卦,1)-1)*100)*55.3>40 AND DFT,3),离卦-0.2,'熊抱'),COLORYELLOW;
|