Tools for account monitoring:
- indicator to monitor spread and swap is
here.
- i-Breakeven indicator from RickD is
here.
- Daily Data Window tool: the thread is
here.
Leverage.
Sometimes, when i am testing something. Some martingaled EA or something. And I need to know/select MM in the EA (i mean: lot size if MM=true) so I need to know my leverage. I asked Igorad and he said:
Insert the following code to your EA after
if(MM) :
Code:
Print("Margin=",AccountFreeMargin()," r=",MaxRisk," lev=",AccountLeverage()," cont=",contract);
and you will see the leverage in the log.
I did it twice and it works.