源码
//红金底
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*3*CLOSE;
拉升力A:=SMA(拉升力,6.3,1);
波峰波谷:SMA(拉升力A,3,1),Color5959FF,LINETHICK2;
拉升力B:=3*拉升力A-2*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK1,Color46FF46;
//轻松做
N:=13;M:=21; M1:=3;M2:=3;
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
TJ:= IF(RSV<5,0,RSV);
投机: IF(TJ>95,100,TJ),LINETHICK1,Color2FFF2F;
K:= SMA(RSV,3,1);
D: SMA(K,3,1);
中期: EMA(D,M);