仕事が完了した
指定
The EA will execute trades based on the Simple Super Trend and Advanced Fractal indicators while incorporating custom risk management, re-entry, and trailing stop logic. It will only operate on the timeframe it is applied to.
Indicators Used
🔹 Simple Super Trend (Entry Signal & Trend Confirmation)
- Buy Signal: Blue arrow appears on a closed candle+ Green trend line.
- Sell Signal: Red arrow appears on a closed candle + Red trend line.
🔹 Advanced Fractal (Stop Loss, Trailing Stop, Re-entry, Layering)
- Blue Fractal: Used for SL & TSL in Buy trades.
- Red Fractal: Used for SL & TSL in Sell trades.
Entry Rules
✅ Buy Entry Conditions:
- Look for a Blue Arrow from the Super Trend indicator below a closed candle (Signal Candle).
- The Super Trend line must be green.
- Wait for a Confirmation Candle where the body closes above the high of the Signal Candle.
- If only the wick breaks above, wait for a subsequent candle body to close above the highest wick.
- Open a Buy Trade immediately after the Confirmation Candle closes.
✅ Sell Entry Conditions:
- Look for a Red Arrow from the Super Trend indicator above a closed candle (Signal Candle).
- The Super Trend line must be red.
- Wait for a Confirmation Candle where the body closes below the low of the Signal Candle.
- If only the wick breaks below, wait for a subsequent candle body to close below the lowest wick.
- Open a Sell Trade immediately after the Confirmation Candle closes.
Stop Loss (SL) Rules
📌 SL is set based on the latest Advanced Fractal + a user-defined buffer (input setting in pips/points).
✅ Buy Trade:
- The SL is set at the low of the most recent Blue Fractal minus a custom buffer.
✅ Sell Trade:
- The SL is set at the high of the most recent Red Fractal plus a custom buffer.
📌 The SL buffer is adjustable via input (e.g., 5 pips, 10 pips, etc.).
Trailing Stop Loss (TSL) Rules
📌 When enabled, the SL moves to the latest fractal level as the trade progresses.
✅ Buy Trade:
- The SL moves to the low of the most recent Blue Fractal minus a custom buffer.
✅ Sell Trade:
- The SL moves to the high of the most recent Red Fractal plus a custom buffer.
📌 The TSL buffer is adjustable via input.
📌 TSL can be turned on or off via input.
Exit Conditions
A trade will close if any of these conditions occur:
- An opposite confirmation appears (New Buy Signal closes a Sell trade & vice versa).
- Stop Loss (SL) is hit.
- Trailing Stop Loss (TSL) is hit.
Re-Entry Conditions (Optional Feature)
📌 Re-entry happens only if the trailing stop loss was hit.
📌 Re-entry can be turned on or off via input.
✅ Buy Re-Entry:
- After the TSL is hit, enter a new Buy trade when a candle body closes a few pips above the high of the most recent Red Fractal candle.
- The Super Trend line must still be green.
✅ Sell Re-Entry:
- After the TSL is hit, enter a new Sell trade when a candle body closes a few pips below the low of the most recent Blue Fractal candle.
- The Super Trend line must still be red.
📌 the new SL will follow the standard SL rules.
Layering Conditions (Optional Feature)
📌 Layering adds extra trades only when the current trade is in profit and is being trailed.
📌 Layering can be turned on or off via input.
✅ Buy Layering:
- A new Buy trade is opened when a candle body closes a few pips above the high of the most recent Red Fractal.
- The SL for this trade follows the normal SL rule, with a separate input for the buffer.
✅ Sell Layering:
- A new Sell trade is opened when a candle body closes a few pips below the low of the most recent Blue Fractal.
- The SL for this trade follows the normal SL rule, with a separate input for the buffer.
📌 Separate Risk % input for layered trades.
📌 Separate Risk-to-Reward (R:R) input for layered trades.
Risk Management & Lot Sizing (All Inputs Adjustable)
✅ Lot Size Options:
- Manual Lot Size (Fixed lot size input).
- Auto Lot Calculation (Risk % per trade)
- Lot size is calculated based on SL distance & risk percentage of account balance.
- Use Minimum Lot Size (if enabled).
✅ Risk-to-Reward Ratio (R:R) Input:
- Manually set the target R:R (e.g., 1:2, 1:3, etc.).
- If no R:R target is set, trades will run until TSL is hit.
✅ Partial & Full Trade Closure (Optional Inputs)
- Partial Close: Close a percentage of the position at a defined R:R level.
- Full Close: Close the entire trade at a specified R:R target.
- After auto-closing at R:R, the EA will not immediately re-enter the same trade direction (must wait for the opposite signal).
📌 Partial/Full Closure settings can be turned on or off.
📌 Risk Management settings are fully adjustable via input.
Additional Features
✅ Trading Mode Selection: (User Input)
- Buy Only
- Sell Only
- Both Buy & Sell
✅ Account Restriction:
- The EA will only run on a specific MT5 account (defined by the user).
✅ Manual Intervention Allowed:
- Users can manually adjust SL, TSL, or close trades without disrupting the EA.
✅ Adjustable Pip/Point Inputs for:
- Stop Loss Buffer
- Trailing Stop Buffer
- Re-Entry Condition
- Layering SL Buffer