# Day Trading Setup

## Contents

This folder contains the TradingView scripts and the companion learning book for studying VWAP, market structure, and intraday entries.

| Read | Purpose |
| --- | --- |
| [Day Trading With VWAP, Structure, and Context](day-trading-learning-book.md) | Full learning book: concepts, five setups, workflow, checklists, and study journal |
| [1-minute Pine script](abhi-1m-day-trading-setup.pine) | Entry chart for faster signals with 5-minute context |
| [5-minute Pine script](abhi-5m-day-trading-setup.pine) | Entry chart for slower signals with 1-minute context |
| [Web guide](index.html) | GitHub Pages-friendly visual version of the setup and learning plan |
| [Andrew Aziz study notes](andrew-aziz-notes.html) | Separate book-style page summarizing the supplied Chapters 1-5 transcript |
| [GitHub Pages deployment](#github-pages-deployment) | Publish this folder as a public learning website |

## Book Structure

1. **The Setup's Building Blocks** - VWAP, moving averages, relative volume, levels, and signal conditions
2. **Read Location Before Direction** - support, resistance, previous-day levels, and confirmed swings
3. **The Five Setups** - Break, Reverse, Fail, Ride, and Align
4. **Timeframe Pairing** - choosing between the 1-minute and 5-minute workflow
5. **The Bear Bull Traders Learning Plan** - a staged curriculum from foundations to simulator review
6. **The Pre-Entry Workflow** - orient, qualify, map, define, and review
7. **Learning Record** - how to document examples and improve the plan
8. **Default Script Settings** - the values used by the Pine scripts
9. **Final Reminder** - risk, uncertainty, and responsible study

## Quick Start

1. Open the full learning book.
2. Start with one setup only.
3. Review historical examples in replay or simulation.
4. Record the trigger, location, invalidation, and result.
5. Change the plan only after reviewing a meaningful sample of trades.

The scripts are analysis tools. They do not place orders or guarantee results.

## GitHub Pages Deployment

### Recommended: publish with GitHub Actions

This repository includes a workflow at `.github/workflows/deploy-trading-view-pages.yml`. It publishes only the `trading-view/` folder, so `index.html` becomes the website homepage.

1. Push the repository to GitHub.
2. Open the repository on GitHub and choose **Settings -> Pages**.
3. Under **Build and deployment**, set **Source** to **GitHub Actions**.
4. Open the **Actions** tab and run **Deploy Trading View Pages** once, or push a new commit to the default branch.
5. Open the URL shown in **Settings -> Pages**. It will normally look like `https://<username>.github.io/<repository>/`.

The workflow redeploys automatically whenever files inside `trading-view/` change on the default branch.

### Simple alternative: deploy from a branch

If you do not use the workflow, choose **Deploy from a branch** in **Settings -> Pages**, select the default branch and the repository root, then save. The page will be available at:

`https://<username>.github.io/<repository>/trading-view/`

Because this repository contains several projects, the `trading-view/` path is important when using this option.

### Before publishing

- Confirm that `trading-view/index.html` exists.
- Keep the source links relative so they work on GitHub Pages.
- Test the page from the published URL, not only by opening the local file.
- Treat the page as educational material, not financial advice or a promise of trading results.
