Ali Akbar
Ali Akbar
  • MQL5 Developer & Algorithmic Trading Specialist em Freelance
  • Paquistão
  • 1745
  • Informações
no
experiência
2
produtos
0
versão demo
0
trabalhos
0
sinais
0
assinantes
MQL5 Developer & Algorithmic Trading Specialist em Freelance
Hi, I'm Ali. 24 years old, trading for around 5 years, and developing MQL5/MQL4 tools. I mainly work on automating manual strategies, fixing broken EA logic, and building clean indicators. I care more about clean architecture and proper risk management than over-complicated code. Always down to talk shop or collaborate on practical trading systems.
Ali Akbar Produto publicado

Account Guard watches your account and does one job. When a limit is reached it closes every position and every pending order. It keeps closing any new trade until the lock ends. It opens no trades of its own. It works for manual trading and for any EA on the same account. I built it from a set of tested modules. Each module came out of my own MQL5 articles about trading days, drawdown peaks, open risk, and order checks. What it checks - Daily loss limit (percent or money, the stricter one

Ali Akbar Produto publicado

Account Guard Daily Limit   is the free version of Account Guard. It watches the whole account and enforces two rules: a daily loss limit and a maximum drawdown. It opens no trades of its own. It works for manual trades and for any EA on the account. The panel shows the state, the day result against the limit, and how much room is left above the drawdown floor. The two rules Daily loss limit   in percent of the initial balance. When it is hit, every position and pending order is

Ali Akbar
Publicado o código Turtle Breakout Indicator Tested on Gold: Profitable in 2025 and 2026 (70)
Rupturas do Donchian no estilo Turtle no ouro, seguidas de três saídas simultâneas: um stop móvel baseado no ATR, o canal de saída do Turtle e uma meta fixa. Testado retrospectivamente no XAUUSD em gráficos H1 e H4 nos anos de 2025 e 2026, onde todas as doze combinações foram lucrativas. Sem repintura, com buffers para um Expert Advisor.
Ali Akbar
Publicado o código Gold Breakout EA for XAUUSD H4 +90 Percent in a 2020 to 2026 Backtest
Um EA de breakout no estilo Turtle para o ouro. Ele compra quando uma barra H4 fecha acima da máxima de 20 barras em uma tendência de alta, com um stop de 2 ATR e uma meta de 2R. Testado retrospectivamente no XAUUSD de janeiro de 2020 a setembro de 2026: +9.029,72 com 10.000 e risco de 1%, fator de lucro de 1,77, drawdown máximo de 11,38%, 6 dos 7 anos lucrativos.
Ali Akbar
Publicado o código CME Gap Tracker for Gold and Bitcoin: Open Gaps, Fill Rate and a Fade-Trade Test
Identifica as lacunas de preço (gaps) do CME no ouro e nos gráficos de Bitcoin 24/7, mantém todas as lacunas não preenchidas no gráfico até que o preço retorne a elas e mostra com que frequência as lacunas foram preenchidas, com que rapidez, qual foi a primeira oscilação do preço e qual teria sido o lucro se tivesse sido aproveitado o movimento de fechamento dessas lacunas. Não repinta os dados, com buffers para um Expert Advisor.
Ali Akbar
Publicado o código Asian Range Sweep Indicator with a Built-In Win Rate Scorecard
Marks the Asian session range, signals when London or New York sweeps one side of it and reverses, and keeps a scorecard of how every past signal ended in R, spread included. Non-repainting, with buffers ready for an Expert Advisor.
231
Ali Akbar
Publicado o código SMC Gold: Liquidity Sweep and Order Block EA for XAUUSD M15
An intraday Smart Money Concepts EA for gold. It waits for price to sweep a recent swing high or low, confirms the reversal with a close through the sweep candle's body, and trades only with the H1 trend. Backtested on XAUUSD M15 over 2025 and 2026 at 1% risk per trade.
879
Ali Akbar
Publicado o código RegimeRouter — classificador de tendência/faixa com um registro de taxa de vitórias por regime
Classifica o mercado usando o ADX, o expoente de Hurst e a autocorrelação de defasagem 1, encaminha cada barra para um módulo de rompimento ou um módulo de reversão à média e mantém um registro separado da taxa de acertos para cada regime com um limite inferior de 95% de Wilson, para que você possa ver qual das duas metades está realmente funcionando.
Ali Akbar
Publicado o código CSetupLedger: a per-setup win rate ledger for Expert Advisors
Avalia cada tipo de configuração do seu EA em seu próprio registro, em vez de agrupá-los em uma única curva de patrimônio líquido. Ele se reconstrói a partir do histórico de negociações da conta na inicialização, de modo que uma reinicialização não apague o registro. Exibe um limite inferior da pontuação de Wilson ao lado da taxa de ganhos bruta, para que uma sequência de três negociações lucrativas deixe de parecer uma vantagem.
Ali Akbar
Publicado o código ZetaBurst Scalper EA
Sistema de scalping baseado em ticks que opera apenas com movimentos de preço que representam verdadeiros outliers estatísticos, com tamanho de posição e proteção adequados para lidar com o atraso real na execução da corretora. Os resultados do backtest estão incluídos abaixo.
Syed Jawad Hussain Naqvi
Syed Jawad Hussain Naqvi 2026.09.10
good work keep it up
Ali Akbar
Publicado o código PulseStrike Scalper - Statistical Burst Detection EA
PulseStrike Scalper - EA para detecção estatística de picos
Ali Akbar
Ali Akbar
# Difference Between Netting and Hedging Account Types — Which Should Beginners Use?

Before you start trading one confusion trips up almost every beginner. It's the account type question. Brokers ask you to pick between "Netting" and "Hedging" during sign-up and most new traders just skip past it. They tell themselves they'll figure it out later. But this choice actually shapes how your positions behave and how you manage risk. Let's break both down in plain terms.

## What Is a Netting Account?

A netting account automatically combines all your positions on the same instrument into one. Say you buy 1 lot of EUR/USD. Then a bit later you sell 0.5 lot on the same pair. The platform won't show these as two separate trades. It merges them into a single net position of 0.5 lot buy.

This account type is mostly offered by US-regulated brokers because NFA rules don't allow hedging.

**Key traits of netting:**
- Only one net position shows per symbol
- Position tracking stays clean and simple
- Closing usually follows the FIFO rule (First In First Out)
- You get a clear picture of your overall exposure at a glance

## What Is a Hedging Account?

A hedging account lets you hold buy and sell positions on the same instrument at the same time without merging them. Each position gets its own ticket number and its own profit or loss.

So on EUR/USD you could keep a 1 lot buy position open and also run a 0.5 lot sell position separately. Both stay active independently until you close them yourself.

This is the standard setup with most international and offshore brokers. Names like Exness IC Markets FBS and HotForex fall in this category since MT4 and MT5 allow hedging by default for non-US clients.

**Key traits of hedging:**
- You can hold opposite positions on one symbol at the same time
- Grid trading martingale EAs and locking strategies depend on this
- Every position tracks its own profit and loss
- More flexibility but also more complexity

## Quick Comparison

| Feature | Netting Account | Hedging Account |
|---|---|---|
| Opposite positions on same symbol | Get merged automatically | Stay separate |
| Complexity | Low and simple | Higher and trickier |
| Common with | US-regulated brokers | International/offshore brokers |
| EA and grid strategies | Usually not supported | Fully supported |
| Ease for beginners | Easy to follow | Can feel confusing at first |

## Which One Should Beginners Use?

Here's the straightforward answer. A netting-style approach works better for beginners even if your broker technically runs on hedging. Here's why.

**Less confusion.** When each symbol shows just one net position you always know exactly where you stand in the market. Beginners who juggle overlapping positions often lose track of their real exposure.

**Better discipline.** Thinking in netting terms trains you to commit to one direction at a time. You trust your analysis instead of hedging against yourself out of doubt.

**Easier risk management.** A clear single position makes stop loss placement and position sizing simple. Calculating combined risk across multiple hedged positions is genuinely hard for someone just starting out.

**Avoids overtrading.** Having hedging available tempts many new traders into opening both sides when they're unsure of direction. That habit drains accounts rather than growing them.

One thing worth noting though. Most Pakistani traders using international brokers like Exness IC Markets or FBS already have hedging enabled by default whether they use it or not. So the real issue isn't switching account types. It's building the right trading discipline.

- If you're a beginner stick to one direction at a time even if your account allows hedging
- Once you build real experience and confidence you can explore hedging strategies like locking or correlation-based hedging
- If you plan to run an EA built on grid or hedging logic that's a different story but it belongs to advanced traders not beginners

## Bottom Line

Netting gives you simplicity. Hedging gives you flexibility. For beginners simplicity wins almost every time. Until you can manage the risk of a single clear position juggling two at once will only multiply your mistakes. Build a solid disciplined single-direction approach first. Hedging and advanced strategies will make a lot more sense once that foundation is in place.
Ali Akbar
Publicado o código SMC Liquidity Sweep Scalper (Order Block EA with Live Win-Rate Tracking)
Um scalper de “liquidity-sweep”/“order-block” com dimensionamento baseado no ATR e um filtro de tendência em timeframe superior. Cada operação é marcada no gráfico com a taxa de acerto histórica em tempo real desse tipo de configuração — um quadro de resultados contínuo, não apenas caixas.
Ali Akbar
Publicado o código RiskPilot Pro — Painel de risco com a funcionalidade “arrastar para negociar”, incluindo ponto de equilíbrio, stop móvel e proteção contra perdas diárias
Arraste seu stop loss até onde você realmente deseja, clique em “Comprar” ou “Vender”, e o tamanho do lote já estará correto — sem precisar de calculadora nem planilha. O sistema lida com o ponto de equilíbrio, o trailing stop e encerra as negociações do dia caso você atinja seu limite de perda.
Ali Akbar
Publicado o código Risk-Based Lot Size Calculator
A simple MQL5 script that calculates the correct lot size for a trade based on your account risk percentage and stop loss distance in pips, so every trade risks a consistent, controlled amount of your balance.
91
Ali Akbar
Publicado o código Correlation-Aware Lot Size Calculator
Sizes your next trade based on the correlated risk you already have open across other positions — not just the trade in isolation.
89
Ali Akbar
Publicado o código Prop Firm Rule Checker
Checks your trade history against common prop-firm challenge rules — profit target, max daily loss, max drawdown, consistency rule, and minimum trading days — with a clear PASS/FAIL report.
83
Ali Akbar
Registrado no site MQL5.community