isiklar_fx

NAS100 - 5 Minute Opening Range with EMAs

isiklar_fx Aggiornato   
This indicator is designed for traders who focus on the opening range breakout strategy and use EMAs as part of their trading decisions. The script markes the first 5 min opening candle and generates Buy and Sell signals calculating EMA.

Basic features are :

User Inputs: Allows users to enable/disable alerts and choose to display Exponential Moving Averages (EMAs) for 5, 20, and 50 periods.

Opening Range Calculation: It calculates the first five minutes of the trading day, adjusting for different chart timeframes.

New Day Detection: Determines if the current bar is the first bar of a new day.

Data Storage: Utilizes arrays to store opening range highs, lows, start bars, and last bars for the last five days.

Daily Updates: Updates the stored data at the start of each new day, maintaining data for only the last five days.

Opening Range Plotting: Plots the opening ranges (high and low) for the past five days, with special plotting and filling for the current day.

EMA Calculation and Plotting: Calculates and plots EMAs (5, 20, and 50 periods) if enabled.

Alert Conditions: Sets up conditions for alerts when the price crosses above or below the current day's opening range.

Signal Generation: Generates buy and sell signals based on the relationship of the closing price to the opening range and the position of EMA5 relative to EMA50.

Signal Plotting: Plots buy and sell signals as triangles on the chart.
Note di rilascio:
Added 200 EMA

Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?