Работа завершена
Техническое задание
We would like to be able to enter a position manually and add a comment that is recognised by the expert advisor. This will then automatically put the pending orders for 3 positions giving us a total of four positions. The expert advisor will automatically work out the lotsize based on our % risk of account and the stoploss that is used based on ATR levels.
The expert advisor should work as per the following. We place a manual trade with a comment saying “manage”. The expert advisor recognises this straight away and then automatically plots the stoploss of 2 ATR + the current spread. It will then automatically plot the 3 added positions at one ATR away each time it moves in our favour. So we would have our initial entry then our 1st added position will be 1 ATR in our favour the second would be 2 ATR in our favour and the 3rd would be 3 ATR in our favour.
All of these positions will have a 2 ATR stoploss. However when the first added position gets entered, the manual trade stoploss will be halfed. It will then trail at 2 ATR behind market price (2ATR being the same level plotted as initial stoploss) When the 2nd added position is triggered the 1st added position stoploss will be 1/2 ‘d as well, and then will trail by 2 ATR behind market price. When the 3rd and final added position is triggered, it will move the stoploss of the 2nd added position to ½ risk as well, whilst this is going on all the positions should naturally trail behind market price by 2 ATR.
IF the initial manual triggered trade with the comment “ manage” hits its stoploss it will cancel the pending orders for that particular trade. All of the trades should work out the risk based on account size and stoploss size per trade. It should work on all currencies and metals including WTI which is crude oil. This should work on all time frames.
We also want it to show on screen the information of the expert advisor such as current % open loss/profit. And a popup Alert if any of the pending orders get triggered.
I have explained this as in depth as possible its a simple expert advisor, if you don’t understand do not bid on this. We have attached a MOCK expert advisor that is TOO buggy to use has loads of errors and we would like a fresh expert advisor made. Please meet the deadlines or do not bid. If you miss the deadline we will cancel the job.
Below are the entry Settings.
Inputs needed
Order_To_Copy= Manage
Risk%ofaccount= True or False
Risk%ToUse=0.5
Lotsize=0.0
ATR-Period=20
Intial-StoplossATR=2.0
StoplossATRStep=0.5
UsetrailstoplossATR= True or False
TrailStoplossATR= 2.0
Trade-Management
Trade-2-=True or False
Trade2AddatATR=1
Trade3= True or False
Trade3addatATR=2
Trade4= True or False
Trade4addatATR=3
Showinfo=true