通达信平底区域买入(指标主图贴图)
趋势1:MA(MA(CLOSE,8),8),COLOR9F9F5F,LINETHICK2;
持股1:IF(C>趋势1,趋势1,DRAWNULL),COLOR9F9F5F,LINETHICK2;
DRAWTEXT_FIX(C>0,0,0.24,0,'走强或升势'),COLORRED;
DRAWTEXT_FIX(C>0,0,0.18,0,'走弱或下挫'),COLORFF0000;
DRAWTEXT_FIX(C>0,0,0.12,0,'买入或加仓'),COLOR00FFFF;
DRAWTEXT_FIX(C>0,0,0.06,0,'中继或调整'),COLOR00FF00;
DRAWTEXT_FIX(C>0,0,0.01,0,'调仓或卖出'),COLORFFFFFF;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=O,C,O,0,0),COLORRED;
STICKLINE(C<O,H,L,0,0),COLOR00FF00;
STICKLINE(C<O,C,O,0,0),COLOR00FF00;
STICKLINE(C>=O,C,O,3.0,0),COLOR0000BB ;
STICKLINE(C>=O,C,O,2.5,0),COLOR0000CC;
STICKLINE(C>=O,C,O,2.0,0),COLOR0000DD ;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000EE;
STICKLINE(C>=O,C,O,1.0,0),COLOR0000FF;
STICKLINE(C>=O,C,O,0.3,0),COLOR0000FF;
STICKLINE(C<=O,C,O,3.0,0),COLOR009F00;
STICKLINE(C<=O,C,O,2.4,0),COLOR00AA00;
STICKLINE(C<=O,C,O,1.8,0),COLOR00BB00;
STICKLINE(C<=O,C,O,1.2,0),COLOR00CC00;
STICKLINE(C<=O,C,O,0.8,0),COLOR00DD00;
STICKLINE(C<=O,C,O,0.3,0),COLOR00FF00;
K:='KD.K';
D:='KD.D';
DRAWTEXT(K<D AND FILTER(CROSS(69,((SMA(MAX((CLOSE - REF(CLOSE,1)),0),8,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),8,1)) * 100)),10),HIGH*1.0,'..........走弱'),COLORFF2400;
STICKLINE(K<D,OPEN,CLOSE,3.0,0),COLORFF0000;
STICKLINE(K<D,OPEN,CLOSE,2.5,0),COLORFF1100;
STICKLINE(K<D,OPEN,CLOSE,2.0,0),COLORFF2200;
STICKLINE(K<D,OPEN,CLOSE,1.5,0),COLORFF3300;
STICKLINE(K<D,OPEN,CLOSE,1.0,0),COLORFF4400;
STICKLINE(LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)
=LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),9)
AND COUNT(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8)<0,2)
AND CROSS(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),
MA(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)),O,C,3,0),COLOR0055AA;
STICKLINE(LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)
=LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),9)
AND COUNT(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8)<0,2)
AND CROSS(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),
MA(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)),O,C,2.5,0),COLOR0077CC;
STICKLINE(LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)
=LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),9)
AND COUNT(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8)<0,2)
AND CROSS(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),
MA(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)),O,C,2.0,0),COLOR0099CC;
STICKLINE(LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)
=LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),9)
AND COUNT(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8)<0,2)
AND CROSS(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),
MA(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)),O,C,1.5,0),COLOR00AAFF;
STICKLINE(LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)
=LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),9)
AND COUNT(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8)<0,2)
AND CROSS(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),
MA(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)),O,C,1.0,0),COLOR00CCFF;
STICKLINE(LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)
=LLV(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),9)
AND COUNT(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8)<0,2)
AND CROSS(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),
MA(100*EMA(EMA(C-REF(C,1),8),8)/EMA(EMA(ABS(C-REF(C,1)),8),8),2)),O,C,0.5,0),COLOR00FFFF;
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100);
VAR3:=CROSS(79,VAR2);
VAR4:=FILTER(VAR3,4);
STICKLINE(VAR4,O,C,3.0,0),COLORFFFFFF;
STICKLINE(VAR4,O,C,2.7,0) COLOR888888;
STICKLINE(VAR4,O,C,2.3,0) COLOR999999;
STICKLINE(VAR4,O,C,2.0,0) COLORBBBBBB;
STICKLINE(VAR4,O,C,1.6,0) COLORCCCCCC;
STICKLINE(VAR4,O,C,1.1,0) COLORDDDDDD;
STICKLINE(VAR4,O,C,0.7,0) COLOREEEEEE;
STICKLINE(VAR4,O,C,0.2,0) COLORFFFFF0;
趋势:MA(MA(CLOSE,2),2),COLORFFFFFF,LINETHICK2;
持股:IF(C>趋势,趋势,DRAWNULL),COLORFF0000,LINETHICK2;
A0:=(L+H+C*2)/4;
工作:=EMA(A0,14)COLORYELLOW,LINETHICK1;
度假:=EMA(A0,25)COLORYELLOW,LINETHICK2;
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
A2X:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(A1X,0));
A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
- 上一篇公式:通达信有庄就跟指标副图贴图
- 下一篇公式:通达信见到庄家(指标副图贴图)