# arunkbhaskar/pinescript architecture

> Architecture diagram of the GitHub repository arunkbhaskar/pinescript, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/arunkbhaskar/pinescript
- Repository: https://github.com/arunkbhaskar/pinescript

## Overview

This repository is a collection of independent TradingView Pine Script indicators, screeners, and trading setups, not a single application. The documented user workflow is to copy a script into TradingView’s Pine Editor, save it, and add it to a chart. The graph groups scripts by trading concept; no source excerpts were provided, so relationships between scripts or their internal calculations cannot be verified.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ict["ICT Concepts"]
  node_displacement["Displacement Candles"]
  node_equalhl["Equal Highs Lows"]
  node_external["External Liquidity"]
  node_internal["Internal External Liquidity"]
  node_fvg["Fair Value Gap"]
  node_sweep["Liquidity Sweep"]
  node_void["Liquidity Void"]
  node_voidfill["Liquidity Void Fill"]
  node_mss["Market Structure Shift"]
  node_mitigation["Mitigation Block"]
  node_retracement["Order Block Retracement"]
end

subgraph group_momentum["Momentum Setups"]
  node_ankush["Ankush Bajaj Setup"]
  node_rsi["RSI Directional Momentum"]
  node_vijay["Vijay Thakare Setup"]
end

subgraph group_trend["Trend Setups"]
  node_sideways["Sideways Market Skipper"]
end

subgraph group_other["Other Indicators"]
  node_magnetic["Magnetic Zones"]
  node_profile["Market Profile"]
end

node_user(("Trader"))
node_editor["Pine Editor"]
node_chart["TradingView Chart"]

node_user -->|"pastes code"| node_editor
node_user -->|"saves script"| node_editor
node_user -->|"adds script"| node_chart

click node_displacement "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Displacement%20Candles"
click node_equalhl "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Equal%20Highs%20and%20Lows"
click node_external "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20External%20Range%20Liquidity"
click node_internal "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20External%20and%20Internal%20Range%20Liquidity"
click node_fvg "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Fair%20Value%20Gap%20(FVG)%20Scanner"
click node_sweep "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Liquidity%20Sweep%20Pattern%20Scanner"
click node_void "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Liquidity%20Void"
click node_voidfill "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Liquidity%20Void%20Fill"
click node_mss "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Market%20Structure%20Shift%20(MSS)"
click node_mitigation "https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Mitigation%20Block%20Scanner"
click node_retracement "https://github.com/arunkbhaskar/pinescript/blob/main/%5BScreener%5D%20ICT%20Retracement%20to%20Order%20Block%20with%20Screener.txt"
click node_ankush "https://github.com/arunkbhaskar/pinescript/tree/main/Momentum%20Setup%20-%20Ankush%20Bajaj%20Momentum%20Investing%20Setup"
click node_rsi "https://github.com/arunkbhaskar/pinescript/tree/main/Momentum%20Setup%20-%20RSI%20Directional%20Momentum"
click node_vijay "https://github.com/arunkbhaskar/pinescript/tree/main/Momentum%20Setup%20-%20Vijay%20Thakare%20Option%20Buying%20Scalping%20Setup"
click node_sideways "https://github.com/arunkbhaskar/pinescript/tree/main/Trend%20Following%20Setup%20-%20Sideways%20Market%20Skipper%20Scanner"
click node_magnetic "https://github.com/arunkbhaskar/pinescript/blob/main/%5BIndicator%5D%20Magnetic%20Zones%20-%20Multi%20Timeframe.txt"
click node_profile "https://github.com/arunkbhaskar/pinescript/blob/main/%5BScreener%5D%20Market%20Profile%20with%20Screener%20(Based%20on%20%5BRS%5DMarket%20Profile%20by%20RicardoSantos).txt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_displacement,node_equalhl,node_external,node_internal,node_fvg,node_sweep,node_void,node_voidfill,node_mss,node_mitigation,node_retracement,node_chart toneBlue
class node_ankush,node_rsi,node_vijay toneAmber
class node_sideways toneMint
class node_magnetic,node_profile toneRose
class node_user,node_editor toneIndigo
```

## Components

### ICT Concepts

- [Displacement Candles](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Displacement%20Candles): `ICT Displacement Candles`
- [Equal Highs Lows](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Equal%20Highs%20and%20Lows): `ICT Equal Highs and Lows`
- [External Liquidity](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20External%20Range%20Liquidity): `ICT External Range Liquidity`
- [Internal External Liquidity](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20External%20and%20Internal%20Range%20Liquidity): `ICT External and Internal Range Liquidity`
- [Fair Value Gap](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Fair%20Value%20Gap%20(FVG)%20Scanner): `ICT Fair Value Gap (FVG) Scanner`
- [Liquidity Sweep](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Liquidity%20Sweep%20Pattern%20Scanner): `ICT Liquidity Sweep Pattern Scanner`
- [Liquidity Void](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Liquidity%20Void): `ICT Liquidity Void`
- [Liquidity Void Fill](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Liquidity%20Void%20Fill): `ICT Liquidity Void Fill`
- [Market Structure Shift](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Market%20Structure%20Shift%20(MSS)): `ICT Market Structure Shift (MSS)`
- [Mitigation Block](https://github.com/arunkbhaskar/pinescript/tree/main/ICT%20Mitigation%20Block%20Scanner): `ICT Mitigation Block Scanner`
- [Order Block Retracement](https://github.com/arunkbhaskar/pinescript/blob/main/%5BScreener%5D%20ICT%20Retracement%20to%20Order%20Block%20with%20Screener.txt): `[Screener] ICT Retracement to Order Block with Screener.txt`

### Momentum Setups

- [Ankush Bajaj Setup](https://github.com/arunkbhaskar/pinescript/tree/main/Momentum%20Setup%20-%20Ankush%20Bajaj%20Momentum%20Investing%20Setup): `Momentum Setup - Ankush Bajaj Momentum Investing Setup`
- [RSI Directional Momentum](https://github.com/arunkbhaskar/pinescript/tree/main/Momentum%20Setup%20-%20RSI%20Directional%20Momentum): `Momentum Setup - RSI Directional Momentum`
- [Vijay Thakare Setup](https://github.com/arunkbhaskar/pinescript/tree/main/Momentum%20Setup%20-%20Vijay%20Thakare%20Option%20Buying%20Scalping%20Setup): `Momentum Setup - Vijay Thakare Option Buying Scalping Setup`

### Trend Setups

- [Sideways Market Skipper](https://github.com/arunkbhaskar/pinescript/tree/main/Trend%20Following%20Setup%20-%20Sideways%20Market%20Skipper%20Scanner): `Trend Following Setup - Sideways Market Skipper Scanner`

### Other Indicators

- [Magnetic Zones](https://github.com/arunkbhaskar/pinescript/blob/main/%5BIndicator%5D%20Magnetic%20Zones%20-%20Multi%20Timeframe.txt): `[Indicator] Magnetic Zones - Multi Timeframe.txt`
- [Market Profile](https://github.com/arunkbhaskar/pinescript/blob/main/%5BScreener%5D%20Market%20Profile%20with%20Screener%20(Based%20on%20%5BRS%5DMarket%20Profile%20by%20RicardoSantos).txt): `[Screener] Market Profile with Screener (Based on [RS]Market Profile by RicardoSantos).txt`

### Other components

- **Trader**
- **Pine Editor**
- **TradingView Chart**

## Connections

- Trader → Pine Editor: pastes code (evidence: `README.md`)
- Trader → Pine Editor: saves script (evidence: `README.md`)
- Trader → TradingView Chart: adds script (evidence: `README.md`)
