全部通过主流软件测试。按自己需要安装和调试
LHJ顶底指标(通达信版),加入MA OBV LHJ黄金组合选股,增强版 .也加入了MA MACD LHJ组合选股,增加版功能源码
LH:100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
J:EMA(LH,21);
LHJ:2*(LH-J), ;
现价:C,;
LHJ估值:(34)*((30)/(19))*100,,;
(CROSS(LH,J),J,5);
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,-VOL),0),;
OBV选股:LH>J AND LH=MA(C,60) AND MA(C,60)>REF(MA(C,60),1)
AND (OBV=3 AND MA(C,5)>MA(C,10) AND LH>REF(LH,1)
AND (LH
((OBV选股=1,10),J,42);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD选股:CROSS(DIF,0) AND DIF>DEA AND C>MA(C,60) AND MA(C,60)>REF(C>MA(C,60),1)
AND LH>J AND LHREF(LH,1) AND C/MA(C,60)
(MACD选股=1,LH,1);
通达信效果图:
LHJ顶底指标增强版大智慧软件源码:
LH:100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
J:EMA(LH,21);
LHJ:2*(LH-J), ;
现价:C,;
LHJ估值:((5)*(4)),,;
(CROSS(LH,J),J,1);
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,-VOL),0);
OBV选股:LH>J AND LH=MA(C,60) AND MA(C,60)>REF(MA(C,60),1)
AND (OBV=3 AND MA(C,5)>MA(C,10) AND LH>REF(LH,1)
AND (LH
((OBV选股=1,10),J,'多'),,;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD选股:CROSS(DIF,0) AND DIF>DEA AND C>MA(C,60) AND MA(C,60)>REF(C>MA(C,60),1)
AND LH>J AND LHREF(LH,1) AND C/MA(C,60)
(MACD选股=1,LH,7);
大智慧效果图:
LHJ顶底指标增加同花顺版源码:
LH:100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
J:EMA(LH,21);
LHJ:2*(LH-J), ;
现价:C,;
LHJ估值:(2*(MGSY/MGJZC)*5*MGJZC*5*2),,;
(CROSS(LH,J),J,5);
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,-VOL),0);
OBV选股:LH>J AND LH=MA(C,60) AND MA(C,60)>REF(MA(C,60),1)
AND (OBV=3 AND MA(C,5)>MA(C,10) AND LH>REF(LH,1)
AND (LH
((OBV选股=1,10),J,'多'),,;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD选股:CROSS(DIF,0) AND DIF>DEA AND C>MA(C,60) AND MA(C,60)>REF(C>MA(C,60),1)
AND LH>J AND LHREF(LH,1) AND C/MA(C,60)
(MACD选股=1,LH,1);
同花顺效果图:
LHJ顶底指标增加版东方财富软件源码:
LH:100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
J:EMA(LH,21);
LHJ:2*(LH-J), ;
现价:C,;
LHJ估值:((34)*((30)/(19)))*100,,;
(CROSS(LH,J),J,3);
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,-VOL),0);
OBV选股:LH>J AND LH=MA(C,60) AND MA(C,60)>REF(MA(C,60),1)
AND (OBV=3 AND MA(C,5)>MA(C,10) AND LH>REF(LH,1)
AND (LH
((OBV选股=1,10),J,'多'),;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD选股:CROSS(DIF,0) AND DIF>DEA AND C>MA(C,60) AND MA(C,60)>REF(C>MA(C,60),1)
AND LH>J AND LHREF(LH,1) AND C/MA(C,60)
(MACD选股=1,LH,4);
东方财富LHJ顶底指标效果图:
上面代码已经很完整了,另外在旧LHJ顶底指标上
加箭头代码:
(MACD选股=1,LH,1);
加红多字代码
((OBV选股=1,10),J,42);
上一篇
出汗与健康
有话要说...