变色RSI,适合震荡行情操作(通达信公式 副图 源码 测试图)
公式介绍和使用:RSI做震荡行情很不错的公式,只在超买80以上和超卖20以下操作。SJ:1;超买:80*SJ,COLORRED,POINTDOT;超卖:20*SJ,COLOR00FF00,POINTDOT;LC :=REF(CLOSE,1);RSI1:SMA(MAX(CLOSE-LC,0)*SJ,7,1)/SMA(ABS(CLOSE-LC),7,1)*100;RSI2:SMA(MAX(CLOSE-LC,0)*SJ,14,1)/SMA(ABS(CLOSE-LC),14,1)*100;IF(RSI1<=REF(RSI1,1),RSI1,DRAWNULL),LINETHICK2,COLORGREEN;IF(RSI1>=REF(RSI1,1),RSI1,DRAWNULL),LINETHICK2,COLORRED;IF(RSI2<=REF(RSI2,1),RSI2,DRAWNULL),LINETHICK2,COLORGREEN;
IF(RSI2>=REF(RSI2,1),RSI2,DRAWNULL),LINETHICK2,COLORRED;
好人啊!
页:
[1]