软件名称:[B]分时上看日时均线[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:解密版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2009-07-11 22:41:42
软件简介:
[分时上看日时均线]源码指标.
本指标看它简单,但非常实用。在作出买卖时刻,可快速反应,不要日时,分时切换.
均线大家都明白,我就不说明了。
分时----可放在主图和副图。
在分时上要加引用公式。
(MA引用)
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
MA4:=MA(CLOSE,30);
MA5:=MA(CLOSE,40);
MA6:=MA(CLOSE,50);
MA7:=MA(CLOSE,60);
MA8:=MA(CLOSE,120);
MB5:CROSS(c,MA1),LINETHICK0;
MB10:CROSS(c,MA2),LINETHICK0;
MB20:CROSS(c,MA3),LINETHICK0;
MB30:CROSS(c,MA4),LINETHICK0;
MB40:CROSS(c,MA5),LINETHICK0;
MB50:CROSS(c,MA6),LINETHICK0;
MB60:CROSS(c,MA7),LINETHICK0;
MB120:CROSS(c,MA8),LINETHICK0;
MBB:C>=MA2,LINETHICK0;
MS5:CROSS(MA1,C),LINETHICK0;
MS10:CROSS(MA2,C),LINETHICK0;
MS20:CROSS(MA3,C),LINETHICK0;
MS30:CROSS(MA4,C),LINETHICK0;
MS40:CROSS(MA5,C),LINETHICK0;
MS50:CROSS(MA6,C),LINETHICK0;
MS60:CROSS(MA7,C),LINETHICK0;
MS120:CROSS(MA8,C),LINETHICK0;
MSS:MA2>=C,LINETHICK0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
分时----可放在主图和副图。
M5:="MA引用.MB5#DAY";
M10:="MA引用.MB10#DAY";
M20:="MA引用.MB20#DAY";
M30:="MA引用.MB30#DAY";
M40:="MA引用.MB40#DAY";
M50:="MA引用.MB50#DAY";
M60:="MA引用.MB60#DAY";
M120:="MA引用.MB120#DAY";
BMM:="MA引用.MBB#DAY";
SM5:="MA引用.MS5#DAY";
SM10:="MA引用.MS10#DAY";
SM20:="MA引用.MS20#DAY";
SM30:="MA引用.MS30#DAY";
SM40:="MA引用.MS40#DAY";
SM50:="MA引用.MS50#DAY";
SM60:="MA引用.MS60#DAY";
SM120:="MA引用.MS120#DAY";
SMM:="MA引用.MSS#DAY";
var120:='■今日上穿';
if M5>0 AND BARSTATUS=2 THEN var120:=var120+'【5】均线';
if M10>0 AND BARSTATUS=2 THEN var120:=var120+'【10】均线';
if M20>0 AND BARSTATUS=2 THEN var120:=var120+'【20】均线';
if M30>0 AND BARSTATUS=2 THEN var120:=var120+'【30】均线';
if M40>0 AND BARSTATUS=2 THEN var120:=var120+'【40】均线';
if M50>0 AND BARSTATUS=2 THEN var120:=var120+'【50】均线';
if M60>0 AND BARSTATUS=2 THEN var120:=var120+'【60】均线';
if M120>0 AND BARSTATUS=2 THEN var120:=var120+'【120】均线';
if BMM>0 AND BARSTATUS=2 THEN var120:=var120+'■在10均线上方■';
DRAWTEXTREL(12,122,var120),Color8000FF;
var121:='■今日下破';
if SM5>0 AND BARSTATUS=2 THEN var121:=var121+'【5】均线';
if SM10>0 AND BARSTATUS=2 THEN var121:=var121+'【10】均线';
if SM20>0 AND BARSTATUS=2 THEN var121:=var121+'【20】均线';
if SM30>0 AND BARSTATUS=2 THEN var121:=var121+'【30】均线';
if SM40>0 AND BARSTATUS=2 THEN var121:=var121+'【40】均线';
if SM50>0 AND BARSTATUS=2 THEN var121:=var121+'【50】均线';
if SM60>0 AND BARSTATUS=2 THEN var121:=var121+'【60】均线';
if SM120>0 AND BARSTATUS=2 THEN var121:=var121+'【120均线';
if SMM>0 AND BARSTATUS=2 THEN var121:=var121+'■在10均线下方■';
DRAWTEXTREL(12,170,var121),Color00FF00;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
日时-----可放在主图和副图。
var120:='■今日上穿';
if CROSS(c,ma(c,5)) AND BARSTATUS=2 THEN var120:=var120+'【5】均线';
if CROSS(c,ma(c,10)) AND BARSTATUS=2 THEN var120:=var120+'【10】均线';
if CROSS(c,ma(c,20)) AND BARSTATUS=2 THEN var120:=var120+'【20】均线';
if CROSS(c,ma(c,30)) AND BARSTATUS=2 THEN var120:=var120+'【30】均线';
if CROSS(c,ma(c,40)) AND BARSTATUS=2 THEN var120:=var120+'【40】均线';
if CROSS(c,ma(c,50)) AND BARSTATUS=2 THEN var120:=var120+'【50】均线';
if CROSS(c,ma(c,60)) AND BARSTATUS=2 THEN var120:=var120+'【60】均线';
if CROSS(c,ma(c,120)) AND BARSTATUS=2 THEN var120:=var120+'【120】均线';
if (c>=ma(c,10)) AND BARSTATUS=2 THEN var120:=var120+'■在10均线上方■';
DRAWTEXTREL(12,122,var120),Color8000FF;
var121:='■今日下破';
if CROSS(ma(c,5),c) AND BARSTATUS=2 THEN var121:=var121+'【5】均线';
if CROSS(ma(c,10),c) AND BARSTATUS=2 THEN var121:=var121+'【10】均线';
if CROSS(ma(c,20),c) AND BARSTATUS=2 THEN var121:=var121+'【20】均线';
if CROSS(ma(c,30),c) AND BARSTATUS=2 THEN var121:=var121+'【30】均线';
if CROSS(ma(c,40),c) AND BARSTATUS=2 THEN var121:=var121+'【40】均线';
if CROSS(ma(c,50),c) AND BARSTATUS=2 THEN var121:=var121+'【50】均线';
if CROSS(ma(c,60),c) AND BARSTATUS=2 THEN var121:=var121+'【60】均线';
if CROSS(ma(c,120),c) AND BARSTATUS=2 THEN var121:=var121+'【120】均线';
if (ma(c,10)>=c) AND BARSTATUS=2 THEN var121:=var121+'■在10均线下方■';
DRAWTEXTREL(12,170,var121),Color00FF00;
[url=http://www.70822.com/soft/sort013/sort03/down-10782.html]分时上看日时均线[/url]