html5均线图源码,通达信导航家之成本均线主图指标 源码(图文)

您正在下载的是:通达信导航家之成本均线主图指标 源码

36c84c18e4bde495c6024d3441154324.png

N:=5;M:=35;

VAR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),M,1);

VAR2:=HIGH-REF(HIGH,1);

VAR3:=REF(LOW,1)-LOW;

VAR4:=SMA(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),M,1);

VAR5:=SMA(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),M,1);

VAR6:=VAR4*100/VAR1;

VAR7:=VAR5*100/VAR1;

VAR8:=SMA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,M,1);

VAR9:=(VAR8+REF(VAR8,N))/2;

VARA:=SUM(HIGH-OPEN,M)/SUM(OPEN-LOW,M)*100;

VARB:=SUM(MAX(0,HIGH-REF(CLOSE,1)),M)/SUM(MAX(0,REF(CLOSE,1)-LOW),M)*100;

VARC:=AMOUNT/VOL/100;

VARD:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;

VARE:=SUM(AMOUNT,N)/VARC/100;

VAR10:=SUM(AMOUNT,M)/VARC/100;

VAR12:=REF(AMOUNT,1)+REF(AMOUNT,2)+REF(AMOUNT,3)+REF(AMOUNT,4);

VAR13:=VAR12/CAPITAL;

VAR14:=VOL/CAPITAL*VARD+VAR13*REF(VARC,1);

LHZ5: IF(DATE,DMA(VARD,VOL/VARE),0);

LHZ35: IF(DATE,DMA(VARD,VOL/VAR10),0);

市场绝对成本: IF(DATE,DMA(VARD,VOL/CAPITAL),0),POINTDOT;

上轨: SMA(AMOUNT/VOL/100,M,1)*1.12,POINTDOT;

下轨: SMA(AMOUNT/VOL/100,M,1)*0.88,POINTDOT;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值