isiklar_fx

NAS100 - 5 Minute Opening Range with EMAs

isiklar_fx Aktualisiert   
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.
Versionshinweise:
Added 200 EMA

Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?