公式参数:n1 n2 n3 最小2 最大100 缺省14 公式名称:多空合并 思绪:wr和Rsi合并。利用指标特征,自己编写的50附近的金叉死叉合并。 源码:LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,LINETHICK2,COLORRED;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100,COLORRED;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100,COLORRED;
WR1:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),COLORGREEN;
WR2:100*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2))LINETHICK2,COLORGREEN;
DRAWICON(CROSS(50,WR1),50,1);
80;
50;
20; |