分享"红买蓝卖"公式
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
绿探底震仓:IF(VAR2,7,DRAWNULL),COLORBLUE,LINETHICK3;
红买: IF(VAR2>VAR3,7,DRAWNULL), COLORRED,LINETHICK3;
蓝卖: IF(VAR2<VAR3,7,DRAWNULL),COLORFFFF00,LINETHICK3;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
上穿买:SMA(RSV,3,1),COLORRED;
下穿卖:SMA(上穿买,3,1),COLORFFFF00;
DRAWICON(CROSS(上穿买,下穿卖),下穿卖+0,1);
DRAWICON(CROSS(下穿卖,上穿买),下穿卖+0,2);