看股吧 www.kanguba.com [今日大盘指数 欧美全球股市行情 股票公式查询网站] 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
看股吧
看股吧股票网-今日大盘指数 欧美全球股市行情 股票公式查询网站
股票查询: 行情分析 DDX指标 走势点评 股票公告 大事 主力持仓 股权质押 分红 大小非 十大股东 股本结构 高管持股 研报 高管 主营 龙虎榜 股吧
当前位置: 看股吧 > 股票公式 > 通达信公式
股票公式搜索:

通达信红绿灯买卖主图指标公式

2021/2/6 18:40:52

MAH:=8;
MAL:=20;
M1:=3;
M2:=6;
M3:=12;
M4:=24;
N:=20;
百分比:=5;
右数峰序:=2;
MA5:MA(C,5),LINETHICK1,COLORGREEN;
NOTEXT2_: IF(MA5>=REF(MA5,1),MA5,DRAWNULL),COLORWHITE,LINETHICK2;
DRAWTEXT(CURRBARSCOUNT=1,MA5,STRCAT('---',CON2STR(MA5,2))),COLORRED;
MA10:MA(C,10)COLORYELLOW;
MA25:MA(C,25),COLORGRAY;
NOTEXT3_: IF(MA25>=REF(MA25,1),MA25,DRAWNULL),COLORRED,LINETHICK2;
MA60:MA(C,60),COLOR7FFF00;
DRAWTEXT(CURRBARSCOUNT=1,MA60,STRCAT('---',CON2STR(MA60,2))),COLORCYAN;
NOTEXT4_: IF(MA60>=REF(MA60,1),MA60,DRAWNULL),COLORGREEN,LINETHICK3;
DRAWICON(CROSS(MA5,MA10),MA10,23);
DRAWTEXT(CROSS(MA10,MA5),MA10+0,'空仓'),COLORGREEN;
DRAWTEXT(CROSS(MA5,MA10),MA5-0,'建仓'),COLORYELLOW;
DRAWICON(CROSS(MA25,MA60),MA60,23);
MA120:MA(C,120),COLORBLUE;
MA250:MA(C,250),COLORWHITE;
DRAWTEXT(CROSS(ZIG(3,4),REF(ZIG(3,4),1)),LOW*0.99,'★绝佳') ,LINETHICK2,COLORRED;
STICKLINE(CROSS(ZIG(3,4),REF(ZIG(3,4),1)),OPEN,CLOSE,2,0),COLORMAGENTA;
HB:=COST(99.9);
LB:=COST(0.1);
B3:=(HB-LB)/50;
B31:=HB-B3;
A1:=WINNER(HB)*100-WINNER(B31)*100;
A01:=(L+H+C*2)/4;
A11C:=EMA(A01,14)COLORYELLOW,LINETHICK2;
A11X:=(A11C-REF(A11C,1))/REF(A11C,1)*100,NODRAW;
A2X:=(EMA(A01,20)-REF(EMA(A01,20),1))/REF(EMA(A01,20),1)*100;
G1:=BARSLAST(CROSS(A11X,0));
买入止损:=REF(A01,G1),COLORWHITE,LINETHICK1;
脉冲:=(A01-A1)/A1*100,NODRAW;
斜脉冲:=(A01-REF(A01,1))/(A1-REF(A1,1)),NODRAW;
买入盈利:(A01-买入止损)/买入止损*100,NODRAW;
Y1:=REF(A01,G1)*1.1,COLORGREEN;
B1:IF(A11X>=0,买入止损,DRAWNULL),COLORWHITE,LINETHICK1,CROSSDOT;
B2:=IF(A11X>=0,A1,DRAWNULL),COLORWHITE,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=1,买入止损,STRCAT('---',CON2STR(买入止损,2))),COLORCYAN;
A0:=(L+H+C*2)/4;
工作:=EMA(A0,14);
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
逼空线:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNULL),COLORGREEN,LINETHICK2,CIRCLEDOT;
DRAWTEXT(CURRBARSCOUNT=1,逼空线,STRCAT('---',CON2STR(逼空线,2))),COLORCYAN;
STICKLINE(C/REF(C,1)>1.095,OPEN,CLOSE,2.0,0),COLOR00EEFF;
波谷值: CONST(TROUGH(2,百分比,1)),NODRAW;{前M个ZIG转向波谷值}
波谷距离:= 1+CONST(TROUGHBARS(2,百分比,1)),NODRAW;{前M个ZIG转向波谷到当前距离}
{例如:TROUGH(2,5,2)表示%5最低价ZIG转向的前2个波谷到当前的周期数};
波峰值:= CONST(PEAK(1,百分比,右数峰序));
{例如:PEAK(1,5,1)表示%5最高价ZIG转向的上一个波峰的数值}
允许误差:=0.024;
XG:= ABS(波峰值-波谷值)<=允许误差 {AND BARSCOUNT(V)>60};
波峰距离:= 2+CONST(PEAKBARS(1,百分比,右数峰序)),NODRAW;
{PEAKBARS(K,N,M)表示之字转向ZIG(K,N)的前M个波峰到当前的周期数,M必须大于等于1}
距离:=CURRBARSCOUNT;
DRAWLINE(距离=波峰距离 AND XG,波谷值,距离=1,波谷值,1),COLORMAGENTA;
DRAWTEXT(距离=波谷距离 AND XG,L*0.98,' 精准峰谷线'),COLORYELLOW;
DRAWICON(距离=波峰距离,H*1.01,2);{波峰位置}
DRAWICON(距离=波谷距离,L*0.985,1);{波谷位置}
精准点:=(ABS(H-波谷值)<=允许误差 OR ABS(L-波谷值)<=0.024) {AND 距离<=120};
STICKLINE(精准点,波谷值,波谷值,30,1),COLORMAGENTA,LINETHICK2;
{画精准谷底线LINETHICK3}
波谷值2:= CONST(TROUGH(2,百分比,2));
波谷值3:= CONST(TROUGH(2,百分比,3));
波谷值4:= CONST(TROUGH(2,百分比,4));
波谷距离2:= 1+CONST(TROUGHBARS(2,百分比,2));
波谷距离3:= 1+CONST(TROUGHBARS(2,百分比,3));
波谷距离4:= 1+CONST(TROUGHBARS(2,百分比,4));
XG2:= ABS(波谷值-波谷值2)<=允许误差;
XG3:= ABS(波谷值-波谷值3)<=允许误差;
XG4:= ABS(波谷值-波谷值4)<=允许误差;
XGL:=(距离=波谷距离2 AND XG2) OR (距离=波谷距离3 AND XG3)
OR (距离=波谷距离4 AND XG4);
DRAWLINE(XGL,波谷值,距离=1,波谷值,1),COLORLIGREEN;
DRAWTEXT(XGL,L*0.98,' 精准谷底线'),COLORYELLOW;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
STICKLINE( ZT,C,O,2,0),COLORYELLOW;
走强线:=EMA(COST(99),181),COLORYELLOW,LINETHICK2;
巨量平台:REF(H,BARSLAST(V=HHV(VOL,120))),COLORCYAN,POINTDOT,LINETHICK4;
DRAWTEXT(CURRBARSCOUNT=1,巨量平台,STRCAT('---',CON2STR(巨量平台,2))),COLORCYAN;
XG11:= NOT(REF(巨量平台,1)=巨量平台) AND ZT;
DRAWTEXT(XG11,L,'量爆'),COLORCYAN;
主升:=CROSS(C,巨量平台);
DRAWTEXT(主升 AND ZT,L,'↖超级主升'),COLORRED;
MA1A:=EMA(C,12)COLORGREEN,LINETHICK1,COLORGRAY;
MA2A:=EMA(C,50)COLORGREEN,LINETHICK1,COLORWHITE;
DRAWICON(((C>MA1A AND L<=MA1A)OR CROSS(C,MA1A))AND MA1A>=MA2A,L*0.98,1);
DRAWICON(((C>MA2A AND L<=MA2A)OR CROSS(C,MA2A))AND MA1A>=MA2A,L*0.98,1);
DRAWTEXT_FIX(ISLASTBAR ,0.065,0.01,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.065,0.01,0,HYBLOCK),COLORYELLOW;
概念:DRAWTEXT_FIX(ISLASTBAR ,0.15,0.01,0,GNBLOCK),COLORYELLOW;
MMM:=MA(CLOSE,20);
PEAK1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(PEAK1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND PEAK1;
VAR1A:=REF(PEAK1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
DRAWICON(FILTER(VAR19=1,0),LOW*0.99,9),COLORYELLOW;{通达信只要把最后的数字8改成自己喜欢的图形对应的数字}
DRAWICON(FILTER(VAR1A=1,0),HIGH*1.000,0);{通达信只要把最后的数字5改成自己喜欢的图形对应的数字}
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.00,'★卖');
卖线:=EMA(SLOPE(C,21)*20+C,42);
单阳11:= C>REF(C,1)*(1+9.7/100);
高不破价11:=REF(C,BARSLAST(单阳11));
YY1: STICKLINE(CURRBARSCOUNT<=60,高不破价11,高不破价11,4,0),COLORRED;
低不破价:=REF(O,BARSLAST(单阳11));
YY2: STICKLINE(CURRBARSCOUNT<=60,低不破价,低不破价,4,0),COLORRED;
单阳:= C>REF(C,1)*(1+9.7/100);
低不破价11:=REF(C,BARSLAST(单阳));
LS0:=BARSLAST(单阳);
LS11:=IF(1,LS0=1,单阳);
LS21:=IF(1,LLV(L,1)>REF(L,1),1);
低不破价1:=LS11 AND LS21;
DRAWTEXT(低不破价1,低不破价-低不破价*0.0,'1'),COLORGREEN;
LS12:=IF(2,LS0=2,单阳);
LS22:=IF(2,LLV(L,2)>REF(L,2),1);
低不破价2:=LS12 AND LS22;
DRAWTEXT(低不破价2,低不破价-低不破价*0.0,'2'),COLORGREEN;
LS13:=IF(3,LS0=3,单阳);
LS23:=IF(3,LLV(L,3)>REF(L,3),1);
低不破价3:=LS13 AND LS23;
DRAWTEXT(低不破价3,低不破价-低不破价*0.0,'3'),COLORGREEN;
LS14:=IF(4,LS0=4,单阳);
LS24:=IF(4,LLV(L,4)>REF(L,4),1);
低不破价4:=LS14 AND LS24;
DRAWTEXT(低不破价4,低不破价-低不破价*0.0,'4'),COLORGREEN;
LS15:=IF(5,LS0=5,单阳);
LS25:=IF(5,LLV(L,5)>REF(L,5),1);
低不破价5:=LS15 AND LS25;
DRAWTEXT(低不破价5,低不破价-低不破价*0.0,'5'),COLORGREEN;
LS16:=IF(6,LS0=6,单阳);
LS26:=IF(6,LLV(L,6)>REF(L,6),1);
低不破价6:=LS16 AND LS26;
DRAWTEXT(低不破价6,低不破价-低不破价*0.0,'6'),COLORGREEN;
LS17:=IF(7,LS0=7,单阳);
LS27:=IF(7,LLV(L,7)>REF(L,7),1);
低不破价7:=LS17 AND LS27;
DRAWTEXT(低不破价7,低不破价-低不破价*0.0,'7'),COLORGREEN;
LS18:=IF(8,LS0=8,单阳);
LS28:=IF(8,LLV(L,8)>REF(L,8),1);
低不破价8:=LS18 AND LS28;
DRAWTEXT(低不破价8,低不破价-低不破价*0.0,'8'),COLORGREEN;
LS19:=IF(9,LS0=9,单阳);
LS29:=IF(9,LLV(L,9)>REF(L,9),1);
低不破价9:=LS19 AND LS29;
DRAWTEXT(低不破价9,低不破价-低不破价*0.0,'9'),COLORGREEN;
LS110:=IF(10,LS0=10,单阳);
LS210:=IF(10,LLV(L,10)>REF(L,10),1);
低不破价10:=LS110 AND LS210;
DRAWTEXT(低不破价10,低不破价-低不破价*0.0,'10'),COLORGREEN;
A1A:=EMA(C,3);
A5A:=EMA(C,20);
SS:=CROSS(A1A,A5A) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 ;
SSS:=CROSS(A1A,A5A) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;
DRAWICON(SS ,L-0.05,24);
ZB1:=EMA(C,34);
长期趋势:=EMA(ZB1,13),COLORRED,LINETHICK3;
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,21);
破N:=REF(MA1,1)<REF(MA2,1)AND MA2>REF(MA2,1);
试摸N:=C>MA(C,10) OR H>=MA2;
再上N:=C>O AND REF(C,1)< MA(C,10) AND 试摸N AND 破N AND MA(C,21)<MA(C,10);
有行情:=再上N AND (CROSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势));
DRAWTEXT(有行情,LOW-0.1,'●有行情'),COLORGREEN;
N :=3;
A111:=REF(H,N)=HHV(H,2*N+1);
B111:=FILTER(A111,N);
C111:=BACKSET(B111,N+1);
D111:=FILTER(C111,N);
前高:=REF(H,BARSLAST(D111));
YY: STICKLINE(CURRBARSCOUNT<=30,前高,前高,3,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,前高,STRCAT('---',CON2STR(前高,2))),COLORCYAN;
DRAWTEXT(CROSS(C,前高)AND C=HHV(C,3),L,'突'),COLORGREEN;
PP1:=H>=MA(C,5)*(50+MAH)/50;
PP2:=L*(100+MAL)/100<=MA(C,25);
DRAWICON(PP1,H*1.02,15);
DRAWICON(PP2,L*0.97,38);
STICKLINE(CROSS(MA(C,5),MA(C,25)),O,C,0.001,0),COLORWHITE;
DRAWICON((MA(C,4)*4+MA(C,25))/5>=MA(C,25) AND MA(C,5)<MA(C,25),L*0.97,1);

看股 吧公式 www.kangu ba.com

其它股票公式列表
看股吧查股导航:个股行情分析查询 股票DDX指标查询 走势点评 股票公告查询 大事提醒 股权质押查询 股票分红查询 解禁查询 高管持股 高管查询
同兴达 002845+5.31% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
利尔化学 002258+5.27% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
高测股份 688556+5.24% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
钱江水利 600283+5.24% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
应流股份 603308+5.22% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
锡业股份 000960+5.20% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
钢研高纳 300034+5.17% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
天秦装备 300922+5.17% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
赢合科技 300457+5.14% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
方大特钢 600507+5.14% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
看股网力求但不保证数据的完全准确,不对因网站全部内容或部分内容而引致的盈亏承担任何责任,本站所有内容仅供参考。
本站不提供任何股票服务,站内广告不代表看股吧的观点,由此引起的一切法律责任均与本站无关,请股民自行识别判断,谨慎投资,预防上当受骗!
联系我们:nlfen9@hotmail.com
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-121