Daily monitoring of stock data like price, volume, and price patterns (HH, HL, LL, LH) is vital for serious traders. This is especially true for those using Price Action strategies. We don’t have to manually collect this data for each stock. Instead, we can use Power Automate to streamline the process. This saves hours of effort.

π― Objective
We want to automate the extraction and storage of the following for 40 stocks daily:
- π Date
- π Stock Name
- π΅ Closing Price
- πΊ HH (Higher High)
- π» HL (Higher Low)
- π LL (Lower Low)
- πΌ LH (Lower High)
- π Volume
- π§ (Optional): RSI, 50/200 EMA, or other indicators
π§ Tools Required
| Tool | Purpose |
|---|---|
| Power Automate | To schedule & automate flows |
| Screener.in or TradingView | Source for stock data |
| Excel Online or Dataverse | Data storage |
| Power BI | Data visualization & insights |
π§ Automation Architecture
Option 1: Excel Storage (One Sheet Per Stock)
- Excel file named:
Daily_Stock_Tracking.xlsx - Each worksheet = 1 stock (e.g.,
TATAMOTORS,RELIANCE) - Power Automate appends data row daily
Option 2: Microsoft Dataverse Storage
- One central table for all stocks
- Fields:
Date,Stock,Price,HH,HL,LL,LH,Volume,Other Indicators
π Step-by-Step Setup
πΉ Step 1: Prepare Data Source
Use Screener.in or TradingView APIs or scraping methods:
- Screener: Basic HTML scraping (if allowed)
- TradingView: Alerts + webhook (for specific stock alerts)
- For bulk: Use websites like nseindia.com or [Yahoo Finance API] via third-party connector
πΉ Step 2: Create Power Automate Flow
- Trigger: Recurrence (daily at 4 PM)
- Loop: For each of the 40 stocks:
- Fetch stock page using HTTP (or API)
- Parse the page to extract:
- Price
- Volume
- Dayβs High/Low
- Previous Highs/Lows for HH, HL, LL, LH
- Append row to Excel table (or Dataverse)
π Excel Example Table Columns:
| Date | Stock | Price | HH | HL | LL | LH | Volume |
|---|
π Option A: Excel Storage (OneDrive)
- Create a workbook with 40 sheets (stock names).
- In Power Automate:
- Use “Add row to table” action.
- Dynamically select the right sheet using the stock name.
- Store file on OneDrive or SharePoint for Power BI access.
π¦ Option B: Dataverse Storage (Recommended)
- Create a custom table in Dataverse:
- Fields:
Date,Stock,Price,HH,HL,LL,LH,Volume,RSI,EMA_50, etc.
- Fields:
- Power Automate uses “Add new row” action per stock daily.
- Centralized, scalable, ideal for filtering and reporting in Power BI.
π Power BI Dashboard Ideas
- Stock Overview: Price movement & volume trends
- Pattern Insights: Identify HH/LL formations
- Watchlist Alerts: Highlight when HH > previous HH or LL < previous LL
- Indicators Heatmap: RSI, EMA crossovers, Volume surge
- Filter by Sector: Compare FMCG vs. IT vs. Banking, etc.
π§ Best Practices
- β± Schedule flows after market close (post 3:30 PM IST).
- πΎ Use Dataverse if you plan long-term storage & deeper analytics.
- π Ensure accuracy by cross-verifying a few stock values weekly.
- π Comply with source siteβs terms of use when scraping data.
π Final Thoughts
This system transforms daily tracking into a hands-free automation process. You are a price action trader. You’re an investor building long-term charts. You are an analyst looking to draw insights. This setup powered by Power Automate, Excel/Dataverse, and Power BI gives you the edge.

Leave a Reply