红色箭头买
绿色箭头卖
avr0:C;
avr1:=MA(H,5);
avr2:=MA(L,5);
avr3:=(avr1-avr2)/avr2*100;
avr4:=IF(avr3>REF(avr3,1) AND REF(avr3,1)C,20,0);
avr5:=IF(avr3>REF(avr3,1) AND REF(avr3,1)O,20,0);
DRAWICON(avr4,L*0.99,1);
DRAWICON(avr5,H*1.01,2);
红色箭头买
绿色箭头卖
avr0:C;
avr1:=MA(H,5);
avr2:=MA(L,5);
avr3:=(avr1-avr2)/avr2*100;
avr4:=IF(avr3>REF(avr3,1) AND REF(avr3,1)C,20,0);
avr5:=IF(avr3>REF(avr3,1) AND REF(avr3,1)O,20,0);
DRAWICON(avr4,L*0.99,1);
DRAWICON(avr5,H*1.01,2);