当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:自用EXPMA主图指标(通达信公式 主图 源码 测试图)
软件名称:[B]自用EXPMA主图指标(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2022-11-15 00:15:10
软件简介:
自用EXPMA主图指标
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
突破:=REF(EMA(C,9),1);
A1X:=(EMA(C,9)-突破)/突破*100;
多:=IF(A1X>=0 AND 买线>=卖线,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),COLORMAGENTA;
空:=IF(A1X<0 AND 买线<卖线,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),COLORGREEN;
DRAWBAND(突破,RGB(100,20,150),多,RGB(10,100,10));
E5:EXPMA(CLOSE,5),COLORWHITE;
E10:EXPMA(CLOSE,10),COLORYELLOW;
E20:EXPMA(CLOSE,20),COLORMAGENTA;
E30:EXPMA(CLOSE,30),COLORGREEN;
E60:EXPMA(CLOSE,60),COLORGRAY;
E120:EXPMA(CLOSE,120),COLORBLUE;
DRAWKLINE(H,O,L,C);
E180:=EXPMA(CLOSE,180),COLORLIRED;
E200:EXPMA(CLOSE,200),COLORGREEN,DOTLINE;
E250:=EXPMA(CLOSE,250),COLORGREEN,DOTLINE;
STICKLINE(C>REF(C,1)*1.099,C,O,2.7,0)COLORRED,LINETHICK2;
STICKLINE(C<REF(C,1)*0.901,C,O,2.7,0)COLORGREEN,LINETHICK2;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,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 VAR1;
STICKLINE(VAR19,MIN(O,C),MIN(O,C)+ABS(C-O)*0.25,2.7,0),COLORYELLOW;
VAR1A:=REF(VAR1 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;
STICKLINE(VAR1A,MIN(O,C)+ABS(C-O)*0.75,MAX(O,C),2.7,0),COLORBLUE;
AS:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
BL:=MA(AS,89),COLORBLACK;
拉升:=BL+2*STD(CLOSE,89),LINETHICK1;
MA5:=MA(CLOSE,5),COLORWHITE;
B1:=CROSS(C,MA5);
DRAWICON(CROSS(MA5,拉升),L*0.98,17);
LC1:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC1),0),3,1) / SMA(ABS((CLOSE - LC1)),3,1)) * 100);
DRAWICON(CROSS(88,RSI),(HIGH * 1.02),2);
指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORWHITE;
界:=MA(CLOSE,27),LINETHICK1,COLORYELLOW;
红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLOR0000FF;
绿轨道:=MA(MA(CLOSE,3),3),LINETHICK1,COLOR00FF00;
DRAWICON(CROSS(红轨道,绿轨道),L*0.98,1);
DRAWICON(CROSS(绿轨道,红轨道),H*1.02,2);
DRAWICON(CROSS(指导,界),L*0.98,11);
DDE:=MAX(MAX(MAX(E5,E10),E20),E30);
XXE:=MIN(MIN(MIN(E5,E10),E20),E30);
NHE:=DDE/XXE<1.06;
ANGE5:=ATAN((E5/REF(E5,1)-1)*100)*57.3;
ANGE10:=ATAN((E10/REF(E10,1)-1)*100)*57.3;
ANGE20:=ATAN((E20/REF(E20,1)-1)*100)*57.3;
ANGE30:=ATAN((E30/REF(E30,1)-1)*100)*57.3;
ANGE60:=ATAN((E60/REF(E60,1)-1)*100)*57.3;
ANGE120:=ATAN((E120/REF(E120,1)-1)*100)*57.3;
ANGE180:=ATAN((E180/REF(E180,1)-1)*100)*57.3;
ANGE250:=ATAN((E250/REF(E250,1)-1)*100)*57.3;
ANGLE1:=ANGE5>=25 AND ANGE10>=20 AND ANGE20>=15 AND ANGE30>=10;
REDDOT:=NHE AND ANGLE1;
IF(REDDOT,E60,DRAWNULL),COLORRED,CIRCLEDOT,LINETHICK2;
DTE:=E5>=E10 AND E10>=E20 AND E20>=E30 AND E30>=E60 AND E60>=E120 AND E120>=E180 AND E180>=E250;
JC:=CROSS(E5,E10) OR CROSS(E5,E20) OR CROSS(E5,E30) OR CROSS(E5,E60) OR CROSS(E5,E120) OR CROSS(E5,E180) OR CROSS(E5,E250) OR CROSS(E10,E20) OR CROSS(E10,E30) OR CROSS(E10,E60) OR CROSS(E10,E120) OR CROSS(E10,E180) OR CROSS(E10,E250) OR CROSS(E20,E30) OR CROSS(E20,E60) OR CROSS(E20,E120) OR CROSS(E20,E180) OR CROSS(E20,E250) OR CROSS(E30,E60) OR CROSS(E30,E120) OR CROSS(E30,E180) OR CROSS(E30,E250) OR CROSS(E60,E120) OR CROSS(E60,E180) OR CROSS(E60,E250) OR CROSS(E120,E180) OR CROSS(E120,E250) OR CROSS(E180,E250);
JRJC:=EXIST(JC,3);
ANGLE2:=ANGE5>=30 AND ANGE10>=25 AND ANGE20>=20 AND ANGE30>=15 AND ANGE60>=10 AND ANGE120>=10 AND ANGE180>=5 AND ANGE250>=5;
YELLOWDOT:=DTE AND JRJC AND ANGLE2;
IF(YELLOWDOT,E120,DRAWNULL),COLORYELLOW,CIRCLEDOT,LINETHICK2;
[url=http://www.70822.com/soft/sort013/sort05/down-164991.html]自用EXPMA主图指标(通达信公式 主图 源码 测试图)[/url]