编写要求:
EXP1:EXPMA(CLOSE,5); EXP2:EXPMA(CLOSE,10); MA20:MA(C,20); 买1:=CROSS(EXP1,EXP2) AND CROSS(EXP2,MA20); 买2:=CROSS(C,MA(C,20)) AND C>REF(H,BARSLAST(C
公式在线网解答:
EXP1:EMA(CLOSE,5);
EXP2:EMA(CLOSE,10);
MA20:MA(C,20);
买1:=CROSS(EXP1,EXP2) AND CROSS(EXP2,MA20);
买2:=CROSS(C,MA(C,20)) AND C>REF(H,BARSLAST(C<O));
DRAWTEXT(买1,L*0.98,'买1'),COLORFF00FF;
DRAWICON(买2,L*0.96,7);