软件名称:[B]看主力仓位易道(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2023-01-01 00:11:47
软件简介:
看主力仓位易道
AVP:=MONEY/VOL;
MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),21);
//HD:=HIGH-REF(HIGH,1);
//LD:=REF(LOW,1)-LOW;
//MTR:=EMA(MAX(MAX(HIGH-avp,ABS(HIGH-REF(AVP,1))),ABS(REF(AVP,1)-LOW)),21);
HD:=(HIGH+CLOSE)/2-REF((HIGH+CLOSE)/2,1);
LD:=(REF(CLOSE,1)+REF(LOW,1))/2-(CLOSE+LOW)/2;
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),21);
DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),21);
主力线:DMP*90/MTR;
散户线:DMM*110/MTR;
主力仓位:(主力线-散户线)*1000,COLORSTICK,LINETHICK2;
ZL:主力仓位;
改趋势:EMA(zl,改趋势周期)*0.618;
zlsb=ZL>=0 AND zl>改趋势*超买卖因子;
zlss=ZL < 0 AND zl< 改趋势*超买卖因子;
STICKLINE(ZL AND ZL>=0 AND 改趋势<REF(改趋势,1),ZL,0,柱宽,0),COLOR8080BB;
STICKLINE(ZL AND ZL>=0 AND 改趋势>=REF(改趋势,1),ZL,0,柱宽,0),colorred;
STICKLINE(ZLSB,ZL,改趋势,柱宽,0),COLOR00DDDD;
STICKLINE(REF(ZLSB,1) AND NOT(ZLSB) ,ZL,改趋势,柱宽,0),colorgreen;
STICKLINE(ZL AND ZL<0,ZL,0,柱宽,0),COLOR00BB00;
STICKLINE(ZLSS,ZL,MIN(改趋势,0),柱宽,0),COLORAA8000;
STICKLINE(REF(ZLSS,1) AND NOT(ZLSS) ,ZL,改趋势,柱宽,0),colorbrown;
STICKLINE(REF(ZL,1) <= 0 AND ZL >0,0,ZL,柱宽,0),colormagenta;
STICKLINE(REF(ZL,1) >= 0 AND ZL <0,ZL,0,柱宽,0),colorcyan;
//DRAWICON(REF(zl,1) <= 0 AND zl >0,0,zl,柱宽,0),colorwhite;
//up:=(CROSS(EMA(ZL,仓位线平滑周期),改趋势) OR (CROSS(ZL,0) AND (REF(改趋势,2) < ABS(REF(zl,2)) )));
up:=(CROSS(EMA(ZL,仓位线平滑周期),改趋势) OR (CROSS(ZL,0) ));
Down:=(CROSS(改趋势,EMA(ZL,仓位线平滑周期)) OR CROSS(0,ZL));
//DRAWICON(CROSS(ZL,0),-100,1);
//DRAWICON(CROSS(0,ZL),100,2);
//DRAWICON((FILTER(CROSS(ZL,改趋势),4) OR FILTER(CROSS(ZL,0),5)) ,zl,1);
//DRAWICON((FILTER(CROSS(改趋势,ZL),4) OR FILTER(CROSS(0,ZL),5)) ,zl,2);
//DRAWICON(FILTER(CROSS(EMA(ZL,3),改趋势),3) ,zl+zl/2,1);
//DRAWICON(FILTER(CROSS(改趋势,EMA(ZL,3)),3) ,zl+zl/2,2);
DRAWICON(FILTER(up,过滤周期) AND dsp,-ABS(REF(zl,1)),1);
DRAWICON(FILTER(down,过滤周期) AND dsp,IF(改趋势>0,REF(ZL,1),ABS(zl)),2);
//SELECT(EXIST(up AND VOL/SHGZG*100 > 活跃换手率,N天信号));
SELECT(EXIST((REF(zlss,1) AND NOT(zlss)),N天信号) OR EXIST(CROSS(ZL ,0),N天信号)
OR EXIST(CROSS(改趋势,0),N天信号) )
[url=http://www.70822.com/soft/sort013/sort036/down-165670.html]看主力仓位易道(同花顺指标 副图 源码 测试图)[/url]