软件名称:[B]三强林 --- 史丹三强MACD平滑处理[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2016-04-20 00:58:39
软件简介:
三买史丹MSD指标,结合大盘MSD分析。通过macd平滑处理买卖点。灵活运用可使收益最大化
VAR1:=LLV(LOW,N);
VAR2:=HHV(HIGH,N);
SD:=100*(CLOSE-VAR1)/(VAR2-VAR1);
MSD:SMA(SD,3,1),colorred;
金:IF(MSD>REF(MSD,1),MSD,DRAWNULL),colorred,LINETHICK3;
空:IF(MSD<REF(MSD,1),MSD,DRAWNULL),colorgreen,LINETHICK3;
{DRAWTEXT(CURRBARSCOUNT=1,MSD,''),colorred,LINETHICK2;}
VAR3:=LLV(INDEXL,N);
VAR4:=HHV(INDEXH,N);
DP:=100*(INDEXC-VAR3)/(VAR4-VAR3);
大盘MSD:MA(DP,3),colorblue;
{DRAWTEXT(CURRBARSCOUNT=1,大盘MSD,''),colorblue;}
VAR5:=LLV(INDEXC,N);
VAR6:=HHV(INDEXC,N);
HY:=100*(INDEXC-VAR5)/(VAR6-VAR5);
行业MSD:MA(HY,3),DOTLINE,colorgreen;
{DRAWTEXT(CURRBARSCOUNT=1,行业MSD,''),colorgreen;}
DRAWTEXT(CROSS(MSD,20),15,'▲郝胖又偷买'),colorred;
DRAWTEXT(CROSS(MSD,90),95,'2B'),colorred;
DRAWTEXT(CROSS(90,MSD),90,'不走没救了'),colorred;
弱势线:20,LINETHICK1,colorred,LINETHICK2;
中势线:50,LINETHICK1,colormagenta;
强势线:80,LINETHICK1,colorred;
赶顶线:90,DOTLINE,colorblue;
A1:=COUNT(MSD>REF(MSD,1),2)=2;
A2:=COUNT(大盘MSD<REF(大盘MSD,1),2)=2;
A3:=COUNT(MSD<REF(MSD,1),2)=2;
A4:=COUNT(大盘MSD>REF(大盘MSD,1),2)=2;
逆势上涨:IF(A1 AND A2,25,0),LINETHICK0;
DRAWTEXT(逆势上涨,10,'涨'),colorred;
逆势下跌:IF(A3 AND A4,10,0),LINETHICK0;
DRAWTEXT(逆势下跌,10,'跌'),colorgreen;
DIF:EMA(MSD,A)-EMA(MSD,B);
DEA:EMA(DIF,M);
MACD:(DIF-DEA)*2,COLORSTICK;
MACD空中加油:=
MACD>=0
AND REF(MACD,1)>=0
AND REF(MACD,2)>=0
AND REF(MACD,3)>=0
AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2)
AND REF(MACD,2)<REF(MACD,3)
AND MSD<50;
DRAWICON(MACD空中加油,0.35,1);
STICKLINE(MACD空中加油,0.3,MACD,2,0),coloryellow;
绿柱缩短:=MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)<REF(MACD ,2)
AND REF(MACD ,2)<REF(MACD ,3)
AND REF(MACD ,3)<REF(MACD ,4)
AND MSD<30;
STICKLINE(绿柱缩短,0.1,MACD,2,0),colormagenta;
红柱缩短:=MACD>0 AND MACD<REF(MACD ,1) AND REF(MACD ,1)>REF(MACD ,2)
AND REF(MACD ,2)>REF(MACD ,3)
AND REF(MACD ,3)>REF(MACD ,4)
AND MSD>80;
STICKLINE(红柱缩短,0.1,MACD,2,0),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-97285.html]三强林 --- 史丹三强MACD平滑处理[/url]