2025-06-13[五]:RSI超買超賣指標‧‧
2025-06-13[五]:RSI超買超賣指標‧‧ // This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © BackQuant // @version= 5 import TradingView/ta/7 as ta indicator ( "Machine Learning RSI [BackQuant]" , "ML RSI [BackQuant]" , overlay = false , max_labels_count = 500 , timeframe = "" , timeframe_gaps = true ) // Define Groups const string rsi_g = "Relative Strength Index" const string ml_t = "Machine Learning Thresholds" const string opt_ = "ML Optimization" const string ui = "UI Settings" // User Inputs // RSI Settings series float src = input.source ( close , "Calculation Source" , group = rsi_g , inline = "X" ) simple int rsiLength = input.int ( 14 , "RSI Length" , minval = 2 , group = rsi_g , inline = "X" ) simple bool smooth = input.b...