OPEN-SOURCE SCRIPT

Double Top/Bottom Screener

83
t must look across all USA Stocks that is traded on Exchanges : Nasdaq, Nyse, Amex and have volume traded today bigger than 1mln. so on all of this stock look for this pattern and give alert, when it appears.
Step 1: Identify Swing Highs & Lows on 1 minute timeframe
- price bars that stand out from the 5 bars on each side (left and right). A swing high is a bar whose high is higher than the 5 bars before and after it. A swing low is a bar whose low is lower than the 5 bars before and after it.
Step 2: Draw Horizontal Lines
When a swing high/low is identified, the scanner draws a horizontal line from that point extending to the right of the chart.
Step 3: Monitor Price Returns
The scanner continuously watches for price to return to these horizontal lines. When price approaches and touches the line:
*  Resistance: Price touches from below and closes below the line
* Support: Price touches from above and closes above the line
Step 4: Generate Alerts
When price touch the support/resistance level (bounces off it), an alert is generated at the close of that bar.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.