發表文章

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