通达信反转妖股主图指标 源码 贴图 AA:=MA((2*CLOSE+HIGH+LOW)/4,5); 通1:=AA*102/100; 通2:=AA*(200-102)/100; CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); DD:=DMA(CLOSE,CC); 上:(1+7/100)*DD,DOTLINE,COLORGREEN; 下:(1-7/100)*DD,DOTLINE,COLORGREEN; 中:(上+下)/2,DOTLINE,COLORGREEN; 上上:EMA(上,181),DOTLINE,COLORRED; 下下:EMA(下,181),DOTLINE,COLORRED; 中中:EMA(中,181),DOTLINE,COLORRED; STICKLINE(上>=上上,上,上上,0,0),COLORRED; DRAWKLINE(H,O,L,C); 顶:=(1+14/100)*DD,LINETHICK2,COLORBLACK; 底:=(1-14/100)*DD,LINETHICK2,COLORBLACK; 触底:=REF(L,1)<底 AND ZT ; DRAWTEXT(触底,L,'反转'),COLORCYAN; STICKLINE(触底,C,O,3,1),COLORYELLOW; STICKLINE(触底,C,O,1,0),COLORRED;
|