I need a basic MQL4 indicator & expert advisor, quite easy for someone with experience in coding EA's. I struggled to give as much info as possible in the description to avoid misunderstandings & have everything clear right from the start. I require ALL the details to be respected & the EA to work precisely according to the strategy. Will be available for consultation before starting, if needed. Thanks!
**Entry Signal** = EVERY TIME when 2 indicators go from having different colors to having the same color (either by one of them changing to the color of the other or both of them changing at the same time). A trade is made of 2 lots.
If any, close ALL lots in the opposite direction compared to the signal (for a long signal close all shorts & viceversa)
Take a trade - Open 2 lots (user-defined lot size) according to signal. After entry, the EA should set a SL, TP1 & TP2 levels, all user-defined variables.
**Partial Close** = every time when any of the indicators changes color (opposing the trade)
Close 1 of the open lots of the active trade (if any). If a trade still has 1 lot open when another signal in the same direction occurs, the new trade should be taken normally according to the entry rules, while the remaining lot of the old trade should be managed separately - either closed at a fresh "partial close" signal, at an opposing signal, at TP1 or at SL.
**I need a user-defined "Trail"** (example: 50). When a trade is in profit with the value of this variable (trade reaches +50) SL is moved to entry level+2pips profit (+2). When the second lot advances another 50 pips & reaches again the trail value (+100) SL is moved again 50 pips up (+52).
BUT THE INITIAL STOP MAY BE DIFFERENT FROM THIS TRAIL, SO THE TRAIL SHOULD NOT FOLLOW THE ORIGINAL SL, IT SHOULD FIRST SIMPLY CHANGE IT TO BREAK EVEN LEVEL +2PIPS BUFFER.
**Example for trailing stop:**
@ entry SL is 100 pips, Trail is 50 pips. Entry is [url removed, login to view], SL is 1.2950.
At +50pips profit ([url removed, login to view]) SL moves up 102pips (not 52) to 1.3052.
Then at +100 profit ([url removed, login to view]) it moves up 50pips to [url removed, login to view] and stays there until it gets hit or TP2 is hit.
I need the indicator/EA adaptable easily to 4 & 5 digits brokers (user-defined variable). It should also work on any time frame by dragging the EA on the respective chart.
The indicator should display 1) the entry signal with an arrow (color and size user-defined), 2) the partial exit with an X sign (color & size user-defined) and 3) the SL, TP1, TP and trail with 1cm wide horizontal lines (color user-defined).
I need the indicator/EA to work PRECISELY like in this description, whatever that means technically. I expect the coder to make all necessary adjustments until the results of my paper testing are precisely the same as what I get when testing with the EA.
NOTE: I DO NOT HAVE THE CODE FOR THE 2 INDICATORS (MQL4 FILE), JUST THE .EX4