Documentación
Guía de Instalación
3 pasos para añadir tu script a TradingView.
1
Abrir el Editor Pine
Abre tu gráfico en TradingView. En el panel inferior, haz clic en la pestaña "Pine Editor" (o "Editor Pine").
2
Pegar el código
Borra cualquier código existente en el editor. Abre el archivo de texto que recibiste con tu compra y copia todo su contenido. Pégalo directamente en el editor vacío.
3
Guardar y Añadir
Haz clic en el botón "Guardar" en la esquina superior derecha del editor, ponle un nombre y luego haz clic en "Añadir al gráfico". ¡El indicador ya está listo para usarse!
gonovi_indicator.pine
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © GONOVI AlgoTrend
//@version=5
indicator("GONOVI Fusion X10", overlay = true)
// --- INPUTS ---
length = input.int(20, "EMA Length")
src = input.source(close, "Source")
// --- LOGIC ---
emaValue = ta.ema(src, length)
isBullish = close > emaValue
// --- PLOT ---
plot(emaValue, color=isBullish ? color.new(#f44e1c, 0) : color.new(#a8aaba, 50))