龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-11-29 16:25

金山银山 文华指标[文华财经公式]

标签: 文华 公式 财经 期货 金山银山

源码:

[code]
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MA(CLOSE,5),COLORWHITE;
MA(CLOSE,15),COLORYELLOW;
STICKLINE(DIFF>DEA,CLOSE,OPEN,COLORRED,0);
STICKLINE(DIFF>DEA,HIGH,LOW,COLORRED,0);
STICKLINE(DIFF<=DEA,CLOSE,OPEN,COLORGREEN,0);
STICKLINE(DIFF<=DEA,HIGH,LOW,COLORGREEN ,0);
DRAWTEXT(CROSS(DIFF,DEA),LOW-0.2,'买入'),COLORWHITE;
DRAWTEXT(CROSS(DEA,DIFF),HIGH+0.2,'卖出'),COLORGREEN;
[/code]
[attach]5627[/attach]

页: [1]