分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]趋势指标变异MACD(源码 副图 通达信 贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2017-11-30 01:18:41
软件简介:

趋势指标,提示更明显。大家看图
 

DF:(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)*100;
DA:EMA(DF,9);
MAD:(DF-DA)*2,COLORSTICK;

VAR1A:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1A-REF(VAR1A,1))/REF(VAR1A,1)*1000;
VAR2:=100*WINNER(CLOSE*0.95);
高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;
MM1:=MA(CLOSE,5);
Q5:(MM1-REF(MM1,1))/REF(MM1,1)*100,NODRAW;
0,COLORYELLOW;
-6;
STICKLINE(((MAD<REF(MAD,1)) AND (MAD>0)),0,MAD,1,0),COLORLIBLUE,LINETHICK2;
STICKLINE(((MAD>REF(MAD,1)) AND (MAD<0)),0,MAD,1,0),COLORFF00FF,LINETHICK2;
STICKLINE(((MAD>REF(MAD,1)) AND (MAD>0)),0,MAD,1,0),COLORFF00FF,LINETHICK2;
MAD1:=(MAD-REF(MAD,1))*10;
MAD2:=MAD*0.5;
STICKLINE(((MAD>REF(MAD,1)) AND (DF>=-2) AND DA<=2 AND MAD1>2),MAD2,MAD,1,0),COLORRED,LINETHICK2;
STICKLINE(((MAD>REF(MAD,1)) AND (DF<-2) AND  MAD1>2 AND DF>REF(DF,1)),MAD2,MAD,1,0),COLORRED,LINETHICK2;
STICKLINE((DF>2 AND DF>REF(DF,1) AND MAD>3 AND MAD1>-0.4),MAD2,MAD,1,0),COLORRED,LINETHICK2;
STICKLINE(((MAD<REF(MAD,1)) AND (DF>=-2) AND DA<=2 AND MAD1<-2),MAD2,MAD,1,0),COLORGREEN,LINETHICK2;
STICKLINE(((MAD<REF(MAD,1)) AND (DF>2) AND  MAD1<-2 AND DF<REF(DF,1)),MAD2,MAD,1,0),COLORGREEN,LINETHICK2;
STICKLINE((DF<-2 AND DF<REF(DF,1) AND MAD<-2) AND MAD1<0.4,MAD2,MAD,1,0),COLORGREEN,LINETHICK2;
A:=COUNT(CROSS(DF,DA),BARSLAST(DA>=0));
二次金叉:=CROSS(DF,DA) AND DA<0 AND COUNT(A=2,21)=1;
DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW;
A1:=BARSLAST(REF(CROSS(DF,DA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DF>REF(DF,A1+1) AND CROSS(DF,DA);
{分析家公式网www.70822.com}
DIF底背:DRAWLINE(A1=0,DA,底背离,DA,0),COLORRED,LINETHICK3;
DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF;
A2:=BARSLAST(REF(CROSS(DA,DF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DF,A2+1)>DF AND CROSS(DA,DF);
DIF顶背:DRAWLINE(A2=0,DA,顶背离,DA,0),COLORGREEN,LINETHICK3;
DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2)<0.95&&REF(OPEN,1)<REF(CLOSE,2)&&ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&CLOSE/OPEN>1.05&&CLOSE>REF(CLOSE,2),MAD*1.1,'早晨之星');
AA:=VOL>REF(VOL,1)||VOL>CAPITAL;
BB:=OPEN>=(REF(HIGH,1))&&REF(HIGH,1)>(REF(HIGH,2)*1.06);
CC:=CLOSE>(REF(CLOSE,1))-(REF(CLOSE,1)*0.01);
DD:=CLOSE<(HIGH*0.965) && HIGH>(OPEN*1.05);
EE:=LOW<OPEN && LOW<CLOSE &&  HIGH>(REF(CLOSE,1)*1.06);
FF:=(HIGH-(MAX(OPEN,CLOSE)))/2>(MIN(OPEN,CLOSE))-LOW;
GG:=(ABS(OPEN-CLOSE))/2<(MIN(OPEN,CLOSE)-LOW);
DRAWTEXT(AA&&BB&&CC&&DD&&EE&&FF&&GG,MAD*1.1,'出鞘利剑');

BUY1:=LAST(CLOSE<MA(CLOSE,120),0,5);
DRAWTEXT(CLOSE>MA(CLOSE,120)&&VOL>MA(VOL,5)*2&&BUY1,MAD*1.1,'旭日初升');

BUY11:=LAST(CLOSE>MA(CLOSE,120),0,5);
BUY2:=EXIST(CLOSE<MA(CLOSE,120),5);
DRAWTEXT(CLOSE>MA(CLOSE,120)&&BUY11&&BUY2,MAD*1.1,'蜻蜓点水');
MMAD:=MA(MAD,5);
MMAD3:=ABS((MMAD-REF(MMAD,1))*10);
DRAWTEXT(MMAD3>2&&MMAD>REF(MMAD,1),MAD,'B'),COLORMAGENTA;
DRAWTEXT(MMAD3>2&&MMAD<REF(MMAD,1),MAD,'S'),COLORGREEN;
{分析家公式网www.70822.com}
短期趋势:=EMA(SLOPE(C,21)*20+C,42);
MA89:=MA(CLOSE,89);
中期:=MA89;
F1:=短期趋势;
QF:=(F1-REF(F1,1))/REF(F1,1)*100;
BI2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
LB:=V/REF(MA(V,5),1);
VAR1:=SAR(6,2,32);
EE1:=IF(HIGH>VAR1,VAR1,DRAWNULL);
EE2:=IF(LOW<VAR1,VAR1,DRAWNULL);
LB1:=LB/HHV(LB,5)*100;
DRAWTEXT(QF>0.8&&HIGH>VAR1&&LB1<33&&BI2<3.5,-2,'小'),COLORRED;
DA1:=DA-REF(DA,1);
DRAWTEXT(QF>0.8&&HIGH>VAR1&&LB1<33&&BI2<7&&DA1>0.3,-2,'小2'),COLORRED;
DRAWTEXT(QF<0.8&&HIGH>VAR1&&LB1<33&&BI2<3&&DA1>0.3,-2,'小1'),COLORRED;
DRAWTEXT(UPNDAY(DF,3)&&DOWNNDAY(REF(MAD,1),3)&&DF>10&&MAD>REF(MAD,1)&&MAD>6,DA,'MACD顶背离卖出'),COLORGREEN;

DRAWTEXT(MAD1>4 AND DA>-0.7,5,'A'),COLORMAGENTA;
DRAWTEXT(CROSS(MAD1,4) AND DA>-0.7,5,'A'),COLORRED;
DRAWTEXT(-4>MAD1 AND DA<0.5,5,'D'),COLORLICYAN;
DRAWTEXT(CROSS(-4,MAD1) AND DA<0.5,5,'D'),COLORGREEN;

RSV:=(CLOSE-LLV(LOW,17))/(HHV(HIGH,17)-LLV(LOW,17))*100;
K:=(SMA(RSV,3,1));
KK4:=INTPART(SMA(RSV,3,1));
DD4:=INTPART(SMA(K,3,1));
NN4:=KK4+DD4;
DRAWTEXT(CROSS(Q5,1.5)&&DA<MAD&&DA<3&&LAST(Q5<1.5,7,1)&&NN4<100&&NN4>REF(NN4,1)&&REF(NN4,1)<REF(NN4,2)&&EXIST(Q5<-0.5,10),-4,'强势股追踪1'),COLORRED;
DRAWTEXT(CROSS(Q5,1.5)&&DA>MAD&&DA>0&&LAST(Q5<1.5,7,1)&&NN4<140&&NN4>REF(NN4,1),-3,'强势股追踪2'),COLORRED;
DRAWTEXT(CROSS(Q5,0.5)&&DA<MAD&&DA<0&&MAD>0&&LAST(Q5<0.5,7,1)&&NN4<100&&NN4>REF(NN4,1)&&NN4>50&&EXIST(Q5<-0.9,10),-2,'强势股追踪3,如不能持续上涨应卖出'),COLORMAGENTA;

DRAWTEXT(EXIST(Q5>8,3)&&CROSS(6,Q5),-4,'强势股卖出'),COLORGREEN;
DRAWTEXT(EXIST(Q5>7,3)&&CROSS(5,Q5),-4,'强势股卖出'),COLORGREEN;
DRAWTEXT(EXIST(Q5>3,3)&&CROSS(3,Q5)&&EXIST(BI2>20,4),-4,'强势股卖出'),COLORGREEN;
DRAWTEXT(EXIST(CROSS(Q5,1.5),8)&&CROSS(1.5,Q5),-4,'强势股止损'),COLORWHITE;

DRAWTEXT(EXIST(CROSS(Q5,0.5)&&DA<MAD&&LAST(Q5<0.5,7,1)&&NN4<100&&NN4>REF(NN4,1)&&REF(NN4,1)<REF(NN4,2),5)&&Q5<REF(Q5,1)&&REF(Q5,1)>REF(Q5,2)&&EVERY(Q5<3,3),-4,'强势股追踪3止损'),COLORWHITE;
NN5:=NN4-REF(NN4,1);
DRAWTEXT(CROSS(高度控盘,0.05)&&EVERY(NN5>-0.1,5)&&NN4>100&&Q5<3.1&&NN4>REF(NN4,7),-3,'高度控盘按照强势股或者MAD操作'),COLORLIMAGENTA;

[url=http://www.70822.com/soft/sort013/sort05/down-118728.html]趋势指标变异MACD(源码 副图 通达信 贴图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒