Macd ich rsi by duy//@version=4
study (title="Ichimoku Cloud with MACD and RSI", shorttitle="Ichimoku_MACD_RSI", overlay=true)
// Ichimoku Cloud parameters
conversionPeriods = input (9, minval=1), basePeriods = input (26, minval=1)
laggingSpan2Periods = input (52, minval=1)
displacement = basePeriods
donchian(len) =