通达信主图K线显示每根最低价公式(通达信k线主图公式)
内容导航:
Q1:求通达信公式,要求公式能自动在个股的“K线主图”中标示出历史走势中涨幅大的日K线,分三档。如下:
AA:=BETWEEN(C/REF(C,1),1.05,1.07);
BB:=BETWEEN(C/REF(C,1),1.07,1.0985);
CC:=BETWEEN(C/REF(C,1),1.0985,1.10);
DRAWTEXT(AA,L*0.98,'●'),COLORYELLOW;
DRAWTEXT(BB,L*0.98,'●'),COLOR0099FF;
DRAWTEXT(CC,L*0.98,'●'),COLORMAGENTA;
特意改成小点。试一试。
Q2:求通达信K线主图显示涨停价公式
涨停: REF(CLOSE,1)*1.1;
跌停: REF(CLOSE,1)*0.9;
由于没有将数值转换为文本的函数,只好以线的形式显示;又因没有相关函数判断ST类的股票,上述公式不适合涨跌停板不是10%的股票。
Q3:我想在主图日K线中显示出周开盘价,周最高价,周最低价,周收盘价,我用的是通达信软件
把下面的代码编辑成主图指标就可以了。
不过,有时候,显示的数值还是会出现错误,你用用就知道了。
A:H#WEEK;
B:O;
D:C;
E:L#MONTH;
Q4:【通达信】请大神帮写一个在主图上显示MACD绿柱时,股价最低点画一根横线?
可以编写macd绿柱时股价最低点画一条横线的公式指标.效果如下图。
Q5:求通达信公式,要求公式能自动在个股的“K线主图”中标示出历史走势中涨幅大的日K线,分三档。如下:
AA:=BETWEEN(C/REF(C,1),1.05,1.07);
BB:=BETWEEN(C/REF(C,1),1.07,1.0985);
CC:=BETWEEN(C/REF(C,1),1.0985,1.10);
DRAWTEXT(AA,L*0.98,'●'),COLORYELLOW;
DRAWTEXT(BB,L*0.98,'●'),COLOR0099FF;
DRAWTEXT(CC,L*0.98,'●'),COLORMAGENTA;
特意改成小点。试一试。
Q6:通达信周线公式如何编写?
{BDWT-周线XG}
周线:=C#WEEK;
AA1:=REF(周线,1)<REF(MA(周线,5),1) AND REF(周线,1)<REF(MA(周线,10),1);
AA2:=周线>MA(周线,5) AND 周线>MA(周线,10);
XG:AA1 AND AA2;
提醒下,打字后需在A状态下进行编写。{ 个人看法,仅供参考。}
Q7:谁有通达信版的慧眼K线指标公式,给个谢谢
{通达信《慧眼K线》,供参考}
N1:=6;
重心:(2*C+H+L)/4,COLOR00FFFF,LINETHICK0;
SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2);
ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2);
DRAWTEXT(CROSS(SJ,ZJ) AND SJ<30,L-0.3,'★'),COLOR00FFFF;
DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70,H+0.2,'★'),COLORFFFF00;
A1:=EMA(C,14),COLORA2A200,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
突破:REF(EMA(C,14),1),NODRAW;
距离:(C-突破)/突破*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORB000B0,LINETHICK1;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORFFFF00,LINETHICK1;
涨幅:IF(A1X>=0,(C-出击)/出击*100,DRAWNULL)NODRAW;
跌幅:IF(A1X<0,(C-休假)/休假*100,DRAWNULL)NODRAW;
♂10%:IF(H>=出击*1.1,出击*1.1,DRAWNULL),COLORRED,DOTLINE,LINETHICK1;
♂20%:IF(H>=出击*1.2,出击*1.2,DRAWNULL),COLORRED,DOTLINE,LINETHICK1;
♂30%:IF(H>=出击*1.3,出击*1.3,DRAWNULL),COLORRED,DOTLINE,LINETHICK1;
♀Ⅰ:IF(L<休假*0.9,休假*0.9,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK1;
♀Ⅱ:IF(L<休假*0.8,休假*0.8,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK1;
♀Ⅲ:IF(L<休假*0.7,休假*0.7,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK1;
STICKLINE(CROSS(A1X,0),C,O,2,0),COLOR00FFFF;
STICKLINE(CROSS(0,A1X),C,O,2,0),COLOR606000;
STICKLINE(CROSS(A1X,0)OR CROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,3,0),COLOR3C3C3C;
STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,3,0),COLOR00FFFF;
A11:DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0),COLORA2A200;
B1:DRAWLINE(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0),COLOR0000FF;
A2:DRAWLINE(HIGH>=HHV(HIGH,13),HIGH,LOW<=LLV(LOW,13),LOW,0),COLORA2A200;
B2:DRAWLINE(LOW<=LLV(LOW,13),LOW,HIGH>=HHV(HIGH,13),HIGH,0),COLOR0000FF;
A3:DRAWLINE(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0),COLORA2A200;
B3:DRAWLINE(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0),COLOR0000FF;
A4:DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0),COLORA2A200;
B4:DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0),COLOR0000FF;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1);
买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);
DRAWICON(FILTER(买1=1,5),LOW*0.96,34),COLORRED;
STICKLINE(FILTER(买1=1,5),C,O,1,0),COLORRED;
DRAWICON(FILTER(卖1=1,1),H*1.03,35),COLOR646400;
STICKLINE(FILTER(卖1=1,1),C,O,1,0),COLOR646400;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);
DRAWTEXT(注意 AND 卖1<1,HIGH*1.01,'★'),COLORFFFF00,LINETHICK3;
STICKLINE(注意 AND 卖1<1,O,CLOSE,1,0),COLOR646400,LINETHICK2;
本文由锦鲤发布,不代表本站立场,转载联系作者并注明出处:/showinfo-3-169018-0.html