發表文章

2025-07-08[二]:收藏指標,聰明錢-SMC

 // This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/ // © LuxAlgo //@version=5 indicator('SMC-聰明錢', 'LuxAlgo - Smart Money Concepts', overlay = true, max_labels_count = 500, max_lines_count = 500, max_boxes_count = 500) //---------------------------------------------------------------------------------------------------------------------} //CONSTANTS & STRINGS & INPUTS //---------------------------------------------------------------------------------------------------------------------{ BULLISH_LEG                     = 1 BEARISH_LEG                     = 0 BULLISH                         = +1 BEARISH                         = -1 GR...

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...