發表文章

目前顯示的是 6月, 2025的文章

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

2025-06-13[五]:KD30-70,震盪指標‧‧

 2025-06-13[五]:KD30-70,震盪指標‧‧ // Copyright © 2023, José Manuel Gassin Pérez-Traverso, All rights reserved. // © JoseMetal // @version= 5 indicator ( "KDJ [JoseMetal]" , "KDJ [JoseMetal]" , false ) //== Constantes c_granate = color.rgb ( 136 , 14 , 79 , 20 ) c_verde_radiactivo     = color.rgb ( 0 , 255 , 0 , 0 ) c_verde               = color.rgb ( 0 , 128 , 0 , 0 ) c_verde_oscuro         = color.rgb ( 0 , 80 , 0 , 0 ) c_rojo_radiactivo     = color.rgb ( 255 , 0 , 0 , 0 ) c_rojo                 = color.rgb ( 128 , 0 , 0 , 0 ) c_rojo_oscuro         = color.rgb ( 80 , 0 , 0 , 0 ) c_azul_claro = color.rgb ( 0 , 128 , 255 , 0 ) c_negro = color.rgb ( 0 , 0 , 0 , 0 ) noneColor = color.new ( color.white , 100 ) //== Funciones _MA ( src , long , tipo ) =>     switch tipo       ...

2025-06-13[五]:4EMA+MACD指標‧‧

 2025-06-13[五]:4EMA+MACD指標‧‧ // @version= 5 indicator ( "EMA & MACD" , overlay = false ) // Opsi untuk menampilkan atau menyembunyikan indikator showEMA1 = input ( true , title = "Show EMA 1" ) showEMA2 = input ( true , title = "Show EMA 2" ) showEMA3 = input ( true , title = "Show EMA 3" ) showEMA4 = input ( true , title = "Show EMA 4" ) showMACD = input ( true , title = "Show MACD" ) // Input indikator EMA // ------------------------ ema1Length = input.int ( 20 , title = "EMA 1 Length" ) ema2Length = input.int ( 50 , title = "EMA 2 Length" ) ema3Length = input.int ( 100 , title = "EMA 3 Length" ) ema4Length = input.int ( 200 , title = "EMA 4 Length" ) // Hitung EMA ema1 = ta.ema ( close , ema1Length ) ema2 = ta.ema ( close , ema2Length ) ema3 = ta.ema ( close , ema3Length ) ema4 = ta.ema ( close , ema4Length ) // Plot EMA dengan overlay paksa...