仕事が完了した
指定
below is the changes and format i need for my mt5 EA - aswell as ALL the below features, i need the ea too work so if running multiple pairs on the same account, they will all close down TOGETHER if max loss or profit target is hit.
--------------------- Equity protector settings ------------------------
Maximum Loss % (Based on equity) 0 *** IF HIT, EA WILL CLOSE ALL OPEN TRADES AND NEVER OPEN AGAIN***
Max Daily Running Loss (In currency) 0 *** IF DAILY RUNNING LOSS IS HIT, EA WILL AUTOMATICALLY RESTART NEXT DAY IF RESTART NEXT DAY FEATURE IS TRUE***
Profit Close % (Based on equity) 0 *** IF HIT, EA WILL CLOSE ALL OPEN TRADES AND NEVER OPEN AGAIN***
Restart EA if daily loss hit TRUE/FALSE
Time of restart (Hour) 2
Time of restart (Minute) 0
---------------------------------------------------------------------------------------------------------
Maximum Loss % (Based on equity)
Based on the difference of the initial starting balance VS the overall loss in equity.
Example;
Starting Balance = $100,000
Maximum Loss % Based on equity) = 10
We could lose $1000 a day for 10 days = $90,000 = Max loss hit
or we could loose $5000 in first day, then second day we have open loss of $5000 = equity now would be $90,000 = Max loss hit
When the account equity hits $90,000 EA will close ALL open trades on the account and EA (s) will NEVER turn back on.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Max Daily Running Loss (In currency)
Based on OPEN running loss in currency
Example;
Max Daily Running Loss (In currency) = 4500
When we have an open loss/open drawdown of -$4500 EA will close ALL trades & Restart next day.
We ignore closed profit, This is just based of OPEN running loss.
when running EA on multiple pairs on the same account, ALL EA's need to close down together if ''Max daily loss'' hits, then all restart at the same time the next day if the ''restart ea input is set to true''
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Profit Close % (Based on equity)
Based on the difference of the initial starting balance VS the overall profit made in equity.
Example;
Starting Balance = $100,000
Profit Close % (Based on equity) = 10
We make $1000 a day for 10 days = $110,000 = Profit close target hit
OR
we could make $9000 in first day, second day we make $2000 but we have -$2000 running loss (equity now would be $109,000) so we now wait for open loss to reduce to 1k OR to make an extra $1000 so equity would be $110,000 = EA close all open trades and NEVER turn back on.
When the account equity hits $110,000 EA will close ALL open trades on the account and ea 's' will NEVER turn back on.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Restart EA if daily loss hit TRUE/FALSE
Time of restart (Hour) 2
Time of restart (Minute) 0
Restart ea if daily loss hit = The ea will automatically turn back on and resume trading the next day if the daily loss is hit
time of hour and minute =
hour = 2
minute = 0 = ea will restart next day at 02:00