//@version=5 indicator("10m Predictor Complete", overlay=true) // GET 10m DATA c10 = request.security(syminfo.tickerid, "10", close) h10 = request.security(syminfo.tickerid, "10", high) l10 = request.security(syminfo.tickerid, "10", low) atr10 = request.security(syminfo.tickerid, "10", ta.atr(14)) rsi10 = request.security(syminfo.tickerid, "10", ta.rsi(close, 14)) [macdLine, signalLine, histLine] = request.security(syminfo.tickerid, "10", ta.macd(close, 12, 26, 9)) stochK = request.security(syminfo.tickerid, "10", ta.stoch(close, high, low, 14)) // PREDICTIONS slope = ta.change(c10, 3) / 3 pred_close = c10 + slope pred_high = pred_close + atr10 pred_low = pred_close - atr10 // WEIGHTED SCORE rsiScore = rsi10 > 70 ? 2 : rsi10 > 50 ? 1 : rsi10 signalLine ? 2 : -2 stochScore = stochK > 80 ? 2 : stochK > 50 ? 1 : stochK 40 isBearish = weightedScore 50 ? "HIGH" : "LOW" macdS...