大智慧红绿买卖源码副图

 

LL:=26;
S:=12;
M:=9;
DIFF :=( EMA(CLOSE,S) - EMA(CLOSE,LL))*100;
DEA :=EMA(DIFF,M);
MACD :=2*(DIFF-DEA);
绿柱消失买入:IF(DIFF<0,DIFF,0),STICK,LINETHICK7,COLOR00FF00;0,STICK,LINETHICK7,COLOR000000;
红柱消失卖出:IF(DIFF>=0,DIFF,0),STICK,LINETHICK7,COLORRED;0,STICK,LINETHICK7,COLOR000000;
IF(DEA>=0,DEA,0),STICK,LINETHICK7,COLORBLUE;0,STICK,LINETHICK7,COLOR000000;
IF(DEA<0,DEA,0),STICK,LINETHICK7,COLORYELLOW;0,STICK,LINETHICK7,COLOR000000;
排序:if(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),10,0), COLORWHITE,STICK;
卖出:=IF(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),-20,0){colorred};

IF(diff>=0 and dea>=diff and ref(diff,1)>ref(dea,1),-30,0),STICK,LINETHICK2,colorred;0,STICK,LINETHICK2,colorred;
买入:=IF(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),0,20);{STICK,LINETHICK4,colorgreen;}
IF(diff<=0 and dea<=diff and ref(diff,1)<ref(dea,1),30,0),STICK,LINETHICK4,color00ff00;0,STICK,LINETHICK2,color00FF00;
 




来函数检测结果如下
该公式没有未来函数


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图