Skip to content

About

Gueta Quant Open Source Trading Tools (MT4/MT5 Position Sizers, Pine Script v6 Indicators, cTrader cBots)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

98 Commits

Folders and files

Repository files navigation

⚠️ Repaint notice: GQ_Volume_Profile (mql4/mql5) includes the currently-forming bar in its profile, so POC/VAH/VAL and the histogram update intraday as the bar forms (standard intraday volume-profile behavior). For evaluation or decision-making, prefer analyzing closed sessions (e.g., previous day/session), or set the script to a closed-session timeframe. GQ_Market_Structure confirms pivots only after the right-side confirmation bars close β€” no repaint.

Gueta Quant Logo

πŸ›οΈ Gueta Quant β€” Herramientas Open-Source

EducaciΓ³n cuantitativa 100% independiente para traders de Colombia y LatinoamΓ©rica

DOI Licencia AGPLv3 Plataforma Estado SFC Colombia Zero SeΓ±ales Compile MQL Static Checks PRs Welcome First Timers Friendly Last Commit Repo Size

🌐 Sitio Web Β· πŸ“– Blog Educativo Β· πŸ““ Trading Journal Β· πŸ› οΈ Herramientas


Caution

⚠️ AVISO REGULATORIO SFC COLOMBIA: Este repositorio es de uso exclusivamente educativo. Ningún código, indicador, ni herramienta publicada aquí constituye asesoría de inversión, señal de compra/venta, ni promesa de rentabilidad. Actividades de asesoría en valores sin registro ante la SFC son ilegales bajo el Decreto 2555 de 2010 y la Ley 964 de 2005. El trading conlleva riesgo sustancial de pérdida de capital.


πŸ”¬ ValidaciΓ³n Backtest β€” Paridad MT5 (Fase B, 2026-08-15)

πŸ‡ͺπŸ‡Έ ES: Resultados de la auditorΓ­a de integridad de backtest (Fase B): los EAs de paridad se ejecutaron en el Strategy Tester de MetaTrader 5 (LiteFinance, EURUSD_o, D1, "Every tick", 0.10 lotes, 2024-01-01 β†’ 2025-12-30) y se compararon trade a trade contra el harness reproducible de Gueta (scratch/validation_engine/backtest.py).

EA Trades MT5 Trades Gueta PnL bruto MT5 (sin comisiΓ³n) Estado
GQ_Parity_Momentum 13 11 +$445.70 βœ… PARIDAD
GQ_Parity_RSI2 97 80 +$711.80 βœ… PARIDAD
GQ_Parity_SMA 9 6 βˆ’$952.20 βœ… PARIDAD (desfase de feed)
GQ_Parity_Donchian 0 31 β€” ❌ EXCLUIDO (eliminado)

πŸ‡¬πŸ‡§ EN: Backtest integrity audit (Phase B): the parity EAs were run in the MetaTrader 5 Strategy Tester (LiteFinance, EURUSD_o, D1, "Every tick", 0.10 lots, 2024-01-01 β†’ 2025-12-30) and compared trade-by-trade against Gueta's reproducible harness. Momentum, RSI2 and SMA reached parity (counts within 1.5Γ—, window overlap, coherent PnL). Donchian produced 0 trades in MT5 across 3 iterations and was removed (see docs/PHASEB_PARITY_RESULTS.md).

πŸ“Š Estado del Repositorio / Repository Status

44 herramientas Β· todas compilan en CI Β· estado de calidad por herramienta en mql/README.md, pinescript/README.md, ctrader/README.md

Componente Estado
βœ… Compila CI en GitHub Actions: MQL4/MQL5 compilados con MetaEditor (Windows) β†’ .ex4/.ex5 como artifacts. Pine v6 y C# son revisados estΓ‘ticamente (sin compilador oficial en runners Linux).
πŸ§ͺ Tests Golden values (valores de referencia por herramienta) β€” planificado (tests/golden/, ver docs/QA_STANDARD.md)
πŸ“œ Licencia AGPLv3 (LICENSE)
πŸ” VerificaciΓ³n Cada indicador debe pasar la tarjeta de verificaciΓ³n (repintado, alerts, golden values) antes de ser marcado "verificado"

EN mirror: 44 tools Β· all compile in CI Β· per-tool quality status in the platform READMEs. Golden-value tests planned. License AGPLv3. Honest status: a tool is only "verified" after passing the QA Standard card.


πŸ“‹ Tabla de Contenidos / Table of Contents

πŸ‡¨πŸ‡΄ EspaΓ±ol πŸ‡¬πŸ‡§ English
ΒΏQuΓ© es Gueta Quant? What is Gueta Quant?
FilosofΓ­a Anti-Estafa Anti-Scam Philosophy
Herramientas del Repositorio Repository Tools
Estructura del Repositorio Repository Structure
InstalaciΓ³n RΓ‘pida Quick Installation
Seguridad & Privacidad Local-First Security & Local-First Privacy
Contribuir Contributing
Licencia License

πŸ‡¨πŸ‡΄ ESPAΓ‘OL

πŸ›οΈ ΒΏQuΓ© es Gueta Quant?

Gueta Quant es una plataforma educativa de trading cuantitativo 100% independiente, diseΓ±ada para proteger a los traders de Colombia y LatinoamΓ©rica de:

  • 🚨 Brokers offshore no regulados que operan sin supervisiΓ³n de la SFC
  • 🚨 Empresas de fondeo con clΓ‘usulas engaΓ±osas y trailing drawdowns ocultos
  • 🚨 Academias de criptoesquemas y vendedores de seΓ±ales con conflicto de interΓ©s

Nuestro enfoque se basa en el CΓ‘lculo Vigesimal Muisca (Gueta) β€” rigor matemΓ‘tico puro sobre emociΓ³n.

"No seΓ±ales. No afiliados opacos. No gestiΓ³n de cuentas. Solo educaciΓ³n cuantitativa verificable."


πŸ›‘οΈ FilosofΓ­a Anti-Estafa & Transparencia

Principio ImplementaciΓ³n
πŸ” Sin Rankings de Pago (No Pay-to-Play) Evaluaciones independientes; relaciones comerciales pΓΊblicas y sin efecto en rankings
πŸ“ Rigor Cuantitativo Algoritmos basados en Pine Script v6, ATR, Volume Profile (POC/VAH/VAL)
πŸ–₯️ AutonomΓ­a Local-First El Trading Journal corre en tu navegador por defecto. Datos en tu dispositivo (IA opcional bajo consentimiento)
βš–οΈ Cumplimiento SFC Operamos bajo el marco del Decreto 2555 de 2010 β€” solo educaciΓ³n
πŸ” CΓ³digo Verificable Todo el cΓ³digo es auditable pΓΊblicamente en este repositorio

πŸ› οΈ Herramientas del Repositorio

πŸ“Š MetaTrader 4 & 5 (MQL4/MQL5)

# Herramienta Tipo Archivo DescripciΓ³n
1 GQ Position Sizer EA mql/GQ_Position_Sizer.mq4 / .mq5 Calcula lotaje por ATR y riesgo 2%
2 GQ SuperTrend EA mql/GQ_SuperTrend.mq4 / .mq5 Trend following con SuperTrend ATR (TP fijo 1xATR, reversiΓ³n en cruce)
3 GQ MACD Trader EA mql/GQ_MACD_Trader.mq4 / .mq5 Cruces MACD + gestiΓ³n de riesgo ATR
4 GQ Bollinger Reversion EA mql/GQ_Bollinger_Reversion.mq4 / .mq5 ReversiΓ³n al medio con BB + RSI
5 GQ Trend Follow EA mql/GQ_Trend_Follow.mq4 / .mq5 Seguidor de tendencia con MA crossover
6 GQ RSI Pro Indicador mql/GQ_RSI_Pro.mq4 / .mq5 RSI con detecciΓ³n de divergencias
7 GQ ATR Stop Loss Indicador mql/GQ_ATR_Stop_Loss.mq4 / .mq5 Trailing stop visual basado en ATR
8 GQ Market Structure Indicador mql/GQ_Market_Structure.mq4 / .mq5 Estructura de mercado BOS/CHoCH (heurΓ­stica price-action sobre swings)
9 GQ Ichimoku Cloud Indicador mql/GQ_Ichimoku_Cloud.mq4 / .mq5 Sistema Ichimoku completo
10 GQ Support & Resistance Indicador mql/GQ_Support_Resistance.mq4 / .mq5 S/R dinΓ‘micos con clustering de pivotes
11 GQ Volume Profile Indicador mql/GQ_Volume_Profile.mq4 / .mq5 Perfil de volumen con POC/VA

πŸ“ˆ TradingView (Pine Script v6)

# Herramienta Archivo DescripciΓ³n
1 GQ Volume Profile Mini pinescript/GQ_Volume_Profile.mini.pb POC, Value Area, histograma de volumen
2 GQ SuperTrend pinescript/GQ_SuperTrend.pb Trailing stop ATR con cambios de trend
3 GQ VWAP Standard pinescript/GQ_VWAP_Standard.pb VWAP con bandas de desviaciΓ³n Οƒ
4 GQ RSI Pro pinescript/GQ_RSI_Pro.pb RSI + divergencias regulares/ocultas
5 GQ MACD Pro pinescript/GQ_MACD_Pro.pb MACD con histograma de momentum
6 GQ Bollinger Bands pinescript/GQ_Bollinger_Bands.pb Bandas con detecciΓ³n de squeeze
7 GQ Market Structure pinescript/GQ_Market_Structure.pb SMC/ICT: FVG, BOS, CHoCH, OB (heurΓ­stica price-action, no order-flow institucional)
8 GQ Order Flow CVD pinescript/GQ_Order_Flow_CVD.pb Delta de volumen acumulativo
9 GQ Anchored VWAP pinescript/GQ_Anchored_VWAP.pb VWAP multi-ancla con 3 lΓ­neas simultΓ‘neas
10 GQ Support & Resistance pinescript/GQ_Support_Resistance.pb S/R con clustering de pivotes
11 GQ MTF Trend Matrix pinescript/GQ_MTF_Trend_Matrix.pb Matriz de tendencia multi-timeframe

πŸ€– cTrader (C# cBots)

# Herramienta Archivo DescripciΓ³n
1 GQ Position Sizer ctrader/GQ_Position_Sizer_cBot.cs Sizing automΓ‘tico por ATR
2 GQ Trend Follower ctrader/GQ_Trend_Follower.cs Trend multi-indicador con EMA + SuperTrend
3 GQ Breakout ORB ctrader/GQ_Breakout_Orb.cs Breakout de rango de apertura
4 GQ Grid Scalper ctrader/GQ_Grid_Scalper.cs Grid adaptativo por ATR
5 GQ Mean Reversion ctrader/GQ_Mean_Reversion.cs ReversiΓ³n BB + RSI con volumen
6 GQ Divergence Scanner ctrader/GQ_Divergence_Scanner.cs EscΓ‘ner de divergencias multi-sΓ­mbolo
7 GQ Trailing Stop Manager ctrader/GQ_Trailing_Stop_Manager.cs 4 mΓ©todos de trailing + gestiΓ³n parcial
8 GQ DCA Recovery ctrader/GQ_DCA_Recovery.cs RecuperaciΓ³n DCA adaptativa
9 GQ Session Scalper ctrader/GQ_Session_Scalper.cs Scalper por sesiones horarias
10 GQ Multi-Symbol Scanner ctrader/GQ_Multi_Symbol_Scanner.cs EscΓ‘ner multi-sΓ­mbolo con ranking
11 GQ Risk Manager ctrader/GQ_Risk_Manager.cs GestiΓ³n de riesgo a nivel portafolio

🐍 Python (Motor Cuantitativo Vectorizado)

# Herramienta Archivo DescripciΓ³n
1 GQ Vectorized Backtester python/gq_backtest.py Motor vectorial con comisiones, slippage, Sharpe, Sortino y Drawdown
2 GQ Volume Profile Engine python/gq_backtest.py CΓ‘lculo de POC, VAH y VAL bajo Auction Market Theory (AMT)
3 GQ Monte Carlo Simulator python/gq_backtest.py Permutaciones estadΓ­sticas (1.000 runs) para estimar Drawdown P95/P99

πŸ“š DocumentaciΓ³n TΓ©cnica & Anexos

  • πŸ“„ Anexo MetodolΓ³gico de Backtesting: docs/BACKTEST_METHODOLOGY_APPENDIX.md β€” EstΓ‘ndar de modelado de fricciΓ³n, calidad de ticks y validaciΓ³n multi-rΓ©gimen.
  • πŸ“„ AuditorΓ­a de Privacidad Zero-Knowledge: docs/ZERO_KNOWLEDGE_PRIVACY_AUDIT.md β€” VerificaciΓ³n de cero transmisiΓ³n de datos en el Trading Journal local.
  • πŸ“„ EstΓ‘ndar de Calidad y Compliance: docs/QA_STANDARD.md β€” Normas de compilaciΓ³n y regulaciΓ³n SFC Decreto 2555/2010.

πŸ“ Estructura del Repositorio

guetaquant-tools/
β”œβ”€β”€ πŸ“‚ mql/
β”‚   β”œβ”€β”€ GQ_Position_Sizer.mq4       # EA Position Sizer (MT4)
β”‚   β”œβ”€β”€ GQ_Position_Sizer.mq5       # EA Position Sizer (MT5)
β”‚   β”œβ”€β”€ GQ_SuperTrend.mq4           # EA SuperTrend (MT4)
β”‚   β”œβ”€β”€ GQ_SuperTrend.mq5           # EA SuperTrend (MT5)
β”‚   β”œβ”€β”€ GQ_MACD_Trader.mq4          # EA MACD Trader (MT4)
β”‚   β”œβ”€β”€ GQ_MACD_Trader.mq5          # EA MACD Trader (MT5)
β”‚   β”œβ”€β”€ GQ_Bollinger_Reversion.mq4  # EA Bollinger Reversion (MT4)
β”‚   β”œβ”€β”€ GQ_Bollinger_Reversion.mq5  # EA Bollinger Reversion (MT5)
β”‚   β”œβ”€β”€ GQ_Trend_Follow.mq4         # EA Trend Follow (MT4)
β”‚   β”œβ”€β”€ GQ_Trend_Follow.mq5         # EA Trend Follow (MT5)
β”‚   β”œβ”€β”€ GQ_RSI_Pro.mq4              # Indicator RSI Pro (MT4)
β”‚   β”œβ”€β”€ GQ_RSI_Pro.mq5              # Indicator RSI Pro (MT5)
β”‚   β”œβ”€β”€ GQ_ATR_Stop_Loss.mq4        # Indicator ATR Stop Loss (MT4)
β”‚   β”œβ”€β”€ GQ_ATR_Stop_Loss.mq5        # Indicator ATR Stop Loss (MT5)
β”‚   β”œβ”€β”€ GQ_Market_Structure.mq4     # Indicator Market Structure (MT4)
β”‚   β”œβ”€β”€ GQ_Market_Structure.mq5     # Indicator Market Structure (MT5)
β”‚   β”œβ”€β”€ GQ_Ichimoku_Cloud.mq4       # Indicator Ichimoku Cloud (MT4)
β”‚   β”œβ”€β”€ GQ_Ichimoku_Cloud.mq5       # Indicator Ichimoku Cloud (MT5)
β”‚   β”œβ”€β”€ GQ_Support_Resistance.mq4   # Indicator S/R (MT4)
β”‚   β”œβ”€β”€ GQ_Support_Resistance.mq5   # Indicator S/R (MT5)
β”‚   β”œβ”€β”€ GQ_Volume_Profile.mq4       # Indicator Volume Profile (MT4)
β”‚   └── GQ_Volume_Profile.mq5       # Indicator Volume Profile (MT5)
β”œβ”€β”€ πŸ“‚ pinescript/
β”‚   β”œβ”€β”€ GQ_Volume_Profile.mini.pb   # Volume Profile con POC/VA
β”‚   β”œβ”€β”€ GQ_SuperTrend.pb            # SuperTrend ATR
β”‚   β”œβ”€β”€ GQ_VWAP_Standard.pb         # VWAP con bandas Οƒ
β”‚   β”œβ”€β”€ GQ_RSI_Pro.pb               # RSI + divergencias
β”‚   β”œβ”€β”€ GQ_MACD_Pro.pb              # MACD con histograma
β”‚   β”œβ”€β”€ GQ_Bollinger_Bands.pb       # BB con squeeze
β”‚   β”œβ”€β”€ GQ_Market_Structure.pb      # SMC/ICT: FVG, BOS
β”‚   β”œβ”€β”€ GQ_Order_Flow_CVD.pb        # Cumulative Volume Delta
β”‚   β”œβ”€β”€ GQ_Anchored_VWAP.pb         # VWAP multi-ancla
β”‚   β”œβ”€β”€ GQ_Support_Resistance.pb    # S/R dinΓ‘micos
β”‚   └── GQ_MTF_Trend_Matrix.pb      # Matriz multi-timeframe
β”œβ”€β”€ πŸ“‚ ctrader/
β”‚   β”œβ”€β”€ GQ_Position_Sizer_cBot.cs   # Risk manager bΓ‘sico
β”‚   β”œβ”€β”€ GQ_Trend_Follower.cs        # Trend multi-indicador
β”‚   β”œβ”€β”€ GQ_Breakout_Orb.cs          # ORB breakout
β”‚   β”œβ”€β”€ GQ_Grid_Scalper.cs          # Grid ATR
β”‚   β”œβ”€β”€ GQ_Mean_Reversion.cs        # BB + RSI
β”‚   β”œβ”€β”€ GQ_Divergence_Scanner.cs    # EscΓ‘ner divergencias
β”‚   β”œβ”€β”€ GQ_Trailing_Stop_Manager.cs # Trailing stop
β”‚   β”œβ”€β”€ GQ_DCA_Recovery.cs          # DCA recovery
β”‚   β”œβ”€β”€ GQ_Session_Scalper.cs       # Scalper por sesiΓ³n
β”‚   β”œβ”€β”€ GQ_Multi_Symbol_Scanner.cs  # Scanner multi-sΓ­mbolo
β”‚   └── GQ_Risk_Manager.cs          # Riesgo portafolio
β”œβ”€β”€ πŸ“‚ docs/
β”‚   └── ZERO_KNOWLEDGE_PRIVACY_AUDIT.md  # AuditorΓ­a de privacidad
β”œβ”€β”€ LICENSE                          # Licencia AGPLv3
└── README.md                        # Este archivo

⚑ Instalación RÑpida

MetaTrader 4 / MetaTrader 5

# 1. Descarga el/los archivos .mq4 / .mq5 desde mql/
# 2. Abre MetaEditor (F4 en MT5/MT4)
# 3. Archivo β†’ Abrir β†’ Selecciona el/los archivos descargados
# 4. Compila (F7) cada archivo
# 5. Arrastra el EA/indicador desde el Navegador a un grΓ‘fico

TradingView (Pine Script v6)

# 1. Abre el archivo .pb desde pinescript/
# 2. En TradingView: Editor Pine β†’ Nuevo Script
# 3. Pega el cΓ³digo y haz clic en "Agregar al grΓ‘fico"

cTrader

# 1. Descarga el .cs desde ctrader/
# 2. cTrader β†’ Automate β†’ New cBot β†’ Source Files
# 3. Reemplaza el cΓ³digo generado con el archivo descargado
# 4. Compila y adjunta al sΓ­mbolo

πŸ” Seguridad & Privacidad Local-First

Nuestro Trading Journal (guetaquant.com/journal/) estΓ‘ diseΓ±ado con arquitectura Local-First:

Tu Dispositivo
    β”œβ”€β”€ IndexedDB (encriptado)
    β”‚     β”œβ”€β”€ operaciones/
    β”‚     β”œβ”€β”€ mΓ©tricas/
    β”‚     └── configuraciΓ³n/
    └── Service Worker (funciona offline)
          └── CERO comunicaciΓ³n con servidores externos al registrar operaciones (nΓΊcleo local-first; anΓ‘lisis con IA es opt-in)

Note

Para verificar esto tΓΊ mismo: abre guetaquant.com/journal/, presiona F12 β†’ Red, registra una operaciΓ³n y confirma que ninguna solicitud de red aparece en el panel.


🀝 Contribuir

Β‘Las contribuciones de la comunidad quant latinoamericana son bienvenidas!

  1. Fork este repositorio
  2. Crea una rama: git checkout -b feature/mi-indicador
  3. Agrega tu cΓ³digo con documentaciΓ³n en espaΓ±ol
  4. Abre un Pull Request describiendo la lΓ³gica cuantitativa

πŸ“– GuΓ­a completa por plataforma, checks obligatorios y PR checklist en CONTRIBUTING.md.

PolΓ­tica de ContribuciΓ³n: No se aceptan seΓ±ales de trading, bots de copy-trading comerciales, ni cΓ³digo que requiera acceso a datos de usuarios. Solo herramientas educativas y de gestiΓ³n de riesgo local.


πŸ“œ Licencia

Este repositorio estΓ‘ bajo la Licencia AGPLv3.

Uso libre para:

  • βœ… InvestigaciΓ³n educativa personal
  • βœ… Backtesting y anΓ‘lisis cuantitativo
  • βœ… ModificaciΓ³n y redistribuciΓ³n con la misma licencia

Uso NO permitido para:

  • ❌ Servicios comerciales sin divulgar cΓ³digo fuente
  • ❌ IntegraciΓ³n en plataformas de gestiΓ³n de cuentas
  • ❌ RedistribuciΓ³n como seΓ±ales de pago

Ver LICENSE para tΓ©rminos completos.




πŸ‡¬πŸ‡§ ENGLISH

πŸ›οΈ What is Gueta Quant?

Gueta Quant is a 100% independent quantitative trading education platform designed to protect traders in Colombia and Latin America from:

  • 🚨 Unregulated offshore brokers operating without SFC supervision
  • 🚨 Prop firms with deceptive clauses and hidden trailing drawdowns
  • 🚨 Crypto scheme academies and signal sellers with conflicts of interest

Our approach is rooted in Muisca Vigesimal Calculus (Gueta) β€” pure mathematical rigor over emotion.

"No signals. No opaque affiliates. No account management. Only verifiable quantitative education."


πŸ›‘οΈ Anti-Scam Philosophy & Transparency

Principle Implementation
πŸ” Zero Conflicts of Interest No affiliate schemes with unregulated brokers, no illegal client solicitation
πŸ“ Quantitative Rigor Algorithms based on Pine Script v6, ATR, Volume Profile (POC/VAH/VAL)
πŸ–₯️ Local-First Autonomy Trading Journal runs 100% on your device. Zero data sent to any server
βš–οΈ SFC Compliance Operating under Decreto 2555 de 2010 framework β€” education only
πŸ” Verifiable Code All code is publicly auditable in this repository

πŸ› οΈ Repository Tools

πŸ“Š MetaTrader 4 & 5 (MQL4/MQL5)

# Tool Type File Description
1 GQ Position Sizer EA mql/GQ_Position_Sizer.mq4 / .mq5 ATR-based position sizing
2 GQ SuperTrend EA mql/GQ_SuperTrend.mq4 / .mq5 Trend following with SuperTrend ATR (fixed 1xATR TP, flip-on-cross)
3 GQ MACD Trader EA mql/GQ_MACD_Trader.mq4 / .mq5 MACD crossovers + ATR risk
4 GQ Bollinger Reversion EA mql/GQ_Bollinger_Reversion.mq4 / .mq5 BB + RSI mean reversion
5 GQ Trend Follow EA mql/GQ_Trend_Follow.mq4 / .mq5 MA crossover trend follower
6 GQ RSI Pro Indicator mql/GQ_RSI_Pro.mq4 / .mq5 RSI with divergence detection
7 GQ ATR Stop Loss Indicator mql/GQ_ATR_Stop_Loss.mq4 / .mq5 ATR trailing stop on chart
8 GQ Market Structure Indicator mql/GQ_Market_Structure.mq4 / .mq5 Market structure BOS/CHoCH
9 GQ Ichimoku Cloud Indicator mql/GQ_Ichimoku_Cloud.mq4 / .mq5 Complete Ichimoku system
10 GQ Support & Resistance Indicator mql/GQ_Support_Resistance.mq4 / .mq5 Dynamic S/R with pivot clustering
11 GQ Volume Profile Indicator mql/GQ_Volume_Profile.mq4 / .mq5 Volume Profile with POC/VA

πŸ“ˆ TradingView (Pine Script v6)

# Tool File Description
1 GQ Volume Profile Mini pinescript/GQ_Volume_Profile.mini.pb POC, Value Area, volume histogram
2 GQ SuperTrend pinescript/GQ_SuperTrend.pb ATR trailing stop with trend flips
3 GQ VWAP Standard pinescript/GQ_VWAP_Standard.pb VWAP with Οƒ deviation bands
4 GQ RSI Pro pinescript/GQ_RSI_Pro.pb RSI + regular/hidden divergences
5 GQ MACD Pro pinescript/GQ_MACD_Pro.pb MACD momentum histogram
6 GQ Bollinger Bands pinescript/GQ_Bollinger_Bands.pb Bands with squeeze detection
7 GQ Market Structure pinescript/GQ_Market_Structure.pb SMC/ICT: FVG, BOS, CHoCH (price-action heuristic, not institutional order flow)
8 GQ Order Flow CVD pinescript/GQ_Order_Flow_CVD.pb Cumulative Volume Delta
9 GQ Anchored VWAP pinescript/GQ_Anchored_VWAP.pb Multi-anchor VWAP (3 lines)
10 GQ Support & Resistance pinescript/GQ_Support_Resistance.pb S/R with pivot clustering
11 GQ MTF Trend Matrix pinescript/GQ_MTF_Trend_Matrix.pb Multi-timeframe trend matrix

πŸ€– cTrader (C# cBots)

# Tool File Description
1 GQ Position Sizer ctrader/GQ_Position_Sizer_cBot.cs ATR-based position sizing
2 GQ Trend Follower ctrader/GQ_Trend_Follower.cs Multi-indicator trend bot
3 GQ Breakout ORB ctrader/GQ_Breakout_Orb.cs Opening range breakout
4 GQ Grid Scalper ctrader/GQ_Grid_Scalper.cs ATR-adaptive grid
5 GQ Mean Reversion ctrader/GQ_Mean_Reversion.cs BB + RSI reversion
6 GQ Divergence Scanner ctrader/GQ_Divergence_Scanner.cs Multi-symbol divergence scanner
7 GQ Trailing Stop Manager ctrader/GQ_Trailing_Stop_Manager.cs 4 trailing methods + partial close
8 GQ DCA Recovery ctrader/GQ_DCA_Recovery.cs Adaptive DCA recovery
9 GQ Session Scalper ctrader/GQ_Session_Scalper.cs Time-window scalper
10 GQ Multi-Symbol Scanner ctrader/GQ_Multi_Symbol_Scanner.cs Ranked multi-symbol scanner
11 GQ Risk Manager ctrader/GQ_Risk_Manager.cs Portfolio-level risk management

πŸ” Zero-Knowledge Privacy Audit

Complete technical documentation to verify the Trading Journal transmits zero data to any server.

πŸ“„ See: docs/ZERO_KNOWLEDGE_PRIVACY_AUDIT.md

Three verification proofs:

  1. DevTools Network Audit β€” Open F12 β†’ Network and verify 0 bytes transmitted when logging trades
  2. Airplane Mode Test β€” The app works fully offline
  3. IndexedDB Inspector β€” Data encrypted locally in your browser

πŸ“ Repository Structure

guetaquant-tools/
β”œβ”€β”€ πŸ“‚ mql/
β”‚   β”œβ”€β”€ GQ_Position_Sizer.mq4       # EA Position Sizer (MT4)
β”‚   β”œβ”€β”€ GQ_Position_Sizer.mq5       # EA Position Sizer (MT5)
β”‚   β”œβ”€β”€ GQ_SuperTrend.mq4           # EA SuperTrend (MT4)
β”‚   β”œβ”€β”€ GQ_SuperTrend.mq5           # EA SuperTrend (MT5)
β”‚   β”œβ”€β”€ GQ_MACD_Trader.mq4          # EA MACD Trader (MT4)
β”‚   β”œβ”€β”€ GQ_MACD_Trader.mq5          # EA MACD Trader (MT5)
β”‚   β”œβ”€β”€ GQ_Bollinger_Reversion.mq4  # EA Bollinger Reversion (MT4)
β”‚   β”œβ”€β”€ GQ_Bollinger_Reversion.mq5  # EA Bollinger Reversion (MT5)
β”‚   β”œβ”€β”€ GQ_Trend_Follow.mq4         # EA Trend Follow (MT4)
β”‚   β”œβ”€β”€ GQ_Trend_Follow.mq5         # EA Trend Follow (MT5)
β”‚   β”œβ”€β”€ GQ_RSI_Pro.mq4              # Indicator RSI Pro (MT4)
β”‚   β”œβ”€β”€ GQ_RSI_Pro.mq5              # Indicator RSI Pro (MT5)
β”‚   β”œβ”€β”€ GQ_ATR_Stop_Loss.mq4        # Indicator ATR Stop Loss (MT4)
β”‚   β”œβ”€β”€ GQ_ATR_Stop_Loss.mq5        # Indicator ATR Stop Loss (MT5)
β”‚   β”œβ”€β”€ GQ_Market_Structure.mq4     # Indicator Market Structure (MT4)
β”‚   β”œβ”€β”€ GQ_Market_Structure.mq5     # Indicator Market Structure (MT5)
β”‚   β”œβ”€β”€ GQ_Ichimoku_Cloud.mq4       # Indicator Ichimoku Cloud (MT4)
β”‚   β”œβ”€β”€ GQ_Ichimoku_Cloud.mq5       # Indicator Ichimoku Cloud (MT5)
β”‚   β”œβ”€β”€ GQ_Support_Resistance.mq4   # Indicator S/R (MT4)
β”‚   β”œβ”€β”€ GQ_Support_Resistance.mq5   # Indicator S/R (MT5)
β”‚   β”œβ”€β”€ GQ_Volume_Profile.mq4       # Indicator Volume Profile (MT4)
β”‚   └── GQ_Volume_Profile.mq5       # Indicator Volume Profile (MT5)
β”œβ”€β”€ πŸ“‚ pinescript/
β”‚   β”œβ”€β”€ GQ_Volume_Profile.mini.pb   # Volume Profile POC/VA
β”‚   β”œβ”€β”€ GQ_SuperTrend.pb            # SuperTrend ATR
β”‚   β”œβ”€β”€ GQ_VWAP_Standard.pb         # VWAP Οƒ bands
β”‚   β”œβ”€β”€ GQ_RSI_Pro.pb               # RSI + divergences
β”‚   β”œβ”€β”€ GQ_MACD_Pro.pb              # MACD histogram
β”‚   β”œβ”€β”€ GQ_Bollinger_Bands.pb       # BB squeeze
β”‚   β”œβ”€β”€ GQ_Market_Structure.pb      # SMC/ICT: FVG, BOS
β”‚   β”œβ”€β”€ GQ_Order_Flow_CVD.pb        # Cumulative Volume Delta
β”‚   β”œβ”€β”€ GQ_Anchored_VWAP.pb         # Multi-anchor VWAP
β”‚   β”œβ”€β”€ GQ_Support_Resistance.pb    # Dynamic S/R
β”‚   └── GQ_MTF_Trend_Matrix.pb      # MTF trend matrix
β”œβ”€β”€ πŸ“‚ ctrader/
β”‚   β”œβ”€β”€ GQ_Position_Sizer_cBot.cs   # Basic risk manager
β”‚   β”œβ”€β”€ GQ_Trend_Follower.cs        # Multi-indicator trend
β”‚   β”œβ”€β”€ GQ_Breakout_Orb.cs          # ORB breakout
β”‚   β”œβ”€β”€ GQ_Grid_Scalper.cs          # ATR grid
β”‚   β”œβ”€β”€ GQ_Mean_Reversion.cs        # BB + RSI
β”‚   β”œβ”€β”€ GQ_Divergence_Scanner.cs    # Divergence scanner
β”‚   β”œβ”€β”€ GQ_Trailing_Stop_Manager.cs # Trailing stop
β”‚   β”œβ”€β”€ GQ_DCA_Recovery.cs          # DCA recovery
β”‚   β”œβ”€β”€ GQ_Session_Scalper.cs       # Session scalper
β”‚   β”œβ”€β”€ GQ_Multi_Symbol_Scanner.cs  # Multi-symbol scanner
β”‚   └── GQ_Risk_Manager.cs          # Portfolio risk
β”œβ”€β”€ πŸ“‚ python/
β”‚   β”œβ”€β”€ gq_backtest.py              # Vectorized backtester & volume profile engine
β”‚   └── test_gq_backtest.py         # Unit tests
β”œβ”€β”€ πŸ“‚ docs/
β”‚   β”œβ”€β”€ BACKTEST_METHODOLOGY_APPENDIX.md # Backtesting methodology
β”‚   β”œβ”€β”€ QA_STANDARD.md              # Quality and regulatory standards
β”‚   └── ZERO_KNOWLEDGE_PRIVACY_AUDIT.md  # Privacy audit
β”œβ”€β”€ LICENSE                          # AGPLv3 License
└── README.md                        # This file

⚑ Quick Installation

MetaTrader 4 / MetaTrader 5

# 1. Download the .mq4 / .mq5 file(s) from mql/
# 2. Open MetaEditor (F4 inside MT5/MT4)
# 3. File β†’ Open β†’ Select the downloaded file(s)
# 4. Compile (F7) each file
# 5. Drag the EA/indicator from the Navigator onto a chart

TradingView (Pine Script v6)

# 1. Open the .pb file from pinescript/
# 2. In TradingView: Pine Editor β†’ New Script
# 3. Paste the code and click "Add to chart"

cTrader

# 1. Download the .cs file from ctrader/
# 2. cTrader β†’ Automate β†’ New cBot β†’ Source Files
# 3. Replace the generated code with the downloaded file
# 4. Compile and attach to a symbol

πŸ” Security & Local-First Privacy

Our Trading Journal (guetaquant.com/journal/) is built with a Local-First architecture:

Your Device
    β”œβ”€β”€ IndexedDB (encrypted)
    β”‚     β”œβ”€β”€ trades/
    β”‚     β”œβ”€β”€ metrics/
    β”‚     └── settings/
    └── Service Worker (offline capable)
          └── ZERO communication with external servers

Note

To verify this yourself: open guetaquant.com/journal/, press F12 β†’ Network, log a trade and confirm no network request appears in the panel.


🀝 Contributing

Contributions from the Latin American quant community are welcome!

  1. Fork this repository
  2. Create a branch: git checkout -b feature/my-indicator
  3. Add your code with documentation in Spanish or English
  4. Open a Pull Request describing the quantitative logic

Contribution Policy: We do not accept trading signals, commercial copy-trading bots, or any code requiring user data access. Educational tools and local risk management only.


πŸ“œ License

This repository is under the AGPLv3 License.

Free for:

  • βœ… Personal educational research
  • βœ… Backtesting and quantitative analysis
  • βœ… Modification and redistribution under the same license

NOT permitted for:

  • ❌ Commercial services without disclosing source code
  • ❌ Integration in account management platforms
  • ❌ Redistribution as paid signals

See LICENSE for full terms.


Construido en Colombia πŸ‡¨πŸ‡΄ para LatinoamΓ©rica 🌎 | Built in Colombia πŸ‡¨πŸ‡΄ for Latin America 🌎

Sitio Web GitHub Org

Β© 2026 Gueta Quant β€” Todos los derechos reservados bajo AGPLv3 | All rights reserved under AGPLv3


πŸ“š Citar este repositorio / Cite this repository

πŸ‡ͺπŸ‡Έ Para proyectos acadΓ©micos o educativos:

@misc{guetaquant_tools_2026,
  author       = {Gueta Quant},
  title        = {Gueta Quant Open-Source Tools Suite},
  year         = {2026},
  month        = {aug},
  howpublished = {GitHub},
  note         = {MetaTrader 4/5, TradingView Pine Script v6, cTrader Automate y Python. Educativo; no constituye asesorΓ­a de inversiΓ³n.},
  url          = {https://github.com/guetaquant-byte/guetaquant-tools}
}

πŸ‡¬πŸ‡§ For academic or educational work:

@misc{guetaquant_tools_2026_en,
  author       = {Gueta Quant},
  title        = {Gueta Quant Open-Source Tools Suite},
  year         = {2026},
  month        = {aug},
  howpublished = {GitHub},
  note         = {MetaTrader 4/5, TradingView Pine Script v6, cTrader Automate and Python. Educational; not investment advice.},
  url          = {https://github.com/guetaquant-byte/guetaquant-tools}
}

About

Gueta Quant Open Source Trading Tools (MT4/MT5 Position Sizers, Pine Script v6 Indicators, cTrader cBots)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages