kdj_k:="kdj.k"(9,3,3);kdj_d:="kdj.d"(9,3,3);kdj_j:="kdj.j"(9,3,3);1:=cross(kdj_j,0) or (cross(kdj_j,kdj_k) and kdj_d<26);买2:=cross("rsi.rsi1"(6,2,2),20) or cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));买3:=cross("macd.dif","macd.dea") or cross("macd.macd",0);xg:买1 and 买2 and 买3;这是结合macd,kdj,和rsi买件的买入条件,应该说比较准,还关注,大盘不好,指标再炫,一样没用的 20210311
varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig(3,5),2)<=ref(zig(3,5),3));vard:=(zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=ref(zig(3,5),2)) an...
这叫做“单针探底”。单根k线很难说明问题,下跌中继或者反弹都有可能,如果连续走出单针探底,则之后反弹的几率较大,对于超跌的股票来说单针探底短期是一个反弹的信号。公式如下:dow**ay(c,3) and (min(c,o)-l)/abs(c-o)>=1.5;3为参数,可自行设定连跌几天。 仅供参考。)