红买绿卖源码附图

SBZLPA1:=BARSLAST(L=HHV(L,13));
买入:10-EMA(SBZLPA1,12);
 DRAWTEXT(买入<REF(买入,1) AND REF(买入,1)>REF(买入,2) AND 买入>4,买入*1.02,'!'),COLORGREEN;
 5,COLORBLUE;
 20,COLORRED;
 IF(买入>=REF(买入,1),买入,DRAWNULL),COLORRED,LINETHICK1;
 IF(买入<REF(买入,1),买入,DRAWNULL),COLORFA6400,LINETHICK1;