Definitions:
Master Order – Any order opened by F8_V8.0_FL.mq4
Hedge Order – A Hedge Order is an order open when a Master Order profit < hedge_at.
Orphan Order – A Hedge Order whose Master Order has been closed.
Hedge Order is an order in the same Symbol in opposite direction.
Example: If Master Order is BUY Hedge Order is SELL.
How it works
When Master Order reaches hedge_at value a new Hedge Order will open.
The Hedge Order is closed using the following parameters.

============= Changes I want - Parameters - Begin ============================

use_hedge – Boolean – If TRUE use Hedge system in EA F8_V8.0_FL.mq4
Check – string – (e_sort) – choose between money or points.
hedge_at – Double – When profit Master Order reaches this value a new Hedge Order will open.
close_at_profit – Double - When the Hedge Order's profit – positive value - reaches this value, this order will be closed.
Note that if profit_master_order < hedge_at a new Hedge Order will be opened. This is normal.
close_at_lose – Double - When the Hedge Order's profit – negative value - reaches this value, this order will be closed.
Note that if profit_master_order < hedge_at a new Hedge Order will be opened. This is normal.
Lot_multip – Double – Lot multiplier.
All_profit_close_all – Double - When Equity reaches this value all open orders – Masters and Hedge - will closed.
Close_Orphan – Boolean – If true Close Hedge Order when respective Master Order is closed.
============================= Changes I want - End ==========================
====== Place code of EA F8_V6.0.mq4 into EA F8_V8.0_FL.mq4 ======
F8_V8.0_FL.mq4 use 2 MAs to open and close Main orders. Others orders can open using StepUp and StepDown parameters. it works fine. Nothing to do.
EA F8_V6.0.mq4 open 2 Main orders – BUY and SELL - at start and open new order when each Main order is closed. It works fine.
==== What I want in F8_V8.0_FL.mq4 ==================
============== Create a new parameter =================================
open_2_main – Boolean – If False system use 2 MAs to open Main orders. It already works fine. Nothing to do.
If True system use code that run in EA F8_V6.0.mq4 to open 2 Main orders. This code not use PSAR indicator.
========================================================================================
You can see how the Hedge System parameters work in EA Eye_V3.4.1_FL.mq4
This EA does not work correctly, serving ONLY to demonstrate the parameters.
相似订单
Code the indicator to MT5 EA, include all the inputs variables and values Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Allow indicator to show on strategy tester Lot size adjustable Max spread in points (0=disable) Use stop loss circle true or false Stop loss circle in points adjustable Use stop loss true or false Stop loss in points (adjustable) Take profit true or false Use
Hi All, Looking for a ready to TEST and USE EA which makes $20 per day with initial deposit of $100 only with controlled drawdown and no trades during news time. Please note: Budget is fixed and no trial and hit error for testing and developing EA as I do not have time. I will select the developer only after the TEST is successful only, do not force to select and make the payment and payment will be done once I am
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
Need Grid + Martingale Type Averaging EA ( Directional Buy or Sell entry then uses grid/martingale for Recovery if need ) * Must Work Buy + Sell Both Side ( Do not Open Buy or Sell at Once Let the Previous Order Close ) * Min Lot size 0.01 * Max Lot Size 1 ( Can be Edited to maximum ) * Auto TP Shift * Auto Averaging Position also Auto Shift TP as per Averaging * After Averaging Close the Trade in Maximum Profit (
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
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
Looking for an MT4/MT5 independent risk-management service or system that can monitor and automatically close trades opened and managed by another trader’s EA. The existing EA continuously removes/overrides manually added Stop Losses and may also override SLs placed by another EA. I need a solution that does not rely on modifying the existing trade or placing a Stop Loss. Instead, it should independently monitor each
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I am looking for an experienced trader, preferably a manual trader, with a minimum 12-month verifiable live trading track record. Requirements: - Target: Up to 10% monthly return - Maximum risk/drawdown tolerance: 20% - Maximum trade duration: 5 hours - No Martingale - No Hedging - No grid or other high-risk strategies - Minimum 12 months continuous track record - Track record must be independently verifiable through
Hello! I'm looking for an experienced programmer to help me fix bugs in NEOLOGICA, PROFIT. The code is written, without errors or warnings, but not everything works correctly. Please help me. I'm looking for a programmer for a long-term collaboration, so that this project can open doors to other interesting projects. :) You need to have access to this platform, but I think that's obvious