天机论坛

标题: 通达信打劫庄家及选股指标公式(源码、贴图) [打印本页]

作者: 小小90后    时间: 2011-10-17 09:17
标题: 通达信打劫庄家及选股指标公式(源码、贴图)
本帖最后由 小小90后 于 2011-10-17 09:17 编辑

通达信打劫庄家及选股指标公式(源码、贴图)

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
在犹豫中上扬:0,coloryellow;
在无奈中叹息:STICKLINE(DIFF>ema(DIFF,4) and DIFF>ref(DIFF,1) ,-0.3 ,0 ,8 ,0 ),colorred;
在清醒时套牢:STICKLINE(DIFF>ema(DIFF,4) and DIFF<ref(DIFF,1) ,-0.3 ,0 ,8 ,0 ),colorwhite;
STICKLINE(DIFF<ema(DIFF,4) and DIFF>ref(DIFF,1) ,-0.3 ,0 ,8 ,0 ),coloryellow;
在憧憬中毁灭:STICKLINE(DIFF<ema(DIFF,4) and DIFF<ref(DIFF,1) ,-0.3 ,0 ,8 ,1 ),colorffbb44;
STICKLINE(K>ema(K,4) and K>ref(K,1) ,-0.3 ,0 ,8 ,0 ),colorred;
STICKLINE(K>ema(K,4) and K<ref(K,1) ,0.1 ,0 ,8 ,1 ),colorwhite;
STICKLINE(K<ema(K,4) and K>ref(K,1) ,0.2 ,0 ,8 ,0 ),coloryellow;


选股
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
XG:(K<EMA(K,4) AND K>REF(K,1));





欢迎光临 天机论坛 (http://www.tjgp.com/) Powered by Discuz! X3.1