仕事が完了した
指定
hello developers,
below is the detail requirement of the EA
it is a martingale EA.
- when we load the ea, it will open a buy and sell position at the same time.
- the ea will only open new position on new candle base on the timeframe we load the ea.
- the ea must be independent since we will load the ea to multiple pair.
- ea must support 4 and 5 decimal brokers
- when we load this ea in strategy tester or running it live. make sure the ea display the open and close line on the chart
EA settings:
-magic number : xxxx // this is so that the ea will work independently and we can run the ea on multiple pair
-max buy position : xxxx // ea will limit the opening of the positions based on this settings
-max sell position : xxxx // same as above
-take profit in usd : xxxx // ea will close all buy or all sell positions based on total usd in profit . input 0 to disable this setting
-take profit in % : xxxx // ea will close all buy or all sell positions based on % profit . input 0 to disable this setting
-take profit in points : xxxx // ea will close all buy or all sell positions based on total profitable points ( all profitable points - all losing points =
total profitable points ( must be profits in points value)) . input 0 to disable this setting. ea will calculate and set the TP levels for this setting.**// ea will not close position in loss. ea will only close all buy positions if total buy positions are in profits. same goes to sell positions
**// please include all other calculation like spread, commissions, swap
-initial lot size : xx // starting lot when ea open positions
-lot multiplier : xx // ea will multiply the lot for next open positions . input 0 to disable
-pips difference : xx // the length between each open positions in points
-pips difference multiplier : xx // the length value will be multiply on each open positions . input 0 to disable .
// example. if pips diff = 100 and pips diff multiplier = 2 . ea open 1st sell position at 1.10000. then the 2nd sell position will be open at 1.10100, 3rd sell position is at 1.10200. 4th sell position is at 1.10400, then 1.10800
// example. if pips diff = 100 and pips diff multiplier = 0 . ea open 1st sell position at 1.10000. then the 2nd sell position will be open at 1.10100, 3rd sell position is at 1.10200. 4th sell position is at 1.10300, then 1.10400
// lot multiplier and pips difference ,ultiplier must support from 1 to any amount including for example 1.05, 1.15 , 1.16 , 2.1 and so on
-max spread : xx // ea will not open position if spread value is more than the input in the setting
-close all buy and sell positions if drawdown exceed % : xx // if total drawdown exceed the input setting, ea will close all open buy and sell positions. ea will pause trading ( ea will not open new positions) until cooldown time ends
-cooldown time : xx // value in minutes. ea will open new buy and sell positions when cooldown time ends.
-session panel : true/false // if true, ea will load display panel of sessions on the chart ( top area). it will show the sessions of sydney,tokyo,london,newyork on the chart
Display panel
// display panel can be moveable drag and drop in the chart
// output in the panel. i will send you 2 ea with display panel. so you can just copy the codes from the 2 ea and merge it here