软件名称:[B]多空买点(副图,源码,贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2012-02-03 03:53:48
软件简介:
1.原理:综合RSI6(多)和WR(空)指标,多金叉买死叉卖(红区买绿区卖);
另借用了理想的含未来函数的一段源码判断趋势(感谢原作者),过滤掉了下跌趋势中的买入信号。
2.源码:
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:=ZIG(3,50/5)*100,COLORRED;
G:=MA(B,2),COLORGREEN;
LC:=REF(CLOSE,1);
多:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORRED;
空:100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)),COLORGREEN;
DRAWBAND(多,RGB(240,0,0),空,RGB(0,120,0));
多空买点:IF(CROSS(多,空)AND B>G,90,50),COLORMAGENTA,NODRAW;
STICKLINE(多空买点=90,50,90,1,1),COLORMAGENTA;
[url=http://www.70822.com/soft/sort013/sort05/down-43841.html]多空买点(副图,源码,贴图)[/url]