分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]两仪四象 提供源码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2018-11-01 01:56:42
软件简介:

{两仪四象}

{参数:N=3}

XA_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;

太阳线:(20*XA_1+19*REF(XA_1,1)+18*REF(XA_1,2)+17*REF(XA_1,3)+16*REF(XA_1,4)+15*REF(XA_1,5)+14*REF(XA_1,6)+13*REF(XA_1,7)+12*REF(XA_1,8)+11*REF(XA_1,9)+10*REF(XA_1,10)+9*REF(XA_1,11)+8*REF(XA_1,12)+7*REF(XA_1,13)+6*REF(XA_1,14)+5*REF(XA_1,15)+4*REF(XA_1,16)+3*REF(XA_1,17)+2*REF(XA_1,18)+REF(XA_1,20))/210,LINETHICK2;

太阴线:MA(太阳线,10),LINETHICK2;

乾坤线:MA(太阳线,50),COLORCYAN,LINETHICK2;

IF(CLOSE>乾坤线,乾坤线,DRAWNULL),COLORMAGENTA,LINETHICK2;

DRAWBAND(太阳线,RGB(200,0,0),太阴线,RGB(0,0,200));

XA_2:=MAX(HHV(CLOSE,N)-LLV(CLOSE,N),ABS(CLOSE-REF(CLOSE,N)))/SUM(ABS(CLOSE-REF(CLOSE,1)),N);

XA_3:=EMA(XA_2,N);

XA_4:=INTPART(N-(XA_3-0.5)*N);

XA_5:=SUM((CLOSE-REF(CLOSE,1))*VOL,XA_4);

XA_6:=EMA(XA_5,N);{}

STICKLINE(XA_6>0 AND CLOSE<=OPEN,CLOSE,OPEN,3,0),COLORRED;

STICKLINE(XA_6>0 AND CLOSE<=OPEN,OPEN,HIGH,0,1),COLORRED;

STICKLINE(XA_6>0 AND CLOSE<=OPEN,CLOSE,LOW,0,1),COLORRED;

STICKLINE(XA_6>0 AND CLOSE>=OPEN,CLOSE,OPEN,3,1),COLORRED;

STICKLINE(XA_6>0 AND CLOSE>=OPEN,CLOSE,HIGH,0,1),COLORRED;

STICKLINE(XA_6>0 AND CLOSE>=OPEN,OPEN,LOW,0,1),COLORRED;

STICKLINE(XA_6<0 AND CLOSE<=OPEN,CLOSE,OPEN,3,0),COLORGREEN;

STICKLINE(XA_6<0 AND CLOSE<=OPEN,OPEN,HIGH,0,1),COLORGREEN;

STICKLINE(XA_6<0 AND CLOSE<=OPEN,CLOSE,LOW,0,1),COLORGREEN;

STICKLINE(XA_6<0 AND CLOSE>=OPEN,CLOSE,OPEN,3,1),COLORGREEN;

STICKLINE(XA_6<0 AND CLOSE>=OPEN,CLOSE,HIGH,0,1),COLORGREEN;

STICKLINE(XA_6<0 AND CLOSE>=OPEN,OPEN,LOW,0,1),COLORGREEN;
{分析家公式网www.70822.com}

DRAWICON(CROSS(XA_6,0),LOW,7);

DRAWICON(CROSS(0,XA_6),HIGH,8);

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.3,0.03,0,9),COLORYELLOW;


[url=http://www.70822.com/soft/sort013/sort05/down-130104.html]两仪四象 提供源码[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.98828 毫秒