通达信公式源码 通达信霸王举鼎黄金公式源码
2015-4-22 10:28:30 股票入门 http://rumen.southmoney.com
通达信公式源码 通达信霸王举鼎黄金公式源码:
KK:=IF(C》=O AND (C》=REF(C,1) OR REF(C,1)》=REF(O,1)),1,IF(C《O AND (C《REF(O,1) OR REF(C,1)《REF(O,1)),-1,0));
红K1:=KK=1 AND C》=O;
红K2:=KK=1 AND C《O;
红K3:=KK=0 AND C》=O;
红K:=红K1 OR 红K2 OR 红K3;
DIFF:=(EMA(C,26)-EMA(C,52));
DEA:=EMA(DIFF,52);
MACD:=(2*(DIFF-DEA));
DIF:=(EMA(C,26)-EMA(C,52));
ESS:=EMA(C,26);
EGG:=EMA(C,52);
西楚霸王:=(((((((((52-1)*(26+1))*EGG)*1)-((((52+1)*(26-1))*ESS)*1))+(((26+1)*(52+1))*DIF))*1)/((2*52)-(2*26)))*1),COLORYELLOW;
霸王线多头:=西楚霸王》=REF(西楚霸王,1);
RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
买入:=CROSS(K,D);
霸王举鼎:红K AND 霸王线多头 AND 买入,LINETHICK2;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。