AI Buy/Sell SIgnals by price prediction//@version=5
indicator("AI Buy/Sell SIgnals by price prediction", overlay=true)
learning_times = input.int(200, "Learning times")
ema_length = input.int(1, "EMA length")
learn_filter_length = input.int(5, "SMA Filter length")
learning_block = input.bool(title="Filter Learning data", defval=true)
reaction = input.int(1, "Reaction (1-3)")
a = close
var input_list = array.new_float(100)
var weights = array.new_float(100)
var outt = array.new_float(2)
//def info table
var tab = label.new(bar_index, high, ".", style=label.style_label_left, color=color.white)
infotable = table.new(position=position.top_right, columns=3, rows=3, bgcolor=color.new(color.white, 0))
label.delete(tab)
get_errg(input_array, weights_array, len_of_both) =>
out = 0
for x = 0 to len_of_both
out += int(array.get(weights_array, x) * array.get(input_array, x))
out
//getting inputs
array.set(input_list, 0, ta.valuewhen(bar_index, close, 10))
array.set(input_list, 1, ta.valuewhen(bar_index, close, 20))
array.set(input_list, 2, ta.valuewhen(bar_index, close, 30))
array.set(input_list, 3, ta.valuewhen(bar_index, close, 40))
array.set(input_list, 4, ta.valuewhen(bar_index, close, 50))
array.set(input_list, 5, ta.valuewhen(bar_index, close, 60))
array.set(input_list, 6, ta.valuewhen(bar_index, close, 70))
array.set(input_list, 7, ta.valuewhen(bar_index, close, 80))
array.set(input_list, 8, ta.valuewhen(bar_index, close, 90))
array.set(input_list, 9, ta.valuewhen(bar_index, close, 100))
array.set(input_list, 10, ta.valuewhen(bar_index, open, 10))
array.set(input_list, 11, ta.valuewhen(bar_index, open, 20))
array.set(input_list, 12, ta.valuewhen(bar_index, open, 30))
array.set(input_list, 13, ta.valuewhen(bar_index, open, 40))
array.set(input_list, 14, ta.valuewhen(bar_index, open, 50))
array.set(input_list, 15, ta.valuewhen(bar_index, open, 60))
array.set(input_list, 16, ta.valuewhen(bar_index, open, 70))
array.set(input_list, 17, ta.valuewhen(bar_index, open, 80))
array.set(input_list, 18, ta.valuewhen(bar_index, open, 90))
array.set(input_list, 19, ta.valuewhen(bar_index, open, 100))
// teaching neural network
sma = ta.sma(ta.ema(close, 10), learn_filter_length)
if math.abs(ta.valuewhen(bar_index, sma, 1) - sma) > close / 10000 or not learning_block
for rn = 0 to learning_times
for list_number = 0 to 19
if rn == 0
array.set(weights, list_number, 1) // Initialisiere die Gewichte mit 1
else
target_output = close
current_output = get_errg(input_list, weights, 19)
current_input = array.get(input_list, list_number)
target_input = target_output / current_output * current_input // Berechne die entsprechende Eingabe für das Gewicht
array.set(weights, list_number, target_input)
// getting new output
array.set(outt, 0, get_errg(input_list, weights, 19))
var col = #ff1100
var table_i_col = ''
var pcol = #ff1100
// getting signals
if ta.ema(ta.valuewhen(bar_index, array.get(outt, 0), 1), ema_length) < ta.sma(ta.ema(array.get(outt, 0), ema_length), 10)
col := #39ff14
table_i_col := 'AI Up'
if ta.ema(ta.valuewhen(bar_index, array.get(outt, 0), 1), ema_length) > ta.sma(ta.ema(array.get(outt, 0), ema_length), 10)
col := #ff1100
table_i_col := 'AI down'
if ta.valuewhen(bar_index, col, 50) == col and ta.valuewhen(bar_index, col, 10) == ta.valuewhen(bar_index, col, 20) and ta.valuewhen(bar_index, col, 30) == ta.valuewhen(bar_index, col, 40) and reaction == 1
pcol := col
if ta.valuewhen(bar_index, col, 50) == col and ta.valuewhen(bar_index, col, 10) == ta.valuewhen(bar_index, col, 20) and reaction == 2
pcol := col
if ta.valuewhen(bar_index, col, 50) == col and reaction == 3
pcol := col
// plotting all info
plot(0, "plot2", col, offset=50)
plot(ta.sma(ta.ema(close, 10), 10), color=ta.valuewhen(bar_index, pcol, 50), linewidth=2)
table.cell(infotable, 0, 0, str.tostring(float(array.get(outt, 0))))
table.cell(infotable, 0, 1, str.tostring(float(ta.valuewhen(bar_index, array.get(outt, 0), 50))))
table.cell(infotable, 0, 2, str.tostring(table_i_col))
Скользящие средние
Cloud EMA Ajustable (9, 21, 50) con Filtro de SeñalesEl "Cloud EMA Ajustable (9, 21, 50) con Filtro de Señales" es una herramienta de análisis técnico diseñada para identificar zonas de soporte o resistencia dinámicas basadas en tres medias móviles exponenciales (EMAs) ajustables. Este indicador también incluye un filtro de señales que combina un cruce de EMAs con confirmación del RSI para ayudar a identificar posibles puntos de entrada en tendencias alcistas o bajistas.
Características principales:
Medias móviles exponenciales (EMAs):
EMA 9: Actúa como un indicador rápido de la tendencia a corto plazo.
EMA 21: Marca un soporte o resistencia intermedia.
EMA 50: Representa una tendencia más amplia.
Relleno de color entre EMA 21 y EMA 50:
Verde para tendencias alcistas (EMA 21 > EMA 50).
Rojo para tendencias bajistas (EMA 21 < EMA 50).
Señales basadas en mechas y RSI:
Una señal de entrada ocurre cuando la mecha de la vela toca la EMA 21, y se confirma una tendencia mediante las EMAs y el RSI.
Totalmente personalizable: Los usuarios pueden ajustar los períodos de las EMAs y el RSI según sus necesidades.
Ajustes disponibles para los usuarios:
Períodos de las EMAs:
Periodo EMA 9 : Personaliza el período para la EMA más rápida.
Periodo EMA 21 : Define el período de la EMA media, utilizada como referencia clave.
Periodo EMA 50: Ajusta el período para la EMA más lenta.
Período del RSI:
Periodo RSI : Cambia el período del RSI utilizado como filtro de tendencia.
Cómo interpretar el indicador:
Colores y relleno:
Verde: Indica una tendencia alcista (EMA 21 por encima de EMA 50).
Rojo: Indica una tendencia bajista (EMA 21 por debajo de EMA 50).
Señales de entrada:
Una señal de entrada (punto amarillo) aparece cuando:
-La mecha de la vela toca la EMA 21.
-Las EMAs confirman la tendencia (EMA 9 > EMA 21 para alcista o EMA 9 < EMA 21 para bajista).
-El RSI refuerza la tendencia (RSI > 50 para alcista o RSI < 50 para bajista).
Personalización:
Ajusta los períodos de las EMAs y el RSI para adaptarlos a diferentes marcos temporales o estilos de trading.
Este indicador es ideal para traders que buscan confirmar entradas basadas en tendencias y validaciones adicionales como el RSI, mejorando la precisión de sus decisiones operativas.
Credito
Gracias a la publicacion de @Dezziinutz por la aportacion de los parametros para la realizacion de este indicador, y por eso es gratis para la comunidad y el codigo es libre para que puedan manipularlo y modificarlo.
//@version=5
indicator("Cloud EMA Ajustable (9, 21, 50) con Filtro de Señales", overlay=true)
// Permitir al usuario editar los periodos de las EMAs desde la interfaz gráfica
periodoEMA9 = input.int(9, title="Periodo EMA 9", minval=1, tooltip="Edita el periodo de la EMA 9")
periodoEMA21 = input.int(21, title="Periodo EMA 21", minval=1, tooltip="Edita el periodo de la EMA 21")
periodoEMA50 = input.int(50, title="Periodo EMA 50", minval=1, tooltip="Edita el periodo de la EMA 50")
rsiPeriodo = input.int(14, title="Periodo RSI", minval=1, tooltip="Edita el periodo del RSI")
// Calcular las EMAs y el RSI con los periodos ajustables
ema9 = ta.ema(close, periodoEMA9)
ema21 = ta.ema(close, periodoEMA21)
ema50 = ta.ema(close, periodoEMA50)
rsi = ta.rsi(close, rsiPeriodo)
// Definir el color de la sombra entre la EMA 21 y EMA 50
fillColor = ema21 > ema50 ? color.new(color.green, 80) : color.new(color.red, 80)
// Dibujar las EMAs y asignarlas a variables de tipo plot
plotEMA9 = plot(ema9, title="EMA 9", color=color.blue, linewidth=2)
plotEMA21 = plot(ema21, title="EMA 21", color=ema21 > ema50 ? color.green : color.red, linewidth=2)
plotEMA50 = plot(ema50, title="EMA 50", color=ema21 > ema50 ? color.green : color.red, linewidth=2)
// Crear la sombra entre EMA 21 y EMA 50
fill(plotEMA21, plotEMA50, color=fillColor, title="Sombra entre EMA 21 y EMA 50")
// Condición: Cuando la mecha superior o inferior de la vela toque la EMA 21
toqueEMA21 = (high >= ema21 and low <= ema21) // La mecha toca la EMA 21
// Filtro: Asegurarse de que el precio está en una tendencia alcista/bajista según el cruce de EMAs
tendenciaAlcista = ema9 > ema21
tendenciaBajista = ema9 < ema21
// Filtro adicional: RSI debe estar por encima de 50 para tendencia alcista y por debajo de 50 para tendencia bajista
rsiAlcista = rsi > 50
rsiBajista = rsi < 50
// Condición para la señal: El precio toca la EMA 21, y hay una confirmación de tendencia
senal_entrada = toqueEMA21 and ((tendenciaAlcista and rsiAlcista) or (tendenciaBajista and rsiBajista))
// Dibujar un punto amarillo en la mecha de la vela si se da la condición
plotshape(senal_entrada, title="Señal de Entrada", location=location.abovebar, color=color.yellow, style=shape.circle, size=size.small)
Trend Intensity Index TeyoV5This indicator measures the strength and direction of a trend by analyzing the relationship between multiple smoothed price averages. It calculates an intensity index value, which ranges from 0 to 100, indicating the strength of the current trend.
Key Features:
Multiple Smoothing Methods: Users can select from various smoothing techniques (e.g., SMA, EMA, WMA) to customize the indicator's sensitivity.
Adjustable Smoothing Periods: Different smoothing periods can be applied to the price data to identify trends at various timeframes.
Intensity Index Calculation: The indicator computes the intensity index by comparing the values of the smoothed price averages. A higher positive value indicates a stronger uptrend, while a higher negative value suggests a stronger downtrend.
Visual Representation: The indicator is displayed as a line plot, with the intensity index values plotted against the price chart.
This indicator can be used to identify potential trend reversals, filter out false signals, and improve the timing of entry and exit points.
Funded System CloudVisually Enhanced EMA Cross Trading Alerts
Customize your strategy with fast and slow EMA crossovers.
Intelligent cloud filtering to highlight trending opportunities.
Visually identify trend direction with color-coded clouds.
Set dynamic stop loss levels with a trailing stop or cloud boundaries.
Receive timely alerts for EMA crosses and stop-loss triggers.
Original script was borrowed from SyntaxGeek - I made an adjustment by erasing the arrows.
Bollinger Bands Strategy 8:30a to 1:00aBollinger Bands Strategy I modified to only take trades during the hours of 8:30a to 1:00a Eastern Time.
Hull Moving Average Cross - 1Min NQThis is a short term day trading strategy to trade NQ. You will need to adjust the time variables to fit your local time. The best fit is 5:45AM - 9:00AM mst. This is my first script using Pine Script. My coding ability is very limited. I relied on ChatGPT to help me with the coding. If you have any suggestions for improvement please comment or feel to add script. I just ask that you share what you come up with. Good Luck!
SMB MagicSMB Magic
Overview: SMB Magic is a powerful technical strategy designed to capture breakout opportunities based on price movements, volume spikes, and trend-following logic. This strategy works exclusively on the XAU/USD symbol and is optimized for the 15-minute time frame. By incorporating multiple factors, this strategy identifies high-probability trades with a focus on risk management.
Key Features:
Breakout Confirmation:
This strategy looks for price breakouts above the previous high or below the previous low, with a significant volume increase. A breakout is considered valid when it is supported by strong volume, confirming the strength of the price move.
Price Movement Filter:
The strategy ensures that only significant price movements are considered for trades, helping to avoid low-volatility noise. This filter targets larger price swings to maximize potential profits.
Exponential Moving Average (EMA):
A long-term trend filter is applied to ensure that buy trades occur only when the price is above the moving average, and sell trades only when the price is below it.
Fibonacci Levels:
Custom Fibonacci retracement levels are drawn based on recent price action. These levels act as dynamic support and resistance zones and help determine the exit points for trades.
Take Profit/Stop Loss:
The strategy incorporates predefined take profit and stop loss levels, designed to manage risk effectively. These levels are automatically applied to trades and are adjusted based on the market's volatility.
Volume Confirmation:
A volume multiplier confirms the strength of the breakout. A trade is only considered when the volume exceeds a certain threshold, ensuring that the breakout is supported by sufficient market participation.
How It Works:
Entry Signals:
Buy Signal: A breakout above the previous high, accompanied by significant volume and price movement, occurs when the price is above the trend-following filter (e.g., EMA).
Sell Signal: A breakout below the previous low, accompanied by significant volume and price movement, occurs when the price is below the trend-following filter.
Exit Strategy:
Each position (long or short) has predefined take-profit and stop-loss levels, which are designed to protect capital and lock in profits at key points in the market.
Fibonacci Levels:
Fibonacci levels are drawn to identify potential areas of support or resistance, which can be used to guide exits and stop-loss placements.
Important Notes:
Timeframe Restriction: This strategy is designed specifically for the 15-minute time frame.
Symbol Restriction: The strategy works exclusively on the XAU/USD (Gold) symbol and is not recommended for use with other instruments.
Best Performance in Trending Markets: It works best in trending conditions where breakouts occur frequently.
Disclaimer:
Risk Warning: Trading involves risk, and past performance is not indicative of future results. Always conduct your own research and make informed decisions before trading.
First 3-Minute Candle StrategyMark the high and low of the first three minutes candle
Calculate the 50% of the first three minutes candle and draw an line.
Provide the buy signal with green color indication if a candle closed above the first three minutes candle.
Provide the buy signal with green color indication if a candle closed below the first three minutes candle.
EYA - Long & ShortLong ve short sinyal indikatörü geçmişe yönelik destek ve direnç analizleri yapıp genel verileri toplayıp long short yönlü tahmin
Golden Cross/Death Cross Buy/Sell Signals
Golden Cross/Death Cross Indicator Overview
The Golden Cross and Death Cross are two widely known technical indicators used by traders to identify early trend potentials.
Golden Cross: This happens when the 50-period Exponential Moving Average (EMA) crosses above the 200-period EMA. This is generally interpreted as a bullish signal, suggesting that the price could rise in the near future.
Death Cross: The opposite of the Golden Cross, this occurs when the 50-period EMA crosses below the 200-period EMA. It is typically considered a bearish signal, indicating the potential for the price to fall.
Customization of Period Length
By default, the indicator uses the 50-period EMA and the 200-period EMA, which are standard lengths for Golden Cross and Death Cross signals. However, you can easily customize these lengths according to your trading preferences.
Alerts and Signal Generation
When the Golden Cross occurs, the indicator generates a "BUY" signal below the price bar, suggesting a potential upward trend.
Conversely, when the Death Cross occurs, a "SELL" signal appears above the price bar, indicating a possible downward trend.
Additionally, alerts have been included in the script, so traders can receive real-time notifications when a Golden Cross or Death Cross is detected. This allows for easy tracking and timely decision-making without having to constantly monitor the charts.
Bollinger Bands Strategy 9:30a to 1:00aBollinger Bands Strategy modified to only take trades between 9:30a to 1:00a Eastern Time. Best results I've found on BTCUSD 5 minute chart, change the Input length to 16
Dual Smoothed Moving AveragesDual Smoothed Moving Averages (SMMA)
Description:
This indicator plots two customizable Smoothed Moving Averages (SMMA) on your chart, allowing traders to analyze trends and price movements with greater flexibility. The SMMA is a variation of the moving average that smooths out price data more effectively, reducing noise and providing clearer signals for trend direction.
Features:
Two Independent SMMAs: Customize the length, source, and color for each SMMA to suit your trading strategy.
Overlay on Chart: The moving averages are plotted directly on the price chart for seamless analysis.
Dynamic Calculations: The recursive SMMA formula ensures accurate and adaptive smoothing of price data.
How to Use:
SMMA 1: Set the desired length and source (e.g., close, open, high) for the first moving average.
SMMA 2: Customize the second moving average with its own length and source.
Adjust the colors of each line to differentiate them visually.
This tool is ideal for trend-following strategies, crossover techniques, or identifying dynamic support and resistance levels. Whether you're a swing trader, scalper, or long-term investor, the Dual SMMA indicator offers powerful insights into market behavior.
The Wolf of StocksThe Wolf of Stocks Indicator
Elevate your trading game with The Wolf of Stocks, a powerful and easy-to-use Pine Script indicator designed for traders of all levels. This script combines the precision of the Exponential Moving Average (EMA) and the reliability of the Bollinger Band Midline to generate actionable trading signals.
🌟 Key Features:
Dynamic Buy & Sell Signals: Get clear "BUY" and "SELL" labels based on the crossover between the 9-period EMA and the 20-period Bollinger Midline.
Customizable Settings: Adjust the EMA and Bollinger Midline periods, line colors, and thickness to match your trading style.
Clear Visualization: Aqua-colored EMA line and black Bollinger Midline for clean and intuitive chart analysis.
Flexible Label Control: Enable or disable BUY/SELL labels with a single click.
📈 Perfect For:
Swing Traders
Day Traders
Technical Analysts looking for an edge in identifying trend reversals and market momentum.
⚙️ How It Works:
A BUY signal appears when the EMA crosses above the Bollinger Midline.
A SELL signal appears when the EMA crosses below the Bollinger Midline.
Visual cues help you identify potential market entry and exit points quickly.
Enhance your trading toolkit today with The Wolf of Stocks. Simple, effective, and built for smarter decisions. 🚀
b ω dFibonacci highs/lows for ranging market conditions blended with exponential moving averages for trend confirmations and breakouts.
Golden Cross/Death Cross Buy/Sell Signals-Strategy with SL-TPGolden Cross/Death Cross Buy/Sell Signals Strategy Overview
This Golden Cross/Death Cross Strategy is designed to identify potential market reversals using the 50-period EMA and the 200-period EMA, two widely recognized moving averages.
Golden Cross: A BUY signal is generated when the 50-period EMA crosses above the 200-period EMA, indicating a potential bullish trend.
Death Cross: A SELL signal is triggered when the 50-period EMA crosses below the 200-period EMA, suggesting a possible bearish trend.
Customizable Parameters
While the default settings use the standard 50-period EMA and 200-period EMA, traders have the flexibility to adjust these periods. This allows the strategy to be adapted for shorter or longer-term market trends. For example, you can modify the EMA lengths to suit your preferred trading style or market conditions.
Additionally, traders can customize the Stop Loss (SL) and Take Profit (TP) multipliers, which are based on the Average True Range (ATR):
Stop Loss: Dynamically calculated as a multiple of the ATR, starting from the low of the candle (for BUY) or the high of the candle (for SELL).
Take Profit: Also determined using a multiple of the ATR, but measured from the close of the candle.
Flexibility for Strategy Optimization
This strategy is not limited to one setup. By tweaking the EMA periods, ATR-based Stop Loss, and Take Profit multipliers, traders can create different variations, making it possible to:
-Optimize for various market conditions.
-Test different combinations of risk-to-reward ratios.
-Adapt the strategy to different timeframes and trading styles.
Alerts and Notifications
The strategy includes built-in alerts for both Golden Cross and Death Cross events, ensuring traders are notified of potential trade setups in real-time. These alerts can help traders monitor multiple markets without missing critical opportunities.
Estrategia EMA 9/21 Gabriel85NetFunciona bien en mercados con tendencias claras, pero puede generar señales falsas en mercados laterales.
Se puede modificar con otros indicadores/osciladores.
No es recomendación de compra o venta. Es a modo educativo.
the wolf of stocksThe 9 EMA is used with the Bollinger 20 average. At the positive intersection, a buy sign appears, and at the negative intersection, a sell sign appears. It is preferable to use it on the day, four-hour, and hourly frames.
CHIRAG support and resistance with RSIThis indicator is mix with ema rsi and much more its is more useful in intraday and swing both
SMA open <> closs Cross on M30-H16MA Pengamatan trigger masuk pasar..
setiap arrow sign up-down cross dihitung berdasarkan harga ma open thdp ma close pada tiap2 MA pengamatan
EMA 20/50 Cedric Follow the current trend accurately on Weekly timefame - Aligns with the fundamentals most of the time so stop wasting your money on those softwares
EMA Bounce 2025// Simple strategy that checks for price bounces over an Exponential Moving Average.
// If the CLOSE of the candle bounces back from having it's LOW below the EMA, then it's a Bull Bounce.
// If the CLOSE of the candle bounces down from having it's high above the EMA, then it's a Bear Bounce.
// Volume filter candles less than input amount
// 4 kinds of money management: Combination between StopLoss, TakeProfit, Hi and Low prices in a range of candles lookback input by settings