Работа завершена
Техническое задание
Please note - NO TIMEWASTERS! I have advertised this a few times and developers are very bad at answering after initially showing interest, I need someone that will communicate speedily.
The EA should check one of several indicators to make initial trade:
A breakout indicator where price moves in x seconds. Also another indicator to confirm the breakout. say if it moves $20 in 5 seconds only buy/sell if its trending that way. if it moves >$30 in 5 seconds it would buy/sell regardless of the trend.
MA Cross indicator
MA CHANNELS indicator - ie, options for OFFSET and Candle High and Low for two MA channels.
ICHIMOKU Indicator.
Stoch and RSI indicator - see below
STOCHASTIC
STOCH FAST-K PERIOD 20
STOCH SLOW-K PERIOD 3
STOCH SLOW-K MA TYPE EMA
STOCH SLOW-D PERIOD 3
STOCH SLOW-D MA-TYPE EMA
STOCH OVERSOLD THRESHOLD 13
STOCH OVERBOUGHT THRESHOLD 80
STOCH NECESSARY FOR BUY SIGNAL ENABLE
RSI
RSI PERIOD 9
RSI OVERSOLD THRESHOLD 32
RSI OVERBOUGHT THRESHOLD 80
RSI NECESSARY FOR BUY SIGNAL ENABLE
TSL ARM AT 1.75%
FOLLOW AT .25%
if conditions are right and it thinks that a quick profit can be made on a candle rising or falling, then it will make a trade.
Trailing would then start once it gets to a certain percentage from price of trade. Once it takes the profit then the cycle restarts. The trailing stop option can run off % from price and step, and also have the option to run off ma values, with option of using nrtr and linear. Also trailing would have an option for a break even and Multiple level profit locks - so say if it gets to 10 it would break even and if it gets to say 40 it will lock in 20. and could still go higher following with ma and then lock in more. This EA will give an idea of how it can work using nrtr, ma cross, MA Channel, linear, Parabolic etc - https://www.mql5.com/en/market/product/114
f the price goes in the opposite direction, then the recovery system starts, trailing is cancelled for the first trade and makes hedging trades at a PERCENTAGE away from price of original trade. The idea is for it to do this until it hits the TP in any direction and then ends all trades.
It MUST have a custom percentage option for each trade to be opened (from original first trade)
It MUST have a custom percentage option for closing all open trades after each trade is opened.
It must be also able to make two or even three trades in a row of the same type (like BUY) at different custom percentage. But normal use will be BUY / SELL / BUY / SELL / BUY for example, with the option to change any of these to BUY / SELL / BUY / BUY for example.
Each Lot size is customisable for each trade, but should also have the option to use % of balance too. It should be able to calculate also if there will be enough equity or margin to finish the whole cycle before starting. If it can’t then it should give a message to say.
Also please show on the chart the indicators used. Also show Current profit / loss (net - so please include commissions/swap fees), overall profit/loss, how many total lots used so far in cycle, how many buys/sells made so far in cycle
Also required:
I want the EA to be written for MT5
For the sub-cycle - A trailing option for all TP trades to have a trailing stop (with trailing step option), based off of the same trailing types as mentioned above (linear, MA, or simple percentage set by user). So use trailing TRUE/FALSE and if true then type of trailing and settings for such.
Once again - to repeat - I need the ability to set each additional trade at a different custom percentage from the initial trade price - so every trade will have a custom percentage at which it will open the trade.
If the recovery system starts to hedge - then each additional trade needs to have a custom percentage for setting TP where all trades would be closed.
Source code it to be handed to me over on completion. I will try and get the source code for the existing MT4 EA - but not guaranteed I will be able to get it.
This is to be completed asap. Preferably within 2 days.
Please see attached for current inputs I already have. It will help give an idea. It works similar to https://www.mql5.com/en/market/product/36151# but uses percentages. Changes above will make it even more customisable
Once cycle ends it can auto restart, or we can set a number of cycles to use, or timeframe to use it in. So for example - if it gets to Friday mid afternoon then for it to not enter any new cycles till Monday morning, and for it to just finish the one its on.