Работа завершена
Техническое задание
First time on here, so apologies if not all details are clear. Happy to discuss further as required. I need an Expert Advisor for MT4 that can place quick pending orders by clicking on the chart with the curser at the desired entry and stoploss prices. The concept is to have 3 buttons that control the order located in the top right hand corner of the chart.
Inputs:
Amount of Account Balance to Risk: 1.0% default
Set Take Profit Target? True/False - default true
Reward/Risk Ratio: default 2.0
Set Expiry? True/False - default false
Expiry Time: 60mins
Buttons:
Button 1 - switches between "Buy" & "Sell" pending orders.
Button 2 - switches between "Stop" & "Limit" pending orders.
Button 3- switches between "Disabled" & "Order" depending on Autotrading on/off - colour changes depending on Autotrading on/off. Clicking Button 3 begins the placing of pending order.

Text under button 3 gives the next instruction:
- "Autotrading Disabled" or "Ready to Trade" - depending on Autotrading status
- Once button 3 is clicked, "Click Entry Price" text is displayed underneath. If click is at a price too high for a Buy Stop (for example) - warning messagebox "Price selected is Invalid", try again.
- Then text underneath Button 3 changes to "Click Stop Loss" - the second chart click places the stop loss, if too high/low warning messagebox "Stop Loss selected is Invalid" try again.
So 3 clicks to place a trade; first click on the order button, second click on the chart to define entry price, third click on the chart to define stop loss. Hit escape to exit the process.
Position sizing calculated by the entry to stop loss distance and take profit defined by true/false and Reward/Risk settings on input. It will be used on Forex, Indices & Gold - I've historically had problems automating position size and stops on indices and gold. I'm not sure what is normal on the Freelance arrangement but would like both .mq4 and .ex4 files for my learning. Happy to discuss details further.