当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:MA均线柱图(通达信公式 主图 源码 测试图)
软件名称:[B]MA均线柱图(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2024-10-13 00:15:15
软件简介:
MA均线柱图
M1:=5;
M2:=10;
M3:=20;
M4:=60;
M5:=120;
M6:=250;
DRAWTEXT_FIX(1,0.00,0.01,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.035,0.01,0,DYBLOCK)COLORGREEN;
DRAWTEXT_FIX(1,0.07,0.01,0,GNBLOCK)COLORRED;
DRAWTEXT_FIX(1,0.00,0.04,0,ZDBLOCK)COLORFFFF99;
MA1:MA(CLOSE,M1),COLORWHITE,LINETHICK2;
MA2:MA(CLOSE,M2),COLORYELLOW,LINETHICK2;
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6)COLORBLUE,LINETHICK1;
BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2 ,IF(INBLOCK('ST板块'),0.05,0.1)));
CZT:=H>=ZTPRICE(REF(C,1),BK) AND C< H;
STICKLINE(CZT,H,H,10,0),COLORMAGENTA;
ZBSJ:=CONST(BARSLAST(CZT));
ZBSJH:=CONST(REF(H,ZBSJ));
涨停线:IF(CURRBARSCOUNT<=ZBSJ+1 AND ZBSJ< 20,ZBSJH,DRAWNULL),COLORMAGENTA;
GUB1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
GUB2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),GUB1);
筹码线:EMA(GUB2,200)*1.118,COLORFF00FF,LINETHICK5,POINTDOT;
趋势线2:=EMA(GUB2,200)*1.118,LINETHICK1;
TJ:=(C-REF(C,1))/REF(C,1)*100>5;
TJ2:=CROSS(C,筹码线) AND TJ;
STICKLINE(TJ2,HIGH,LOW,0,1),COLORC06000;
STICKLINE(TJ2,CLOSE,OPEN,3.2,1),COLORC06000;
F3:=ZIG(3,8)*100,COLORWHITE;
G3:=MA(F3,2),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
JJ:=(3*C+H+L+O)/6;
VAR99:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR99 AND C>REF(C,1);
HJZ:=FILTER(TJ1,5);
AA4:=(C< O OR (H>L AND C=O AND C< H)) AND C>=REF(C,1) AND C/REF(C,1)>1.03;
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
前高:REF(H,BARSLAST(HD)),COLORRED,POINTDOT;
STICKLINE(HJZ,OPEN,CLOSE,2,0),COLORFF00FF;
A3:=(REF(C,1)-C)/C>0.093;
STICKLINE(A3=1,O,C,2,0),COLORBLUE;
Q1:=PEAK(CLOSE,5,1)*0.98,COLORFF00FF,LINETHICK1;
Q2:=TROUGH(CLOSE,5,1)*1.02,COLORFF00FF,LINETHICK1;
P:=5;
A:=REF(HIGH,P)=HHV(HIGH,2*P+1);
BB:=FILTER(A,P);
DD:=BACKSET(BB,P+1);
E:=FILTER(DD,P);
R11:=BACKSET(ISLASTBAR,BARSLAST(E)+1);
S11:=R11>REF(R11,1);
ZT:=IF((C/REF(C,1)>1.0984),1,0);
QD:=(Q1-Q2)/Q1*100;
涨停牛:IF((CROSS(C, Q1) AND ZT=1 AND QD< 7),1,0),COLORRED ,NODRAW;
[url=http://www.70822.com/soft/sort013/sort05/down-173403.html]MA均线柱图(通达信公式 主图 源码 测试图)[/url]