Spezifikation
In attached EA I want to have following cahnges.
What does EA - EA does place pendings - every xMinutes new pendings with definated lots sice.
1. Chart - add following informations
a. Summ of all buy orders in Lots
b. Summ of all sell orders in Lots
c. difference of oversice to be equal - in chart should be written - Order sell of 4.65 lots to be equal - buy or sell should be written
Update in sets - every X minutes
2. add function for lot amount placing in pending
EA does have in Sets - Set - Lot_sice - this lot sice will be used
for opening pending order Lot sice - New function should can be selected
- If not selected EA does place as it does right now.
I want to have another lot opening amount calculation - together wit
point c. difference of oversice (calculation which is shown in chart)
For the Oversice Direction should be used under c calculated lots - but only if they are higher as in Set input _Lot_sice - if oversice is less than Lot_sice in set use Lot_sice. For other direction of course use Lot_sice as EA does use actuall right now.
Explanation:
In chart should be every x minutes be updatet amount of all buy and sell orders in market.
So for example we have
open buy orders in market - 6.23 lots
and open sell order in Market - 4,00
so differenc ist sell order 2.23
this means in direkction of sell - EA should not open as right now - EA should open 2.23 lots but only if the amount is lower then in set.
This information should be in chart and should be updatet every Xminutes (minutes will be definated by me in set)
open buy orders in market - 6.23 lots
and open sell order in Market - 4,00
so differenc ist sell order 2.23
3. I want that EA does close all orders on Friday bevore closing and
restart when market will be open. - Function set activ or inactiv - If
inactiv it works as it does right now.