比较简单的指标,主要是辅助使用,例如一阳穿三线,和跌破均线时的提示
COND1:= (L <= MA(C,20) AND MA(C,20) <= C AND L <= MA(C,10) AND MA(C,10) <= C AND L <= MA(C,5) AND MA(C,5) <= C AND C >= O AND C/REF(C,1) >=1.03);
DRAWTEXT(COND1, H, '穿三线'),COLORRED;
COND2:= REF(C,5) > REF(O,5) AND REF(C,4) < REF(O,4) AND REF(C,3) < REF(O,3) AND REF(C,2) > REF(O,2) AND REF(C,1) < REF(O,1) AND C > O;
DRAWTEXT(COND2, L, '加速信号'),COLORRED;
COND3:= REF(C,5) < REF(O,5) AND REF(C,4) < REF(O,4) AND REF(C,3) < REF(O,3) AND REF(C,2) > REF(O,2) AND REF(C,1) < REF(O,1) AND C > O;
DRAWTEXT(COND3, L, '推动信号'),COLORGREEN;
COND4:= REF(C,5) < REF(O,5) AND REF(C,4) > REF(O,4) AND REF(C,3) < REF(O,3) AND REF(C,2) < REF(O,2) AND REF(C,1) < REF(O,1) AND C > O;
DRAWTEXT(COND4, L, '底部信号'),COLORGREEN;
COND5:= REF(C,5) < REF(O,5) AND REF(C,4) < REF(O,4) AND REF(C,3) < REF(O,3) AND REF(C,2) < REF(O,2) AND REF(C,1) > REF(O,1) AND C < O;
DRAWTEXT(COND5, L, '底转加速'),COLORGREEN;
COND6:= REF(C,5) > REF(O,5) AND REF(C,4) < REF(O,4) AND REF(C,3) > REF(O,3) AND REF(C,2) > REF(O,2) AND REF(C,1) > REF(O,1) AND C <O;
DRAWTEXT(COND6, L, '顶部信号'),COLORYELLOW;
COND7:= O/REF(C,1) >= 1.015;
DRAWTEXT(COND7, O, '高开');
COND8:= O = L;
DRAWTEXT(COND8, O, '控价');
DRAWTEXT(O >= MA(C,20) AND MA(C,20) >= C , L, '破20线'),COLORGRAY;
DRAWTEXT(O >= MA(C,60) AND MA(C,60) >= C , L, '破60线'),COLORGRAY;