Работа завершена
Техническое задание
1. It needs to have a column dedicated to profit/loss actual live results of open trades. I prefer for it to show points rather than money for each individual pair of currency exactly as it is shown on MT5 open trades window. Also, at the bottom it has to show total profit/loss in USD. Again exactly as it is shown on MT5. An exact copy of the column from MT5 to the scanner screen.It has to update as fast as it does in mt5.
2. I need to add a function where it will compare in real time the total live P/L of ALL open trades as a percentage of the margin of all open trades. Example, profit $1000 and margin $500 then percentage is 200%.
3. Next, I need it to have a field in the scanner where I can set a desired percentage number, for example 150%. The robot should close all open trades upon reaching 150% profit in relation to the current margin. Example, margin = $1000 then close all trades when profit = $1500. When it is set to 0% that means this feature is inactive.
Sometimes the profit surges to that level and I would like to exit at that point as most of the times the prices will reverse soon after.
Care should be taken that, after the "close all open trades" is triggered, it should not stop before 100% of all trades are closed;
After this action, the robot should go into, NON trading, scanner mode only, as it is not desirable by me to continue trading on that day after such a price move.
4. Install 3 new indicators in the scanner (in a manner consistent with the 2 indicators already installed)
a. "Adaptive Laguerre filter 2"
b. "3d_oscillator_htf_signal"
c. "Super_Trend_htf" - It is different than Super Trend Dot.