股票论坛
标题:
求高手帮忙做一个选股,感谢!!
[打印本页]
作者:
雄鹰展翅
时间:
2016-11-21 16:25
标题:
求高手帮忙做一个选股,感谢!!
第一个:把第一个公式的红色柱子“买入”和第二个公式选股公式重叠时候做个选股。
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORYELLOW;
VAR21:IF(VAR2<20,40,20),COLORRED;
VAR22:IF(VAR2>80,60,80),COLORFFFF50;
VAR2↑:STICKLINE(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),20,40,8,0),COLORRED;
VAR2↓:STICKLINE(FILTER(REF(VAR2,1)>80 AND VAR2<REF(VAR2,1),5),60,80,8,0),COLORFFFF50;
DRAWTEXT(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),40 ,'买入' ),COLORFFFFFF;
DRAWTEXT(FILTER(REF(VAR2,1)>80 AND VAR2<REF(VAR2,1),5),60 ,'卖出' ),COLORFFFFFF;
80,COLORGREEN;
20,COLORRED;
第二个:
MAC3:=(ATAN((MA(C,3)/REF(MA(C,3),1)-1)*100)*180/3.14115926);
M3:=MA(MAC3,3);
AA:=PLOYLINE(CROSS(MAC3,M3),M3);
AAB:=PLOYLINE(CROSS(M3,MAC3),MAC3);
精确波段起点:COUNT(CROSS(MAC3,M3),AA<REF(AA,3) AND AAB>REF(AAB,3));
DRAWTEXT(ABS(精确波段起点)>0,精确波段起点*1.20,'精确波段起点'),COLORYELLOW;
流通盘:=FINANCE(7)<=600000000;
股价:=C>=5 AND C<50;
作者:
新人报道
时间:
2016-11-21 16:25
MAC3:=(ATAN((MA(C,3)/REF(MA(C,3),1)-1)*100)*180/3.14115926);
M3:=MA(MAC3,3);
AA:=PLOYLINE(CROSS(MAC3,M3),M3);
AAB:=PLOYLINE(CROSS(M3,MAC3),MAC3);
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORYELLOW;
精确波段起点:COUNT(CROSS(MAC3,M3),AA<REF(AA,3) AND AAB>REF(AAB,3))=1 AND FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);
欢迎光临 股票论坛 (http://100000w.com/)
Powered by Discuz! X3.2