回调不破阳包阴公式
2020/8/30 18:47:39
公式编写说明:
前10天内有阳包阴k线组合,近几天回调都没有跌破那根阳线.
公式源码示例:
{阳包阴回调
参数:
N:1,6,4 阴线距阳线的周期范围
M:1,30,10 阳包阴距现在的周期数}
N1:=TOPRANGE(C);
T1:=N1>=1 AND N>=1 AND REF(C,1)<REF(C,2) AND O<REF(C,1) AND C>REF(O,1);
T2:=N1>=2 AND N>=2 AND REF(C,2)<REF(C,3) AND O<REF(C,2) AND C>REF(O,2);
T3:=N1>=3 AND N>=3 AND REF(C,3)<REF(C,4) AND O<REF(C,3) AND C>REF(O,3);
T4:=N1>=4 AND N>=4 AND REF(C,4)<REF(C,5) AND O<REF(C,4) AND C>REF(O,4);
T5:=N1>=5 AND N>=5 AND REF(C,5)<REF(C,6) AND O<REF(C,5) AND C>REF(O,5);
T6:=N1>=6 AND N>=6 AND REF(C,6)<REF(C,7) AND O<REF(C,6) AND C>REF(O,6);
TJ1:=C>REF(C,1) AND T1+T2+T3+T4+T5+T6>0;
T:=BARSLAST(TJ1);
C>REF(C,1) AND T>0 AND T<=M AND C>REF(O,T) AND C<REF(C,T);
看 股吧公式 www. kanguba.com
其它股票公式列表