Shepherd Pilot — Settings guide (4/4)

Shepherd Pilot — Settings guide (4/4)

5 December 2026, 17:16
Joseph Djomol
0
8


Part 4 of 4 of the Shepherd Pilot settings guide. The other parts are in the seller's blog.

GOLD 01 - Contract, pip & spread (XAUUSD)

Characteristics of the gold contract at your broker, used by the report and the signal card.

Setting Default Purpose, reason for the default, effect of a change
Reference lot for the card
InpLot
0.01 Reference lot for the signal card: money gains and losses there are computed for this volume.
If you change it: Display only.
Detect a cent account automatically
InpCompteCentAuto
true Automatically detects a cent account (balance in cents, for example USC), to convert amounts correctly.
Cent account (if automatic detection is off)
InpCompteCent
true Cent account or not, when automatic detection is off.
If you change it: Only counts when the previous setting is off.
Ounces per lot (0 = read the symbol's contract)
InpOncesParLot
0 Ounces of gold per lot. 0 = read the contract value from the broker.
Default: 0: the broker knows best.
If you change it: Fill in only if the broker reports a wrong value.
Pip size for the report and the card ($0.10)
InpPipSize
0.10 Pip size for the report and the card: 0.10 $.
Default: It is the convention of the report's calculations (1 pip = 0.10 $ = 100 points of 0.001).
If you change it: ⚠ The SL/TP manager (group GOLD 03) and Telegram messages use another convention: 1 pip = 0.01 $. Do not change this setting to "align" them: it only affects the report.
Typical spread, deducted for the net R
InpSpreadTypique
0.30 Typical gold spread, in dollars, deducted to compute the card's net R.
If you change it: Enter your broker's usual spread for a more accurate card.
Minimum points for a breaker breakout
InpBreakerMinPts
2.0 Minimum overshoot to confirm a breaker's break, in hundredths of ATR.
Treat the account as standard even if it looks like a cent account
ForceStandardAccount
false Treats the account as standard even if it looks like a cent account.
If you change it: Turn on only if the detection is wrong.

GOLD 02 - Macro correlations & SMT (DXY, silver, CHF, JPY, US10Y)

Correlations with other markets and SMT divergences. ⚠ The default symbol names are Exness's: with another broker, adapt them.

Setting Default Purpose, reason for the default, effect of a change
Correlation matrix (false = validated setup)
InpShowCorrelMatrix
false Computes gold's correlation with the dollar (DXY), silver, USDCHF and USDJPY, and adds it to the report.
Default: Off: the configuration of our measurements.
If you change it: On: the report contains these correlations; the symbol names below must then be right.
Dollar Index symbol (DXY, DXYm or USDX)
InpDXYSymbol
DXYm Your broker's name for the Dollar Index (DXY, DXYm, USDX…).
Default: ⚠ The default name is Exness's ("m" suffix). With another broker, enter the exact name from your Market Watch, otherwise the data is unavailable.
Silver symbol for the XAG macro correlation
InpXAGUSDSymbol
XAGUSDm Your broker's name for silver, for the correlation.
Default: ⚠ The default name is Exness's ("m" suffix). With another broker, enter the exact name from your Market Watch, otherwise the data is unavailable.
USDCHF symbol (safe-haven gauge)
InpUSDCHFSymbol
USDCHFm Name of USDCHF (safe haven).
Default: ⚠ The default name is Exness's ("m" suffix). With another broker, enter the exact name from your Market Watch, otherwise the data is unavailable.
USDJPY symbol (rate-spread / carry gauge)
InpUSDJPYSymbol
USDJPYm Name of USDJPY (rate spread).
Default: ⚠ The default name is Exness's ("m" suffix). With another broker, enter the exact name from your Market Watch, otherwise the data is unavailable.
Bars for the correlation
InpCorrelLookback
30 Candles used to compute the correlations.
Significant correlation threshold
InpCorrelThreshold
0.50 Correlation from which it counts as significant (0 to 1).
SMT divergences: detect them and count them in the score
InpShowSMT
true Detects SMT divergences between gold and the reference market (settings below) and counts them in the score.
If you change it: Off: one confluence fewer; the report changes.
SMT reference symbol
InpCorrelSymbol
DXYm Reference market for the SMT divergence.
Default: The dollar (DXY): more direct than silver for a divergence with gold. ⚠ The default name is Exness's ("m" suffix). With another broker, enter the exact name from your Market Watch, otherwise the data is unavailable.
SMT reference polarity
InpSMTPolarite
Inverse: the reference falls when gold rises (DXY, USDJPY) Direction of the relation with that market. Inverse: it falls when gold rises (DXY, USDJPY). Direct: it rises with gold (silver, EURUSD).
Default: Inverse, because the reference is the DXY.
If you change it: Change it if you use silver as the reference; a wrong polarity inverts the divergences.
SMT: maximum bars to the confirming sweep
InpSMTSweepMaxBars
5 An SMT divergence is only confirmed if a liquidity sweep happens within X candles.
Default: 5: the combination of both is the strong signal.

GOLD 03 - SL/TP manager - distances in pips of $0.01 (100 = $1)

Distances of the SL/TP manager (group 10), in pips of 0.01 $: 100 pips = a 1 $ move in gold. No effect while the manager is off.

Setting Default Purpose, reason for the default, effect of a change
Ignore SL/TP changes smaller than X pips
MinSLTPChangePips
0.0 A stop or target change smaller than X pips is not announced on Telegram. 0 = announce all.
If you change it: Avoids a flood of messages with a trailing stop.
TP2: offset in pips beyond the TP (0 = off)
TP2_OffsetPips
0.0 TP2 step, X pips beyond the TP (1 pip = 0.01 $ here: 100 pips = 1 $): used by partials (group 10) and Telegram messages. 0 = off.
TP3: offset in pips beyond TP2 (0 = off)
TP3_OffsetPips
0.0 TP3 step, X pips beyond TP2. 0 = off.
Partials: act when the price is within X pips of the level
PartialTrigPips
3.0 Partials trigger when the price is X pips from the step.
Default: 3 pips = 0.03 $.
Break-even suggestion after X pips of profit (0 = off)
BreakEvenAlertPips
0.0 Telegram message suggesting break-even after X pips of profit. 0 = off.
If you change it: A suggestion only: nothing is moved.
Aggressive - BE+: trigger profit (pips)
PosMgrBEPlusTrigPips
300.0 Aggressive: the BE+ arms at this profit.
Default: 300 pips = 3 $.
If you change it: Higher: fewer break-even exits on a mere breather. Lower: faster protection.
Aggressive - BE+: locked profit (pips, 0 = plain BE)
PosMgrBEPlusLockPips
100.0 Aggressive: profit locked by the BE+ beyond the entry. 0 = plain break-even.
Default: 100 pips = 1 $.
Aggressive - TSL: arms at this profit (pips)
PosMgrTSLStartPips
500.0 Aggressive: the trailing stop arms at this profit.
Default: 500 pips = 5 $.
Aggressive - TSL: distance behind the price (pips)
PosMgrTSLDistPips
300.0 Aggressive: trailing distance behind the price.
Default: 300 pips = 3 $.
If you change it: Shorter: protects more, but the slightest breather can trigger an exit.
Aggressive - TSL: minimum step to move (pips)
PosMgrTSLStepPips
50.0 Aggressive: minimum move before shifting the stop.
Default: 50 pips = 0.50 $.
Aggressive - TTP: price within X pips of the TP
PosMgrTTPTrigPips
150.0 Aggressive: the TTP acts when the price is X pips from the TP.
Default: 150 pips = 1.50 $.
Aggressive - TTP: move the TP X pips further
PosMgrTTPPushPips
250.0 Aggressive: how far the TTP pushes the TP.
Default: 250 pips = 2.50 $.
Patient - BE+: LOCKED profit in pips (75 = $0.75 on gold)
PosMgrPatBEPlusLockPips
75.0 Patient: profit locked by the BE+.
Default: 75 pips = 0.75 $.
Patient - BE+: margin above the broker minimum before arming
PosMgrPatBEPlusMarginPips
20.0 Patient: margin required above the broker's minimum distance before arming the BE+.
Default: 20 pips = 0.20 $.
Patient - TSL: arms after X pips when there is NO TP
PosMgrPatTSLArmPips
400.0 Patient: if there is NO TP, the trailing stop arms after this profit.
Default: 400 pips = 4 $.
Patient - TSL: minimum distance, floor of the previous one
PosMgrPatTSLMinDistPips
150.0 Patient: minimum trailing distance, floor of the percentage in group 10.
Default: 150 pips = 1.50 $.
Patient - TSL: minimum step before moving
PosMgrPatTSLStepPips
100.0 Patient: minimum move before shifting the stop.
Default: 100 pips = 1 $: few changes.
Patient - TTP: triggers when the price is X pips from the TP
PosMgrPatTTPTrigPips
100.0 Patient: the TTP acts when the price is X pips from the TP.
Default: 100 pips = 1 $.
Patient - TTP: moves the TP X pips away (a real step)
PosMgrPatTTPPushPips
300.0 Patient: how far the TTP pushes the TP.
Default: 300 pips = 3 $: a real step.
Cascade - group: maximum gap between the entries (pips)
PosMgrCascadeEntryTolPips
300.0 Cascade: maximum gap between the entry prices of one group's orders.
Default: 300 pips = 3 $.
Cascade - BE+: profit locked beyond the entry (pips)
PosMgrCascadeBEPlusLockPips
143.0 Cascade: profit locked beyond the entry when a target of the group is reached.
Default: 143 pips = 1.43 $.

AI 01 - US10Y (US 10-year yield)

A macro figure added to the report.

Setting Default Purpose, reason for the default, effect of a change
Read the US 10-year yield every 4 h for Shepherd Pilot
InpUS10Y
true Reads the US 10-year yield every 4 hours (from query1.finance.yahoo.com), a macro figure the AI reads in the report.
Default: On: rates weigh on gold.
If you change it: Off, the report no longer has it; the address then no longer needs to be allowed in MT5.

AI 02 - AI analyst (OpenRouter)

The AI analyst reads the report and writes plans A and B. The AI goes through your own OpenRouter account: you choose the model and pay for its use directly.

Setting Default Purpose, reason for the default, effect of a change
Analyse each new report (REPORT click)
InpIA_Actif
true Sends each new report to the AI so it writes the plans.
Default: On: the heart of the Pilot.
If you change it: Off, no plan arrives: the Pilot is just an analysis tool.
OpenRouter API key (sk-or-...) - empty = AI idle
InpIA_Cle
(empty) Your OpenRouter key (it starts with sk-or-). Empty = AI idle.
Default: Empty: to be filled in.
If you change it: Keep it secret: it lets anyone spend your OpenRouter credit.
Requesty (fallback if OpenRouter does not answer): key - empty = none
InpReq_Cle
(empty) Requesty key, a fallback provider used only when OpenRouter does not answer. Empty = no fallback.
If you change it: Then add https://router.requesty.ai to MT5's WebRequest list.
Requesty: model ID (empty = same as OpenRouter)
InpReq_Modele
(empty) Model identifier at Requesty. Empty = the same model as OpenRouter, translated automatically.
AI model
InpIA_Modele
Claude Sonnet 5.5 - balanced (~$0.09) AI model that writes the plans; each one's indicative cost per analysis is in the list.
Default: Claude Sonnet 5.5: the balance between quality and cost (about 0.09 $ per analysis).
If you change it: A stronger model reasons more and costs more; an economical one costs less but reads the report less finely. "Other" uses the next setting.
If "Other": OpenRouter ID (e.g. anthropic/claude-haiku-5.5)
InpIA_ModeleAutre
(empty) If "Other": the model's exact OpenRouter identifier, for example anthropic/claude-haiku-5.5.
If you change it: A wrong identifier gets the request refused; the log says so.
Maximum analyses per day (0 = none)
InpIA_MaxParJour
20 Daily cap on analyses, clicks and automatic reports included. 0 = none.
Default: 20: caps spending even if a setting triggers too often.
If you change it: Lower: tighter spending control.
Also analyse INCOMPLETE reports (not advised)
InpIA_RapportsIncomplets
false Also analyses an INCOMPLETE report (data not loaded yet, missing timeframe).
Default: Off: the AI only works on a complete report; click REPORT again once the data is loaded.
If you change it: On: not advised, the AI would reason on gaps.
Minimum delay between two analyses (s)
InpIA_DelaiMinSec
60 Minimum time between two analyses, in seconds.
Default: 60: avoids two billed analyses from a double click.
REPORT click during an analysis: ignored (no = analysed afterwards)
InpIA_IgnorerClicPendant
false A click on REPORT during an analysis: ignored, or queued and analysed afterwards.
Default: No: the click is handled after the current analysis.
If you change it: Yes: the click is dropped, no extra analysis.
Maximum wait (s) - 0 = automatic (follows the reasoning)
InpIA_TimeoutSec
0 Maximum wait for the AI's answer, in seconds. 0 = automatic, following the reasoning level.
If you change it: Raise it if the log reports "no answer within the time limit". While waiting, the panel may not respond.
Answer budget, reasoning included - 0 = automatic
InpIA_MaxTokens
0 Budget of the AI's answer, reasoning included, in tokens. 0 = automatic.
Default: Automatic: follows the reasoning level.
If you change it: Too low, the answer may come back empty (the log explains).
Model reasoning (budget and wait follow)
InpIA_Reflexion
Low (recommended) - auto budget 12,000 tokens Model reasoning effort: Low, Medium or High. Budget and waiting time follow.
Default: Low: fast and economical, enough to read the report.
If you change it: Higher: deeper, slower and more expensive analysis.
Claude at Medium/High: careful or free reasoning
InpIA_ClaudeReflexion
Careful - normal envelope; if it overflows, redone at Low For Claude models at Medium or High reasoning. Cautious: normal envelope; if it overflows, the analysis is redone at Low. Free reasoning: 64,000-token envelope, never back to Low.
Default: Cautious: controlled cost.
If you change it: Free: full reasoning, but cost and wait are hard to predict.
Fallback model if the chosen model fails
InpIA_SecoursActif
false Uses a fallback model if the chosen model fails (unavailable, refusal).
If you change it: On: an analysis is more likely to succeed.
Fallback model
InpIA_Secours
Claude Sonnet 5.5 - balanced (~$0.09) Fallback model.
If you change it: Choose a model from another provider to guard against that provider's outage.
Write the levels file for the chart
InpIA_Niveaux
true Writes the plans-and-levels file read by the chart.
Default: On: without it nothing is shown and no order is placed.
If you change it: Leave it on.
Minimum R:R of a drawn plan (0 = draw all)
InpIA_RRMin
1.0 Minimum R:R for an AI plan to be drawn. 0 = draw all.
Default: 1.0: a plan whose reward does not cover its risk is not shown.
If you change it: Higher: fewer plans drawn.
MT5 alert window when the analysis is ready
InpIA_Alerte
true MT5 alert window, with a sound, when the analysis is ready.
Push notification (MT5 mobile app)
InpIA_Notification
true Notification on your phone's MT5 app when the analysis is ready.
If you change it: Works if notifications are set up in MT5 (Tools → Options → Notifications).
Test the connection at start (negligible cost)
InpIA_TestDemarrage
true At start-up, a small call checks that the key and model answer.
Default: On: negligible cost, and you know straight away if something is wrong.

AI 03 - AI analyst - extra data (experimental)

Optional data attached to the report. Experimental: each one raises the cost of the analysis.

Setting Default Purpose, reason for the default, effect of a change
Attach a screenshot of the chart
InpIA_Capture
false Attaches a chart image to the report. Experimental.
Default: Off: the numeric report is enough, and an image raises the cost.
If you change it: The EA photographs a chart of the same symbol and timeframe without the Pilot's panel; failing that, see this group's last setting.
Attach the latest candles as numbers
InpIA_Bougies
false Attaches the latest candles as figures. Experimental.
Default: Off: shorter report, cheaper analysis.
Number of candles (screenshot and numbers, 30 to 500)
InpIA_NbBougies
201 Number of candles for the image and the figures (30 to 500).
If you change it: More: more context, higher cost.

AI 04 - Single / double modes (button on the chart and the card)

Two ways of asking for an analysis, chosen with a button.

Setting Default Purpose, reason for the default, effect of a change
Enable the single / double modes
InpModes_Actif
false Turns on single and double modes, chosen with a button at the top right of the chart. In double mode, a report made on H1 or higher becomes a background (bias) analysis (model and reasoning set below); below H1, an execution analysis.
Default: Off: each click on REPORT gives an ordinary analysis.
If you change it: On, the background analysis may use a more expensive model and reasoning.
Double mode, background analysis (H1 and above): model
InpFond_Modele
Claude Sonnet 5.5 - balanced (~$0.09) Model of the background analysis, in double mode.
Double mode, background analysis: reasoning
InpFond_Reflexion
High (slower, dearer) - auto budget 24,000 tokens Reasoning of the background analysis.
Default: High: a background reading deserves more thought, and it is less frequent.
If you change it: Lower: cheaper, less in-depth.
Zone alerts: approach, inside the zone, invalidation
InpFond_Alertes
true Alerts on the background analysis's zones: approach, inside the zone, invalidation.

AI 05 - Plan tracking and alerts

Tracking of the drawn plans, to know their results.

Setting Default Purpose, reason for the default, effect of a change
Track each drawn plan (results summary)
InpSuivi_Actif
true Tracks each drawn plan to its outcome (entry, TP1, stop, expiry) to build its record.
If you change it: Statistics only: no order depends on it.
Alerts: price near the entry, entry reached, TP1 or stop
InpSuivi_Alertes
false Alerts when the price nears a plan's entry, reaches it, hits TP1 or the stop.
Default: Off: the Pilot's Telegram messages are usually enough.
Approach alert: distance to the entry in % of the risk (0 = none)
InpSuivi_ApprochePct
30 Approach alert: distance to the entry, as % of the plan's risk. 0 = no approach alert.
Plan not entered after this many hours: expires
InpSuivi_AttenteH
24 A plan whose entry is not reached after X hours counts as expired in the record.
Entered plan with no TP1 or stop after this many hours: closed
InpSuivi_DureeH
72 An entered plan that hit neither TP1 nor the stop after X hours is closed in the record.

Short glossary

Term Meaning
ATR Average range of a candle over a period: a distance unit that adapts to volatility
R:R Reward-to-risk ratio: what the target pays, divided by what the stop costs
R One unit of risk: the loss if the stop is hit
Pip Here 0.10 $ (report, card) or 0.01 $ (manager, Telegram): see warning 2
Kill zone Time window when large players are most active
BOS, iBOS, eBOS Break of structure; internal (small scale) or external (large scale)
CHoCH, MSS Change of character, market structure shift: signs of a reversal
Order block (OB) Last opposite candle before an impulse: a zone where orders were placed
Breaker A broken order block, now a reaction zone the other way
FVG Fair value gap: a gap between three candles that price often comes back to fill
POI Point of interest: a zone where price is likely to react
Liquidity, sweep Pending orders beyond highs and lows; a sweep takes them, then comes back
PDH, PDL Previous day's high and low
Premium, discount Upper and lower half of the range: selling rather in premium, buying in discount
IPDA Reference levels: yearly, quarterly and weekly opens, and 20 to 60-day ranges
AMD Accumulation, manipulation, distribution: the three phases of a session
Judas swing False move at the start of a session, before the real one
SMT Divergence between gold and a related market (the dollar, for example)
Confluence A favourable item that adds a point to the score

Need help?

Use the Comments tab of the product page on the MQL5 Market, or MQL5 private messages.