通达信操盘王源码

2017-04-08 20:57:00来源:本站整理浏览:319

操盘王源码

X_1:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,3)+EMA((OPEN+HIGH+LOW+CLOSE)/4,6)+EMA((OPEN+HIGH+LOW+CLOSE)/4,9))/4;
 X_2:=(EMA((OPEN+HIGH+LOW+CLOSE)/4,5)+EMA((OPEN+HIGH+LOW+CLOSE)/4,10)+EMA((OPEN+HIGH+LOW+CLOSE)/4,20))/4;
 A1:DRAWTEXT(X_1>X_2 AND REF(X_1,1)<REF(X_2,1),LOW,28),COLORRED;
 A2:DRAWTEXT(X_1<X_2 AND REF(X_1,1)>REF(X_2,1),HIGH,29),COLORGREEN;
 STICKLINE(X_1<X_2,LOW,HIGH,0.01,0),COLORCYAN;
 STICKLINE(X_1<X_2,CLOSE,OPEN,3,0),COLORCYAN;
 STICKLINE(X_1>X_2,LOW,HIGH,0.01,0),COLORRED;
 STICKLINE(X_1>X_2,CLOSE,OPEN,3,0),COLORRED;

通达信操盘王源码
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式