r_yasinsky

Auto Price Levels

r_yasinsky Aggiornato   
Main Function:
This script creates horizontal lines on the chart at the market open price levels for different timeframes (4H, Daily, Weekly, Monthly). It helps traders track the open price levels and analyze their impact on the current price movements.

Unique Features:
  1. Multi-Timeframe Support: The script allows users to display horizontal lines for 4-hour, daily, weekly, and monthly timeframes, providing a comprehensive view of market open prices across different periods.
  2. Customization Options: Users can customize the line color, width, and style (solid, dotted, or dashed) for each timeframe separately, offering flexibility to match their charting preferences.
  3. Sensitivity Setting: The script includes a sensitivity setting to filter lines based on the price movement percentage, allowing traders to focus on significant price levels.
  4. Day Filter: Users can enable a day filter to limit the display of lines to a specific number of days, which helps in reducing chart clutter and focusing on recent price levels.
  5. Automatic Updates: The script automatically updates the lines based on the latest market data, ensuring that traders always have the most relevant information.
  6. Alerts: Integrated alert conditions notify traders when the price crosses above or below the open price on any of the specified timeframes, enabling timely decision-making.

How It Works:
  1. Line Creation: For each selected timeframe, the script calculates the open price and compares it to the close price to determine the level at which the horizontal line should be drawn.
  2. Line Management: The script manages the creation and deletion of lines to ensure only relevant lines are displayed, based on the user-defined sensitivity and day filter settings.
  3. Customization: Through the input settings, traders can personalize the appearance and behavior of the lines to suit their specific trading strategies and preferences.
  4. Alerts: The script sets up alert conditions that trigger notifications when the price crosses the open price levels, helping traders stay informed of critical market movements.

How to Use:
  1. Select Timeframes: Enable or disable the display of lines for 4-hour, daily, weekly, and monthly timeframes as needed.
  2. Customize Lines: Adjust the line color, width, and style for each timeframe using the input settings.
  3. Set Sensitivity: Define the sensitivity percentage to filter lines based on significant price movements.
  4. Enable Day Filter: If desired, enable the day filter and set the number of days to display lines.
  5. Monitor Alerts: Set up alerts to receive notifications when the price crosses the open price levels on any of the chosen timeframes.

This script is designed to enhance traders' ability to monitor key price levels and make informed trading decisions. Its unique features and customization options provide a valuable tool for analyzing market open prices across multiple timeframes.
Note di rilascio:
Added filters for precision, sensitivity, and day limits with enable/disable options for each timeframe. Optimized menu item names and added tooltips in English. Default settings updated as per requirements.
Note di rilascio:
fix
Note di rilascio:
fix
Note di rilascio:
Added price difference filter and updated level detection logic

- Added parameters for enabling/disabling price difference filter for each timeframe.
- Added parameter for defining the allowable price difference percentage.
- Updated level detection logic to only create levels in case of alternating bullish (green) and bearish (red) bars.
- Price check logic now considers the percentage difference between closing price of one bar and opening price of another or vice versa.
- Updated sensitivity filter logic to delete older lines if new ones are within the sensitivity interval.
- Fixed syntax errors in the settings for each timeframe.
Note di rilascio:
Enhanced the sensitivity filter to correctly remove older lines when new ones are within the specified sensitivity range, ensuring only the most recent lines are retained.
Note di rilascio:
Updated the script to display accurate weekly and monthly levels on lower timeframes by using only completed bars from higher timeframes. Fixed the logic to remove older lines when the sensitivity filter is enabled, retaining only the newer lines. Default settings for each timeframe have been set as per the provided images.
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?