Snrz auto tdrade bot with evry detail work in time frame 1m-4h

MQL5 指标 专家

指定

# SNRZ BOT — SESSION PROGRESS LOG
Last updated: 2026-09-16 (local late-evening session)

## SAN BOT (new — cloned from SNRZ)
- `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings
- Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing
- Magic number 234567 (separate from SNRZ 123456 so both bots can run together)
- Drawing prefix SANBOT_ (signals + TP/SL/Entry), identical balance guard / 400pt stop floor / spread 300 / rounds 5
- Needs real `MQL5\Indicators\SAN` indicator before it uses SAN signals (falls back to MA until then)

## STATUS: WORKING ✅ (auto-trading confirmed)
The EA places orders, applies SL/TP, breakeven + trailing, draws chart marks.
Latest live evidence (expert journal):
- `✅ SNRZ Bot v3.2 initialized (chart drawing)` — build live
- `✅ SELL ORDER PLACED! Ticket: 1895378060 | Lots: 0.01 | Price: 4319.403 | SL: 4319.803 | TP: 4307.62`
- `✅ SL moved to breakeven (SELL).`
- `✅ Trailing stop updated (SELL).`

## FILES
| File | Purpose |
|---|---|
| `MQL5\Experts\AutomatedOrderBot_SNRZ.mq5` | Main EA, #property version "3.2" |
| `MQL5\Experts\AutomatedOrderBot_SNRZ.ex5` | Compiled build (attached to XAUUSDm chart) |
| `MQL5\Experts\backup_AutomatedOrderBot_SNRZ_original.mq5` | v1.16 baseline rollback (26,866 B, 738 lines) |
| `MQL5\Experts\Free Robots\SNRZ.mq5` | Original broken v1.02 EA - documents expected SNRZ signal format (NOT an indicator) |

## CURRENT CHART
- Chart id `48757211413687` — XAUUSDm M15 (user changes period: M5/M15/D1 seen)
- Broker: Exness-MT5Trial16 (demo), login 472740463, balance ~$500 (changed to $72,966 then back during session - user switching accounts)
- InpMaxSpreadPoints = 300 (was 50 — was blocking every order at 260pt spread)

## KEY FIXES IN v3.2 (this session)
1. **Chart drawing** (user: "not marking buy/sell zone, no TP zone"):
   - `DrawSignalArrow` → OBJ_ARROW 233 lime BUY (ANCHOR_BOTTOM) / 234 red SELL (ANCHOR_TOP), per closed-bar signal
   - `DrawTPZone` / `RefreshZoneDrawing` → OBJ_HLINE dashed: TP (blue/orange), SL (red), Entry (gray), per newest EA position, redraw on change only
   - Prefix `SNRZBOT_`; `DeleteOwnedObjects()` in OnDeinit; zoneTicket/zoneSL/zoneTP globals
   - This MT5 build (6194) LACKS OBJPROP_TIME2/PRICE2/BACKCOLOR/ARROW_TYPE — OBJ_RECTANGLE_LABEL band is impossible; HLINE+ARROW used instead
2. **Trading blockers (user: "why not auto trading")**:
   - Spread guard raised 50 → 300 pts (live spread 260-580 pts on Exness gold)
   - `GetMinStopDistancePoints()` + `GetEffectiveSLPoints()`: broker Exness MT5Trial REJECTS stops < 400 pts with retcode 10016 `invalid stops` even though SYMBOL_TRADE_STOPS_LEVEL reports 0. Enforced floor: max(spread + stops + 30, 400) pts. This was THE final blocker — after this, order filled.
   - CalcLots / OpenBuy / OpenSell all use GetEffectiveSLPoints
3. **Version strings bumped** to v3.2 in OnInit print

## FEATURES PRESENT (from earlier sessions)
- Magic number 123456; CTrade; permission checks (Terminal/Account/MQL)
- Signals: SNRZ indicator (buffer 0 buy / 1 sell, target bar 1) with **MA fallback** — SNRZ file NOT installed
- v2.0: HTF / RSI / ADX filters (all OFF on live attach), ATR SL/TP, spread guard
- v3.0 Rounds: same-direction cycle up to InpMaxRounds=5, re-entry when near last TP (InpNearTPTriggerPts=50)
- v3.1 Balance guard: all open orders cannot risk > InpMaxTotalRiskPct=100% of balance over InpRiskCheckPoints=100 pts (≈10 pips XAUUSD); lot reduced or blocked
- Auto-manage: close on reverse signal, breakeven, trailing (points/ATR)

## OPEN ISSUES / TODO
- [ ] **Install real SNRZ indicator** → `MQL5\Indicators\SNRZ.ex5` (or .mq5 + compile). Until then MA fallback active (log: `⚠️ SNRZ indicator 'SNRZ' NOT FOUND (error 4802)`). The SNR.mq5 in Indicators\Downloads is a ZigZag panel, NOT the arrow signal.
- [ ] Backtest in Strategy Tester before trusting live (capability can_run_backtest = true)
- [ ] Watch for wide-spread skips at late hours (intentional safety: spread > 300 → skip)
- [ ] Optional: clean stray empty `{ }` band block remnant inside DrawTPZone (harmless)
- [ ] Balance scaled multi-orders + balance guard: confirmed in code, verify over time

## RE-ATTACH PARAMETER SNAPSHOT (full set currently on chart)
InpSignalSource=1,InpSignalStyle=0,InpSNRZName=SNRZ,InpBuyBufferIndex=0,InpSellBufferIndex=1,
InpFastMAPeriod=10,InpSlowMAPeriod=30,InpCandleBodyPts=0,
InpUseHTFFilter=false,InpHTFPeriod=16385,InpUseRSIFilter=false,InpRSIPeriod=14,
InpRSIBuyMin=40.0,InpRSIBuyMax=70.0,InpRSISellMin=30.0,InpRSISellMax=60.0,
InpUseADXFilter=false,InpADXPeriod=14,InpMinADX=20.0,InpMaxSpreadPoints=300,
InpSLMode=0,InpATRPeriod=14,InpSLATRMultiplier=1.5,InpTPATRMultiplier=3.0,
InpMaxRounds=5,InpNearTPTriggerPts=50,
InpMaxTotalRiskPct=100.0,InpRiskCheckPoints=100,
InpCloseOnReverseSignal=true,InpBreakevenEnabled=true,InpBreakevenTriggerPts=100,InpBreakevenLockPts=10,
InpTrailingEnabled=true,InpTrailingMode=0,InpTrailingStartPts=200,InpTrailingStepPts=50,InpTrailingATRMultiplier=1.0,
InpLotMode=1,InpRiskPercent=2.0,InpAllowLowBalance=true,InpLotSize=0.1,
InpStopLossPoints=200,InpTakeProfitPoints=400,InpTakeProfitMode=1,InpZoneLookback=20,
InpMagicNumber=123456,InpSlippagePoints=20

## TOOLS/ENVIRONMENT NOTES
- MetaEditor build 6194, target X64 Regular, MetaQuotes style, CRLF, tab 3
- MCP tools: metaeditor5__*, metatrader5__* (tester capable)
- File edits: multi-line SEARCH/REPLACE breaks on CRLF; use developer `edit` tool (handles CRLF) or single-line anchors
- First-ever get_workspace_info pre-flight required per session

反馈

1
开发者 1
等级
(283)
项目
354
29%
仲裁
37
27% / 65%
逾期
10
3%
已载入
2
开发者 2
等级
(1)
项目
3
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(17)
项目
21
19%
仲裁
5
40% / 40%
逾期
0
空闲
4
开发者 4
等级
(261)
项目
307
76%
仲裁
13
77% / 0%
逾期
5
2%
工作中
5
开发者 5
等级
(73)
项目
91
57%
仲裁
6
67% / 17%
逾期
2
2%
已载入
6
开发者 6
等级
(62)
项目
90
29%
仲裁
24
13% / 58%
逾期
7
8%
工作中
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(319)
项目
571
35%
仲裁
83
31% / 45%
逾期
206
36%
空闲
9
开发者 9
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
10
开发者 10
等级
项目
0
0%
仲裁
0
逾期
0
空闲
11
开发者 11
等级
(1)
项目
2
50%
仲裁
0
逾期
0
空闲
发布者: 2 代码
12
开发者 12
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
13
开发者 13
等级
(1)
项目
1
0%
仲裁
0
逾期
0
工作中
14
开发者 14
等级
项目
0
0%
仲裁
0
逾期
0
空闲
15
开发者 15
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 2 代码
16
开发者 16
等级
项目
0
0%
仲裁
0
逾期
0
空闲
17
开发者 17
等级
(211)
项目
274
21%
仲裁
24
54% / 17%
逾期
0
空闲
18
开发者 18
等级
(3)
项目
9
67%
仲裁
0
逾期
0
工作中
19
开发者 19
等级
(2)
项目
2
50%
仲裁
0
逾期
0
空闲
20
开发者 20
等级
(16)
项目
30
40%
仲裁
3
33% / 67%
逾期
7
23%
工作中
21
开发者 21
等级
(9)
项目
11
27%
仲裁
0
逾期
2
18%
工作中
发布者: 1 代码
22
开发者 22
等级
项目
0
0%
仲裁
0
逾期
0
空闲
23
开发者 23
等级
项目
0
0%
仲裁
0
逾期
0
空闲
24
开发者 24
等级
(1)
项目
1
0%
仲裁
0
逾期
1
100%
空闲
25
开发者 25
等级
(15)
项目
33
0%
仲裁
8
25% / 50%
逾期
14
42%
空闲
相似订单
These are orderflow footprint indicator I would like to know if you can algorithmisie and build a stacked imbalance bot from them .. Kindlt let me know if you can do it and check the file before replying me
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing

项目信息

预算
100+ USD
截止日期
 10  40 天

客户

所下订单1
仲裁计数0