通达信六线通道主图指标公式
2020/4/26 18:43:04
估:=(2*CLOSE+LOW+HIGH)/4;
界:=SLOPE(CLOSE,21)*20+CLOSE;
文:=EMA(估,40)*0.85;
卖线:=EMA(估,55)*1.3;
捞钱线:=EMA(估,55);
保本线:=(捞钱线+文)/2;
STICKLINE(C>=保本线 AND REF(C,1)<保本线 AND REF(C,2)>保本线,O,C,3,0),COLORRED;
STICKLINE(C>=保本线 AND REF(C,1)<保本线 AND REF(C,2)>保本线,L,H,0.2,0),COLORRED;
STICKLINE(FILTER(C>=捞钱线 AND L<捞钱线,2),O,C,3,0),COLORYELLOW;
STICKLINE(FILTER(C>=捞钱线 AND L<捞钱线,2),L,H,0.2,0),COLORYELLOW;
STICKLINE(FILTER(CROSS(卖线,CLOSE),3),O,C,3,0),COLORGREEN;
STICKLINE(FILTER(CROSS(卖线,CLOSE),3),L,H,0.2,0),COLORGREEN;
DRAWICON(C>=保本线 AND REF(C,1)<保本线 AND REF(C,2)>保本线,L*0.96,9);
DRAWICON(FILTER(C>=捞钱线 AND L<捞钱线,2),L*0.98,1);
DRAWICON(FILTER(CROSS(卖线,CLOSE),3),H*1.03,2);
V10日涨跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORYELLOW,NODRAW;
VAR1:=IF(DATE>=10211201,0,1);
VAR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
VAR3:=EMA(CLOSE,3);
VAR4:=(2*CLOSE+LOW+HIGH)/4*VAR1;
VAR5:=VAR2-VAR3;
风险线:EMA(VAR4,45)*1.15,COLORFFFF00;
必卖线:EMA(VAR4,55)*1.3,POINTDOT,LINETHICK4;
底线:EMA(VAR4,40)*0.85,COLORFF00FF;
铁底线:EMA(VAR4,88)*0.7,POINTDOT,LINETHICK4,COLORGREEN;
成本线:EMA(VAR4,55),COLORYELLOW;
价值中枢: (成本线+底线)/2,COLORWHITE;
DRAWTEXT(ISLASTBAR,风险线,'风险'),COLORFFFF00;
DRAWTEXT(ISLASTBAR,必卖线,'必卖'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,底线,'安全'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,铁底线,'铁底'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,成本线,'拉升'),COLORRED;
DRAWTEXT(ISLASTBAR,价值中枢,'强弱'),COLORWHITE;
AAPP:MA(MA(CLOSE,3),1),LINETHICK3,COLORGREEN;
IF(AAPP>=REF(AAPP,1),AAPP,DRAWNULL),COLORFF00FF,LINETHICK3;
XXS:=MA(HIGH,5)*(1+5/100);
DRAWTEXT(CROSS(XXS,C),H*1.02,'开盘逃'),COLORYELLOW;
LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,2);MA15:=EMA(CLOSE,26);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.999),'中继'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'逃顶'),COLOR1880FF;
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
XXS1:=MA(HIGH,5)*(1+5/100);
DDDD:=CROSS(C,XXS1);
DRAWTEXT(DDDD,HIGH*1.02,'明走'),COLORYELLOW;
多头线:=EMA(C,1.5),COLOR0000CC;
空头线:=EMA(C,5),COLORMAGENTA;
均衡线:=EMA(空头线,5),COLORGREEN;
VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;
VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);
DRAWTEXT(ZAI,均衡线*0.99,'↖主力拉升'),COLOR00FF00;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120),COLORLIBLUE;
MA250:=MA(CLOSE,250),COLORBLUE;
DRAWTEXT(CROSS(MA20,MA30),L,'牛相关注20'),COLORMAGENTA;
DRAWTEXT(CROSS(MA30,MA60),L,'初生牛犊30'),COLORGREEN;
DRAWTEXT(CROSS(MA60,MA120),L,'霸占大牛60'),COLORBLUE;
DRAWTEXT(CROSS(MA120,MA250),L,'牛气冲天120'),COLORYELLOW;
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK1;
STICKLINE(买进条件,O,C,2.5,0),COLORWHITE,LINETHICK2;
加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;
STICKLINE(加码条件,O,C,1.5,0),COLORYELLOW,LINETHICK2;
M1:=MA(CLOSE,13);
A:=MA(C,5);
DRAWTEXT(LAST(MA(C,5)<MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) AND CROSS("CCI.CCI",-100),L*0.99,'⊕底');
DRAWTEXT(CROSS(A,M1),M1,'◣周加'),COLORWHITE;
DRAWTEXT(A>=REF(A,1) AND REF(A,1)<REF(A,2),A,'◣周买'),COLORYELLOW;{周线上买入,中期持有,月线上更好};
{PEAKBARS未来判断明日顶部,收市前指标不消失请逃顶}
VAR3A:=PEAKBARS(3,15,1)<10;
VAR5A:=IF(VAR3A=1,2,0);
顶:= IF(VAR5A=2,2,0);
顶A:=IF(顶>REF(顶,1),50,0);
DRAWTEXT(顶A=50,H * 1.02,'逃命'),COLOR00FF00;
T:=BARSLAST(L>REF(H,1));
E:=COUNT(L<REF(H,T+1),T)<2;
DRAWTEXT(L<REF(H,T+1 ) AND E,L*0.99,'缺口回补'),COLOR0099FF;
Y:=CLOSE/REF(CLOSE,1)>1.07;
X:=VOL>MA(VOL,5);
A1:=Y AND X;
DRAWTEXT(A1,L*0.999,'攻涨停'),COLORMAGENTA;
Z:=CLOSE/REF(CLOSE,1)<0.93;
W:=VOL<MA(VOL,5);
A2:=Z AND W;
DRAWTEXT(A2,H*1.01,'小心跌停'),COLORGREEN;
B36:=MA(CLOSE,3) - MA(CLOSE,6);
B612:=MA(CLOSE,6) - MA(CLOSE,12);
J:=((B36)/(CLOSE))*(10);
J1:=((B612)/(CLOSE))*(10);
DRAWTEXT((J < (-0.2)) AND (J1 < (-0.2)) AND CROSS(J,J1),(LOW)*(0.999),'大牛'),COLORRED;
看 股吧公式 www. kanguba.com
其它股票公式列表