通达信每周5%指标公式,通达信持仓k线主图指标公式
admin888
|通达信每周5%指标公式,通达信持仓k线主图指标公式
通达信每周5%指标公式
参数: N1:1,100.10; N2:0,30,3; P:1,100,6}
V1:=emaCLOSE,5)-Ema(CLOSE,340);
V2:=EMA(V1,144);
V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLOR00BB00;
卖出:-1*IF((cr(98.5,V3) AND V1>V2) AND COUNT(V3>97,3)=2,20,0)+90,COLORFF9900;
抄:IF(CROSS(V3,5) AND V1
DRAWTEXT(CROSS(V3,5) AND V1
DRAWTEXT(CROSS(98.5,V3) AND V1>V2,75,'卖'),COLOR00FF00;
TT2:=dma((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
LC := REF(CLOSE,1);
rsi1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;
短卖:=stICKLINE(CROSS(RSI1,80),60,95,2,0),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(RSI1,80),98,' 卖'),COLORFFFFCC;
买R:STICKLINE(CROSS(RSI1,50),30,70,1,0),COLORRED,LINETHICK1;
DRAWTEXT(CROSS(RSI1,50),50,' 买'),COLORFFFFCC;
压力:= HHV(MA(RSI1,3),13),COLORGREEN;
支撑:=LLV(MA(RSI1,3),13),COLORYELLOW;
AA:=REF(RSI1,N2)=HHV(RSI1,2*N2+1);
BB:=BacKSET(AA,N2+1);
CC:=FILTER(BB,N2) AND RSI1=HHV(RSI1,N2+1);
K1:=BArslAST(REF(CC,1));
顶背离:=REF(CLOSE,K1+1)
DRAWTEXT(顶背离,RSI1*1.2,'顶');
DRAWLINE(CC,RSI1,FILTER(顶背离>0,5),RSI1,0),COLORWHITE;
DRAWICON(顶背离,RSI1*1.1,2);
AA2:=REF(RSI1,N2)=LLV(RSI1,2*N2+1);
BB2:=BACKSET(AA2,N2+1);
CC2:=FILTER(BB2,N2) AND RSI1=LLV(RSI1,N2+1);
K2:=BARSLAST(REF(CC2,1));
底背离:REF(CLOSE,K2+1)>CLOSE AND REF(RSI1,K2+1)
DRAWTEXT(底背离,RSI1*1.2,'底');
DRAWLINE(CC2,RSI1,FILTER(底背离>0,5),RSI1,0),COLORWHITE;
DRAWICON(底背离,RSI1*0.98,1);
A:=EMA(AMOUNT/C/1000000,7);
MID :=EMA(A,P);
UPPER:=MID + 196/100*STD(A,25);
LOWER:=MID - 196/100*STD(A,25);
饱和度:IF((A-LOWER)/(UPPER-LOWER)>1,1,(A-LOWER)/(UPPER-LOWER)),COLORWHITE;
{STICKLINE(((CLOSE > 0) AND ISLASTBAR ),0,1,3,1),COLORFFFFFF;
STICKLINE(((CLOSE > 0) AND ISLASTBAR ),0.01,0.99,2.5,1),COLORFFFF00;}
STICKLINE(饱和度>=1,0,90,4,0),COLORRED;
H1:=EMA(C,8);
H2:=EMA(H1,20);
HH2:=EMA(CLOSE,14);
HH3:=MEMA(CLOSE,4);
VAR1:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,7,1);
VAR3:=SMA(VAR2,5,1);
全仓:CROSS(VAR2,VAR3) AND VAR2<20 AND HH2>HH3;
N5:=BARSLAST(CROSS(CLOSE,TT1));
N6:=BARSLAST(CROSS(TT1,CLOSE));
黑马跟踪:IF(N5
操:DRAWTEXT(黑马跟踪=1,TT2 + TT2*(0.5),'操'),COLORRED;
涨幅:DYNAINFO(14)*100,LINETHICK0 ;
涨踪:(C-REF(C,黑马跟踪))/REF(C,黑马跟踪)*100;
通达信持仓k线主图指标公式
使用说明:红色持股,绿色空仓,白色为预警。
{rsi指标}LC:=REF(CLOSE,1);
RSI1:=SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
{智慧主图}X9:=FORCAst(C,9);
LLX:=LLV(FORCAST(C,9),2);
XX9:=X9*100-LLX*100;
DRAWBAND(X9,RGB(255,255,0),LLX,RGB(0,255,0));
D:IF(XX9=0,LLX,DRAWNULL),COLORGREEN;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4A:=SMA(VAR3A,3,1);
VAR5A:=SMA(VAR4A,3,1)+100;
VAR6A:=VAR5A-VAR2A;
端庄窝:=IF(VAR6A>21,VAR6A-21,0);
{画图}T1:=(XX9=0 AND 端庄窝<=REF(端庄窝,1));
T2:=(XX9=0 AND 端庄窝>REF(端庄窝,1));
T3:=(XX9>0 AND 端庄窝>REF(端庄窝,1));
T4:=(XX9>0 AND 端庄窝<=REF(端庄窝,1));
T5:=RSI1>=RSI2;
T6:=RSI1
STICKLINE(T1,H,L,0,1),COLORGREEN;
STICKLINE(T1 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(T1 AND C
STICKLINE(T2 AND T5,H,L,0,1),COLORWHITE;
STICKLINE(T2 AND T5 AND C>O,O,C,3,1),COLORWHITE;
STICKLINE(T2 AND T5 AND C
STICKLINE(T2 AND T6,H,L,0,1),COLORGREEN;
STICKLINE(T2 AND T6 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(T2 AND T6 AND C
STICKLINE(T3,H,L,0,1),COLORRED;
STICKLINE(T3 AND C>O,O,C,3,1),COLORRED;
STICKLINE(T3 AND C
STICKLINE(T4 AND T5,H,L,0,1),COLORWHITE;
STICKLINE(T4 AND T5 AND C>O,O,C,3,1),COLORWHITE;
STICKLINE(T4 AND T5 AND C
STICKLINE(T4 AND T6,H,L,0,1),COLORGREEN;
STICKLINE(T4 AND T6 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(T4 AND T6 AND C
STICKLINE(T3 AND C
STICKLINE(T3 AND C>O AND C
STICKLINE(T3 AND C
{均线}短线:=MA(CLOSE,6),COLOR0000FF,LINETHICK2;
中线:MA(CLOSE,33),COLORCYAN,LINETHICK2;
多:IF(短线>=中线,中线,DRAWNULL),COLORMAGENTA,LINETHICK2;
空:IF(中线>=短线,中线,DRAWNULL),COLORBLUE,LINETHICK2;
MA250:MA(C,250),LINETHICK2;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。