红买黄卖(通达信公式 主图 源码 测试图)

[复制链接]
查看35 | 回复0 | 2022-6-27 19:17:39 | 显示全部楼层 |阅读模式

 DIFF:=EMA(CLOSE,N)-EMA(CLOSE,M);

DEA:=EMA(DIFF,9); 
MA(C,8),COLORWHITE; 
MA(C,21),COLORYELLOW; 
多头:STICKLINE(DIFF>DEA,C,O,3,-1),COLORRED; 
STICKLINE(DIFF>DEA,H,L,0,0),COLORWHITE; 
空头:STICKLINE(DIFF<=DEA,C,O,3,0),COLORWHITE;
STICKLINE(DIFF<=DEA,H,L,0,0),COLORWHITE;
DRAWTEXT(CROSS(DIFF,DEA),L*0.98,'买'),COLORYELLOW;                            
DRAWTEXT(CROSS(DEA,DIFF),H*1.02,'卖'),COLORGREEN;
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
MA(C,8),COLORWHITE; 
{分析家公式网 70822.com}
MA(C,21),COLORYELLOW; 
多头1:STICKLINE(DIFF1>DEA1,C,O,3,0),COLORRED;
STICKLINE(DIFF>DEA1,H,L,0,0),COLORRED;
空头1:STICKLINE(DIFF1<=DEA1,C,O,3,0),COLORYELLOW;
STICKLINE(DIFF1<=DEA1,H,L,0,0),COLORYELLOW;
DRAWTEXT(CROSS(DIFF1,DEA1),L*0.98,'买'),COLORWHITE;
DRAWTEXT(CROSS(DEA1,DIFF1),H*1.02,'卖'),COLORGREEN;
 

p2019131132110378.jpg

p2019131132110378.jpg

2019131132978747.rar

2.03 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

2019131132978747.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则