simple MT5 trading tool

Job ID: 34072934

Budget: $30 – $100 USD

I need sb to program a simple MT5 trading tool. here is the description:

1. it should be in the form of an EA in MT5.
2. it is able to place pending orders when I draw the Fibonacci tool on any chart regardless of brokers or timeframe. however it should wait until I change the description of the Fib tool to the exact string "AS" or "as" before actually issuing the orders. this description will be modified by the EA after successfully placing the orders, so as to keep a record of important order info, and also to prevent the EA from repeatedly issuing the same orders over and over again.
3. pending buy order entry price is at the 100% line of the fib tool, stoploss is at 0% line. vice versa for pending sell order.
4. pending buy order should be a buystop order, if the calculated entry price is above current price, otherwise it should be a buylimit order.
5. pending sell order should be a sellstop order, if the calculated entry price is below current price, otherwise it should be a selllimit order.
6. it should be able to calculate the correct position size based on an external customizable MaxDollarRisk parameter, if MaxDollarRisk is greater than 0. MaxDollarRisk is the maximum amount of dollar I'm willing to risk for each and every trade placed by the EA. for example, if MaxDollarRisk=1000, for buy orders, the EA should make sure that the traded pair's pip difference ( entry price - stoploss price), multiplied by the pair's pip value, multiplied by position size should not exceed 1000 dollars in value. vice versa for sell orders.
7. it should be able to calculate position size based on an external customizable MaxPercentRisk parameter, if MaxPercentRisk is greater than 0. MaxPercentRisk controls the amount of dollars I"m willing to risk for each and every trade. but instead of a fixed dollar value, it calculates the value accroding to my current account balance. for example, if my account balance is $10000, and the MaxPercentRisk is 2%, then the EA should make sure that each trade it placed should never risk more than 200 dollars in value.
8. it should be able to split the order into proper parts if an external customizable PartialOrder parameter is greater than 0. if the value of PartialOrder is less than or equal to 1, then the EA should place the complete position in one trade. for example, if the EA calculates that the correct position size is 3 lots, then it should place one trade with 3 lots. however, if the value of PartialOrder is greater than 1, for example, partialorder = 3, then the EA should be able to split the complete order into 3 equal parts. for the same example as above, the EA should place 3 separate 1 lot order instead of a single order with 3 lots.
9. it should take into account the current spread before doing the calculations.
10. it should work properly on multiple charts of different forex pairs at the same time.
11. it should be able to show visual marks of past trades, this function can be turned off with an external parameter. please show past trades with an arrow at entry and a line connecting entry point and exit point. up arrow for buy orders and down arrow for sell orders, green line for profitable trades, and red line for trades with a loss.
12. I want the .mq5 file and will compile it myself.

this should be a very simple task to an experienced programmer, if you are interested please contact me.
Related categories: Metatrader