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.
類似した注文
Hi, I want to develop an EA using FVG method with certain swing conditions. I have my own set Swing Identification method which should be used in that. EA must work accordingly. I have also got few EAs developed by Freelancers using this platform but they are not supporting. So Please revert who are ready to provide support
Hello guys, I need a very good programmer to do EA buy/sell limit based on the strategy. The work you will have to do: - Coding the indicators to make them work together without any problwm. - Creating an EA based on the strategy - Constant contact - Setting indicators From my side you will receive: - permanent contact 24/h - constant assistance in solving problems - a well-paid job, adequate to do the work
Hey, I am looking for a programmer who is well experienced in the logic of a predator and can be able to modify our existing strategy as discussed with our project director, I am the manager in the company needed to hire top expert developer for this project, We already have this predator but wanted to add some much ideas to make it work as we envision, reach out if you can actually modify and add those ideas thanks
I would like to make this bot,so it can learn my trading patterns, and creat a market strategy and improve my candle stick trading, and market patterns with good clear graphics and chart patterns and a text communication box to be able to talk to bot about trades and bot can give replies in English
I want a simple robot made. I don't have any specific way I want the robot made, meaning martingale, hedge, etc I'll leave that up to you. As long as it's profitable. I will rit on a demo account before actually purchasing it
Develop a profitable MQL5 trading bot for MetaTrader 5. Support BTCUSD, XAUUSD, and GBPJPY pairs on the M1 timeframe. Implement any effective strategies/algorithms with flexible order types. Include take-profit (TP) and stop-loss (SL) settings. Apply risk management to limit 3% of account balance. Provide full source code upon completion
Hi, I'm a developer, and I'm looking for a freelancer to help me create a custom criterion in the OnTester function. I want this function to return the result of (Profit Factor - Z Score) . In other words, I need the OnTester function to calculate and return (Profit Factor - Z Score)
Hey, are you familiar with the trading software called PREDATOR? If yes, are you also familiar with the automated reversal fitcher? I really need to get connected with someone who's well skilled in coding to help me out, thanks
I need 2 robots that copy mt5 signals to mt5. 1 master robot that will be installed on an MT5 platform and will send entry, exit and pending order signals 1 slave robot that will be installed on another platform that will receive the signals The slave robot must also have the option to reverse orders and change the batch
Hi all talented coders among you. Very simple ask. enum Strats { RSI_Overheat = 0, //RSI Overheated CCI_Overheat = 1, //CCI Overheated Stochs_Overheat = 2, //Stochs Overheated NONE //No strategy } input Strats S1 = 0; input Strats S2 = 2; input Strats S1 = 3; //use default inputs for these built in indicators input RSI_OH = 80; input CCI_OH = 100; input Stoch_OH = 80; Declare handles Populate buffers Function for RSI