软件名称:[B]趋势波段(买线、卖线、库存能量、库存平均)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2011-01-29 05:56:11
软件简介:
趋势波段(买线、卖线、库存能量、库存平均)-指标公式源码
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(买线>=卖线,LOW,HIGH,1,0),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),COLORRED;
STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),COLORFF4242;
STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLORFF4242;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORFF4242;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLORFF4242;
STICKLINE(买线<卖线,LOW,HIGH,1,0),COLORFF4242;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
HY1:=REF(EMA(V1,3),1);
DRAWTEXT(CROSS(CLOSE,HY1),LOW,'↑'),LINETHICK2,COLORYELLOW;
DRAWTEXT(CROSS(HY1,CLOSE),HIGH*1.05,'↓'),LINETHICK3,COLORWHITE;
APP:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
ZL:=IF((CLOSE > OPEN),(APP * (HIGH - LOW)),IF((CLOSE < OPEN),(APP *
((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
SF:=IF((CLOSE > OPEN),(0 - (APP * ((HIGH - CLOSE) + (OPEN -
LOW)))),IF((CLOSE < OPEN),(0 - (APP * (HIGH - LOW))),(0 - (VOL / 2))));
库存能量:=MA((ZL + SF),2);
库存平均:=MA((ZL + SF),5);
DRAWTEXT(CROSS(库存能量,库存平均),L*0.97,'↑'),COLORFF00FF,LINETHICK4;
导航:线性,COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-29722.html]趋势波段(买线、卖线、库存能量、库存平均)[/url]