Trabajo finalizado
Tarea técnica
Rules and confluences of the order panel
1. C.T. Frame, is the period chosen for calculations
2. N.OfBars, is the amount of candles for calculations
3. Correlation, if I type -80, it means that I will only work on pairs with negative correlation, (less than that the signs must be ignored).
4. The yellow START button.
Every time you have confluence in 2 pairs, as in this example of GBPUSD/USDJPY, with 82%, the signal with the pairs should appear respectively within the windows, and when you click the START button with "double click", have to open short in 2 orders simultaneously (this following the drop box button rule).
And if I want to make an average price later on, I just double-click again on the START button.
5. CLOSE ALL ORDERS button, if I want to close all orders at any time, just make a “sequential triple click”, and all orders will be closed.
6. The red “Auto” button, for example if I type in the green field 0.35, every time the set of orders (GBPUSD/USDJPY) gives a profit of 0.35% equivalent to the account balance, then orders for these pairs are closed automatically.
But if I type “0” (zero) in the field next to the “Auto” button, in this case the closing of these orders would be manual whenever I want, with a triple click on the “Close” button.
7. The value of 2.06 in the green field (next to the Close button) must match in the account currency the current negative or positive balance for the order set, (GBPUSD/USDJPY).
8. The correlation percentage warning button.
The value 0.82, (in the red field) shows that the current negative correlation is in the percentage of 82%, (above the stipulated 80). This should be updating in real time every 5 minutes and showing in the window. And whenever the value exceeds 0.80, the button must turn red, and when it goes below 0.80, it must change the color to "gray"
9. The drop box button.
I should have this editable outer option in front of each pair, so I can buy for example for both sides, or if I want to use positive correlation, buy and sell.
10. All orders must be executed with the default lot i have configured inside MT4, but leave it pre-configured in 0.01 (as in the image below).
11. Put strings inside the code where I can type only the pairs I want, as in the example in this image below.
12. I recommend you assemble the grid of pairs with at least 12 sets of pairs according to the image here, keeping the colors, but if necessary the layout can be different in some details, what you need to keep is just the logic.