同花顺金合欢花飞公式
源码
卖出线: 99;
阶段卖: 60;
趋势: 3*SMA((CLOSE-LLV(LOW,27,M1))/(HHV(HIGH,27)-LLV(LOW,27,M2))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27,M3))/(HHV(HIGH,27)-LLV(LOW,27,M4))*100,5,1),3,1);
底部: 10;
买入警戒: IF(趋势<=10,50,0);
买入信号: IF(CROSS(趋势,底部),100,0);
卖出警戒: IF(趋势>=90,50,100)
;100,colorred;
80,colorlired;
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K0:=SMA(RSV,3,1);
K:=K0;
D:=SMA(K0,2,1);
J1:(3*K0-2*D),coloryellow;
J2:MA(J1,2),colorred;
MAV:=(2*C+H+L)/4;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
SK: EMA((MAV-VAR1)/(VAR2-VAR1)*100,8),colorwhite;
SD: EMA(0.667*REF(SK,1)+0.333*SK,3),colorcyan;