Position/Money Management across different charts

Avatar
  • updated
  • Suspended

Hi, 

I get a small issue when I run the EA across multiple windows. Where it will attempt to order but with not enough margin funds to do so and I will just get an error message. Is it possible to allow the EA to manage the cash flow across different charts?

Avatar
0
Andrey Khatimlianskyi
  • Suspended

Still no updates, suspending it...

Avatar
0
Andrey Khatimlianskyi
Quote from Kishan Bhatt

Hi Andrey, 

So I have been doing this. 

Running your EA across a mixed set of instruments. So there are like 10 different EAs. I optimised every one with set files I published here. So when one EA receives a good signal, it wants to open a position. But since I have used up margin for other positions, it will keep warning me that there isn't enough money, Yes I know I am greedy, been able to make some good profits despite this. But I thought, is there a way for the EA to check the margin before it enters. Not sure how to implement this logic, something like

if (cost of opening position > margin)

{

don't enter - some kind of notification?

} else {

enter trade/make order or whatever. 

}


I am very new to this EA. Not sure what the behaviour should be really.  

EA checks margin before opening and show you the warning.

It doesn't try to open deal.

So, that is what you want?

Avatar
0
Kishan Bhatt

Would it be better to use change the lot settings to % margin use?

Avatar
0
Kishan Bhatt

Hi Andrey, 

So I have been doing this. 

Running your EA across a mixed set of instruments. So there are like 10 different EAs. I optimised every one with set files I published here. So when one EA receives a good signal, it wants to open a position. But since I have used up margin for other positions, it will keep warning me that there isn't enough money, Yes I know I am greedy, been able to make some good profits despite this. But I thought, is there a way for the EA to check the margin before it enters. Not sure how to implement this logic, something like

if (cost of opening position > margin)

{

don't enter - some kind of notification?

} else {

enter trade/make order or whatever. 

}


I am very new to this EA. Not sure what the behaviour should be really.  

Avatar
0
Andrey Khatimlianskyi
  • Under review

Hi, Kishan!

How do you want EA to manage money? It don't know anything about other EAs and their settings.

What do you want EA to do if it has not enough money to open next order?