nyao_scalper_mt5/settings/safe.set
Elriz Wiraswara fefe8625df fix(hedge): trail graduated hedge at HedgeTrailATR (lot-independent)
A graduated/released hedge carries a large martingale lot. The dollar-based
TrailingDistanceValue converts to a near-zero PRICE gap on that lot, so the
trailing stop landed at market and closed the position instantly (or via the
emergency-close on a rejected too-tight modify) - cutting profit that could
have run. Graduated and released chain legs now trail at HedgeTrailATR x ATR
(default 1.0, lot-independent); set 0 to use the normal trailing settings.
Added HedgeTrailATR to all profiles.
2026-06-03 00:17:43 +07:00

175 lines
4.2 KiB
Text

; +-----------------------------------------+
; Nyao Scalper v42.0 - SAFE PROFILE
; © Copyright Nyao Scalper by Elriz Wiraswara
; +-----------------------------------------+
; Optimized for XAUUSD M1
; Philosophy: Capital preservation, highest win rate
; Only highest-conviction trades, minimal exposure, tight risk controls
; Per-trade risk ~0.5% equity; basket stop ~3%; strongest dead-market filter
; +-----------------------------------------+
; 📊 Indicator Settings
DirectionalBodyLookback=15
EMAFastPeriod=6
EMASlowPeriod=16
SlopeLookback=4
RSIPeriod=10
ATRPeriod=10
ATRAvgLookback=15
MinVolRatioToTrade=0.7
ImpulseLookback=4
ImpulseBoostWeight=0.8
SignalSmoothingCandles=3
CurrentCandleBlend=0.25
VelocityWindow=2.0
RSIOverbought=75
RSIOversold=25
RSIMomentumBuy=62
RSIMomentumSell=38
; ⚖️ Score Weight Settings
TrendWeight=1.5
SlopeWeight=1.5
MomentumBaseWeight=1.0
MomentumTriggerWeight=0.5
BodyMomentumWeight=1.5
ChopScoreHigh=2.0
ChopScoreMed=1.0
ChopScoreLow=0.0
VolatilityScoreHigh=1.0
VolatilityScoreLow=0.0
PeakScoreWeight=1.0
WickRejectionWeight=1.5
MinBodyRatio=1.8
; 📝 Order & Position Settings
EnableBuyOrders=true
EnableSellOrders=true
EnableNewBarEntryOnly=true
EnableMaxSpreadFilter=true
MaxSpreadPoints=0
MaxSpreadATRRatio=0.20
BaseLotSize=0.01
MaxOpenOrders=3
MaxTradesPerCandle=1
ConsecutiveCandleThresholdBoost=1.5
MaxConsecutiveCandleBoosts=2
ZonePoints=700.0
BuyDuplicateMultiplier=2.0
SellDuplicateMultiplier=2.0
MinBreakEvenProfit=0.3
ProfitThresholdMultiplier=1.2
LossThresholdMultiplier=1.5
MinBuySignalScore=6.0
MinSellSignalScore=6.0
; 🎯 Limit Entry Settings
EnableLimitEntry=false
LimitEntryAnchor=0
LimitEntryATRFraction=0.25
LimitEntryExpiryBars=1
LimitEntryCancelOnFlip=true
; 🛡️ Signal Dampening Settings
EnableSignalDampening=true
MaxLosingPositionsSameDir=1
LosingPosScorePenalty=2.0
DrawdownThresholdPct=2.0
DrawdownScoreBoost=2.5
ConsecutiveLossesBeforeCooldown=3
ConsecutiveLossCooldownBars=5
; 🩺 Loss Management Settings
EnableLossManagement=true
MaxHoldingLossPositions=1
MinHealthScore=0.50
MaxAdverseATR=1.0
HealthTrendWeight=0.40
HealthRSIWeight=0.25
HealthATRWeight=0.25
HealthSwingWeight=0.10
HealthRSIBuyMin=48.0
HealthRSISellMax=52.0
HealthSwingLookback=25
HealthGraceBars=2
EnablePartialClose=true
PartialClose75Pct=0.30
PartialClose50Pct=0.60
PartialClose25Pct=1.00
EnableHealthSLTightening=true
SLTightenATRMultiplier=1.2
SLTightenMinHealthPct=0.60
EnableBreakEvenOnSpread=true
BreakEvenSpreadMultiplier=1.0
EnableVirtualSLReentry=false
ReentryRespectsNewBarGate=false
ReentryMinSignalPct=0.85
EnableProfitOffsetSL=true
ConsecutiveWinsRequired=4
MinOffsetProfit=1.5
; 🔀 Hedge Chain (Rolling Martingale Recovery) Settings
; OFF by design: a martingale contradicts this profile's capital-preservation goal.
EnableHedgeChain=false
HedgeTriggerATR=1.5
HedgeRequireSignal=true
HedgeMinSignalScore=6.0
HedgeAutoLot=true
HedgeRecoveryATR=1.0
HedgeLotMultiplier=2.0
HedgeMaxLot=0.02
HedgeRecoveryPct=100.0
HedgeRollMinProfit=0.0
HedgeCycleLevels=2
EnableHedgeCycleReset=true
HedgeCyclePartialPct=50.0
HedgeMaxCycles=1
HedgeMaxChainLossUSD=0.0
HedgeMaxChainLossPct=0.0
HedgeClearRootSL=true
HedgeTrailATR=1.0
; 🧮 Dynamic Lot Sizing Settings
EnableDynamicLots=false
EquityDropPercent=10.0
MaxEquityDropLotSteps=0
MinSignalStrengthForLot=10.0
LotStepSize=0.01
MaxLotSize=0.01
; 🏦 Equity Settings
EnableBasketStop=true
MaxBasketLossPct=3.0
MinEquityPercent=80.0
MaxDrawdownFromPeak=50.0
PauseMinutes=10
PauseMinutesMultiplier=2.0
MaxPauseMinutes=120
MaxMinEquityTriggers=5
ResetOnNewPeak=true
TargetEquity=0.0
MinimumEquity=20.0
; 📈 Take Profit Settings
EnableTakeProfit=true
TPInputType=0
TPValue=5.0
; 📉 Stop Loss Settings
EnableStopLoss=true
SLInputType=1
SLValue=0.5
; 💸 Trailing TP/SL Settings
EnableTrailing=true
TrailingEnableBreakEvenLock=true
TrailingSLOnProfitableOnly=true
EnableAdaptiveTP=true
EnableAdaptiveSL=true
TSInputType=0
TrailingDistanceValue=0.15
TrailingValueMultiplier=0.15
; 🤖 Robot Settings
MagicNumber=6926268
EnableDiscordAlerts=false
DiscordWebhookURL=
EnableTradingHours=false
TradingStartTime=00:00
TradingEndTime=23:59
EnableReports=true
SendReportEveryHour=1
EnableMarketCloseFilter=true
MinutesBeforeClose=45
EnableNewsFilter=true
NewsMinutesBefore=45
NewsMinutesAfter=45
EnableLeveragePause=true
EnableLogging=false