EDIT AN WORKING EA : Copy one function from one EA to the other (code provided ) and add a lot multiplication function after a certain amount of pips

MQL4 Experts

Specification

Hi 

As you will see the EA opens multiple buy and sell orders at the same level with different TP's a set distance apart .There are no hard SL or anything.Just TP's and the I want the EA_Version_2 to have the Profit and Loss functions from EA_Version_8 

I want you to copy the following functionsa from one EA to the other.So basically just need to find the function and copy it over as the EA was coded by the same guy and has the same basic functionality.The Version_8 just uses a ALR in it and Version_2 doesn't

//==========================================================================================

extern string Total_Profit_Tool="                ------ Total Profit Setting ------";

extern bool Enable_Total_Profit=false; 

extern double Total_Profit=80;


extern string Total_Loss_Tool="                ------ Total Loss Setting ------";

extern bool Enable_Total_Loss=false; 

extern double Total_Loss=80;


extern bool Enable_AutoRestart=false;

//============================================================================================

 

 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Then I want to you to add the following to the New_Version_2 with the above settings included 

Here is the example of what I want to happen :

When the market is trending   down all the sell orders TP's will be hit leaving the buy orders open.I want the EA to increase the size of the Buy orders by a lot factor of X every set amount of pips it moves away from the first buy order placed.

 So for example :

 

If the first order opened and price move by say 100pips away from that price I want the EA to start placing buy orders at whatever the original order * the lot factor BUT keep the sells the same size ( Please ask if you need more info about it )   

 

 

So if the EA were to plot order every 20 pips and I have lot_Factor of 2  set to take effect every 100pips it would place 5 orders of the same buy size 5 time as the price moved lower and then after going down 100 pips it would only double the buys till it moved down another 100pips and it would double the buys again but leaving the sells at the same volume

 

 There is a pic attached to see what it looks like when trading 

 

 

Responded

1
Developer 1
Rating
(5)
Projects
19
26%
Arbitration
6
17% / 83%
Overdue
6
32%
Free
2
Developer 2
Rating
(42)
Projects
70
43%
Arbitration
6
33% / 50%
Overdue
19
27%
Free
3
Developer 3
Rating
(40)
Projects
58
22%
Arbitration
10
10% / 70%
Overdue
13
22%
Free
Similar orders
NADGIO 30+ USD
I need a developer that can convert two Buy and Sell indicators into a trading robot. the indicators has an input parameter, this should be made available for adjustment. Features 1. Break Even 2. Trailing Stop 3. Global TP and SL 5. Time Filter 6. News Filter (If possible)
I need a developer who can convert trading view indicator in to mt5 expert advisor with some modifications. The other details will shared once chosen the developer. Looking for someone who has good knowledge of forex, mql5,and pine script
Hello, i hope you all well. I am looking or a good developer who can understand SCM/ICT concepts so that can modify an existing EA to trade against that. The EA is already there with code and it was trading based on Breakouts zones. Now i want the EA to be modified so that it trades based on inducements and liquidity. The EA should use Pending orders on those zones instead. I do not want new developers to apply
EA for index trading using ATR % of 5day 1 Give Average true range for the past 5 day so 5day ATR also for ref use the indicator "atr value indicator " my entries will be based on a % of this NO. NO. TO BE SHOWN IN TOP CORNER The Expert im looking for is 1.AT X TIME (ie 8:am ) 2.IF price moves X % of the 5 day atr( either up or down ) within Y TIME (IE 5MINUTES ) (if PRICE moves say 30% of the 5 day atr down i buy or
I want to create an Expert Advisor (EA) that can be set to open either buy or sell trades, depending on user preference (buy-only or sell-only mode). The EA will initiate trades when the market reaches (or is equal to or less than) a specified DeMarker value (e.g., DeMarker value = 0.3). The user will set both the DeMarker value for starting trades and another DeMarker value to stop opening new trades. - **DeMarker
Create a mql5 expert advisor for forex/commodities trading based on modified candlestick formation. If modified bullish engulfing appears, EA will open buy position at closing of last candle area with martingale until opening of last candle area and set stop loss at open last candle area. Trailing stop appears when half of all buy positions running profit then when all buy positions running profit, and so on. If
I want to grid based robot such like CM Manual Grid for mt 5 Snap of that attached. like The expert Advisor helps set a network of pending orders and collect profit from any price movement. I can use it to trade many grid strategies. I can also use it to track open positions. "Buy Stop — - open a network of pending stop orders for sale "Sell Stop" - open a network of pending stop orders for purchase "Buy Limit" -
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script
Hi, I would like to have an EA to open trade when 2 time frame met the condition. Need to have ability to select the TF combination, Example: H4 with H1, H1 with M15 etc. PS: Able to lock EA with "Name" or "Account Number" PSS: Able to set trading session for specific pair. Example: US session = EURUSD For Buy #1 Big TF Candle Closed Outside Top BB #2 Big TF Candle touch low MA #3 Got to Smaller TF Candle touch &
I have thee best concept period, hence i got less to say. Actions speaks louder then words. Sign up and lets get started as there is a big world that awaits all your your adventures

Project information

Budget
10 - 30 USD
For the developer
9 - 27 USD
Deadline
from 1 to 3 day(s)