Hi,
I want maximum : one Buy order and one Sell order per day and per chart.
So, in one day and on one chart, we can have :
1. no order
2. one Buy order
3. one Sell order
4. one Buy order and one Sell order.
That's all the possibilities.
I don't know if you have understand, I know my english is very bad so it's not simple to explain for me...
This is an extract from my EA : If you can help me...
Thx
PHP Code:
int total=OrdersTotal();
if(total<1)
{
if(AccountFreeMargin()<(1000*Lots))
{
Print("Votre capital est insufisant. Votre marge est de ", AccountFreeMargin());
}
if(Ask==....blablabla