html计算斐波那契数列通项公式,斐波那契数列指标公式

a4c26d1e5885305701be709a3d33442f.png

公式源码:

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:EMA(DIF,9);

MACD:(DIF-DEA)*2 COLORSTICK;

TJ:=MACD>0;T:=MACD<0;

A:=LLV(MACD,50)=MACD;

DRAWICON(A AND FILTERX(A,20), MACD,1);

DRAWTEXT(BARSLAST(TJ)=1,MACD,'1'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=2,MACD,'2'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=3,MACD,'3'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=5,MACD,'5'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=8,MACD,'8'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=13,MACD,'13'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=21,MACD,'21'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=34,MACD,'34'),COLORYELLOW;

DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW;

DRAWTEXT(BARSLAST(T)=1,MACD,'1'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=2,MACD,'2'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=3,MACD,'3'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=5,MACD,'5'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=8,MACD,'8'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=13,MACD,'13'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=21,MACD,'21'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=34,MACD,'34'),COLORGREEN;

DRAWTEXT(BARSLAST(T)=55,MACD,'55'),COLORGREEN;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值