公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

万能MACD

2022-9-19 10:26| 发布者: admin| 查看: 23| 评论: 0

万能MACD


LC1 := REF(CLOSE,1);
R:=SMA(MAX(CLOSE-LC1,0),9,1)/SMA(ABS(CLOSE-LC1),9,1)*100;


绿色→超跌区域:0,colorgreen,linethick0;
蓝色→空仓区域:0,colorblue,linethick0;
黄色→持有区域:0,colorYELLOW,linethick0;
红色→警惕:0,colorred,linethick0;
注意减仓:0,colorred,linethick0;
操盘线:=SMA(MAX(CLOSE-LC1,0),9,1)/SMA(ABS(CLOSE-LC1),9,1)*100;

DIF :=EMA(操盘线,7) - EMA(操盘线,19);
DEA:=EMA(DIF,7);
持有:=(DIF>=0);
关注:=(DIF>=DEA) AND (DIF<0);
空仓:=(DIF

操盘线10:=(操盘线-50)/5;
STICKLINE(r>=50,操盘线10,0,8,0),COLORyellow;
STICKLINE(r>80,操盘线10,6,8,0),COLORred;
STICKLINE(r<50,操盘线10,0,8,0),COLORBLUE;
STICKLINE(r<=20,操盘线10,-6,8,0),COLORgreen;

partline(DIF,持有,rgb(255,00,255)),LINETHICK1;
partline(DIF,关注,rgb(255,255,00)),LINETHICK1;
partline(DIF,空仓,rgb(00,255,255));
partline(DEA,DEA>DIF,rgb(0,0,255));
partline(DEA,DEA


鲜花

握手

雷人

路过

鸡蛋
返回顶部