This information outlines each configurable enter in Luna Algo, defined utilizing the enter feedback precisely as they seem within the code. These are the official subject descriptions proven inside MetaTrader, serving to merchants perceive and regulate the EA with confidence.
Stay sign: myfxbook.com/members/SDNT/luna-algo/11593841
LunaAlgo MT5: https://www.mql5.com/en/market/product/142826
My private channel: https://www.mql5.com/en/channels/sdnt_channel
📌 Buying and selling Symbols & Identifiers
-
Pairs to watch for commerce execution – XAGUSD,XAGAUD,XAGEUR
Outline which silver-related pairs the EA will scan and commerce. Separate every pair with a comma. -
Technique reference ID for managing trades
A singular numeric identifier used to tag trades, useful for inside administration and distinguishing a number of EA cases. -
Remark tag to label trades on chart
Textual content string that may seem because the touch upon all orders positioned by Luna Algo for straightforward identification in commerce historical past or chart.
⚙️ Execution Situations & Unfold Guidelines
-
Threshold used for volatility comparability
This worth helps decide when the market is sufficiently unstable for a commerce sign. -
Max trades allowed concurrently
Limits the variety of trades Luna Algo can open on the identical time to handle publicity. -
Most unfold allowed when opening trades
The EA will skip commerce entries if the present unfold exceeds this worth (measured in factors). -
Commerce path choice
Select whether or not Luna Algo ought to open Purchase solely, Promote solely, or each Purchase and Promote trades.
💰 Cash Administration Settings
-
Methodology to compute lot measurement per commerce
Choose how lot measurement is calculated: mounted measurement, primarily based on steadiness, % threat, or particular financial worth. -
Share of account to threat
If utilizing percent-based lot sizing, this defines what portion of your steadiness is in danger per commerce. -
Mounted lot measurement for each commerce
Use this if the mounted lot measurement possibility is chosen. The identical quantity is used for each order. -
Lot sizing relative to steadiness
Used when the lot measurement is tied to account steadiness (e.g., 0.01 tons per $1000). -
Various lot sizing primarily based on mounted cash
Use this quantity to threat a particular financial worth per commerce when utilizing money-based sizing. -
Cap on largest commerce quantity allowed
Prevents the EA from opening trades above this lot measurement, even when threat logic permits it. -
Minimal allowable commerce quantity
Ensures that commerce quantity does not fall beneath your dealer’s minimal or your required restrict. -
Lot measurement discount proportion after loss
If set above 0, lot measurement is decreased by this % after a dropping commerce, helpful for restoration or capital preservation methods.
⏰ Time Window & Session Guidelines
-
Begin time for buying and selling session
The hour and minute (dealer/server time) when the EA begins buying and selling every day. -
Cease time for buying and selling session
The hour and minute when the EA will cease initiating new trades. -
Allow Monday trades
Toggle on/off to permit or block trades on Monday. -
Allow Tuesday trades
Allow or disable trades on Tuesday. -
Allow Wednesday trades
Allow or disable buying and selling operations on Wednesday. -
Allow Thursday trades
Management whether or not Thursday trades are allowed. -
Allow Friday trades
Choice to permit or limit buying and selling on Fridays, which are sometimes unstable or low-liquidity.
🛑 Cease-Loss / Take-Revenue Setup
-
Determines how SL/TP values are set
Choose between static or dynamic threat dealing with. Dynamic adapts to market circumstances. -
Mounted SL distance in factors
The variety of factors used for a static cease loss if dynamic threat mode is off. -
Mounted TP distance in factors
The variety of factors used for a static take revenue. -
Add-on SL distance
Provides further pips to SL, whatever the base worth, for buffer or volatility safety. -
Add-on TP distance
Provides further pips to TP, giving the commerce extra room to succeed in revenue goal. -
Activate SL capping function
When enabled, SL is forcibly restricted to a predefined most, even when regular logic permits extra. -
Max allowed SL in pips
Defines the higher restrict of how far a cease loss might be, stopping outsized threat. -
Modify tons if SL is above max threshold
When enabled, EA robotically reduces commerce measurement if SL is bigger than allowed.
🧪 FTMO/Problem Mode Configuration
-
Add random pip offset to SL/TP
Barely alters SL/TP values to forestall dealer or prop agency detection. -
Every day max financial loss earlier than halting
The EA stops buying and selling for the day as soon as this greenback loss restrict is hit. -
Max dropping trades allowed per day
If this variety of dropping trades happens in a single day, buying and selling halts till the subsequent day. -
Bars to pause after commerce loss rely hit
Quickly stops buying and selling for this many bars if the each day loss threshold is reached.
🔄 Commerce Administration Logic
-
Restrict to at least one place per instrument
Prevents a number of trades on the identical pair on the identical time. -
Minimal spacing between trades on identical pair
Ensures a buffer (in factors) between a number of trades to keep away from over-clustering. -
Allow hedging functionality
If enabled, permits Purchase and Promote positions to coexist on the identical pair.
⚠️ Auto Shut on Threat Limits
-
Max drawdown % allowed
Whole drawdown (as % of steadiness) that triggers emergency commerce closure. -
Pressure shut all trades at max drawdown
If enabled, all positions will probably be closed as soon as drawdown exceeds the outlined max. -
Cease buying and selling if this each day DD% is hit
If the account experiences this % of each day drawdown, the EA will halt buying and selling for the day. -
Pressure closure when each day loss restrict hits
If enabled, EA closes all open trades as soon as the each day financial or loss rely restrict is reached.
🧲 Trailing Logic Configuration
-
Toggle for trailing function
Permits or disables the trailing cease performance. -
Select trailing methodology
Choose between fixed-distance or ATR-based trailing. -
Clear take revenue after trailing is engaged
If enabled, take revenue is eliminated as soon as trailing begins to let earnings run.
🧩 Partial Exit & Trailing Settings
-
Take partial revenue, path relaxation
Shut a portion of the commerce when in revenue and handle the remaining utilizing trailing. -
Portion of commerce to shut at trailing begin
Share of the commerce to shut as soon as trailing is activated (e.g., 50%).
📏 Mounted Distance Path Parameters
-
Pips to activate trailing
Trailing begins solely after this a lot revenue (in pips) is reached. -
Distance between SL and worth
Defines how far the cease loss will path behind worth as soon as trailing is lively. -
Minimal transfer to replace trailing SL
Trailing SL is barely moved when the value advances this many pips previous the final replace.
📊 ATR Adaptive Path Technique
-
Interval for ATR trailing calculation
ATR lookback interval used for dynamic trailing cease distance. -
Timeframe to calculate ATR
Choose which chart timeframe is used to measure ATR for trailing. -
Multiplier used for ATR trailing
Defines how far the trailing SL is positioned from worth utilizing the ATR worth (e.g., 1.5 × ATR).
✅ Abstract:
These inputs enable most flexibility in configuring Luna Algo for various brokers, market circumstances, and buying and selling kinds—whether or not you are scalping silver, making ready for a prop agency problem, or managing threat tightly.
In the event you’re not sure the best way to regulate these, ship a personal message for setup steerage or optimization assist.