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) :
and you will see the leverage in the log.
I did it twice and it works.
Thanks for sharing... you RAHHHHHHHHHHHHHK!
or u can try this...
Beautiful indicator, thanks for sharing.
or u can try this...
{
double result;
double BasePointCost;
string BaseString;
string String1;
string String2;
//+------------------------------------------------------------------+
BasePointCost=MarketInfo(Symbol(),MODE_LOTSIZE)*MarketInfo(Symbol(),MODE_POINT);
BaseString=StringSubstr(Symbol(),3,3);
String1="USD"+BaseString;
String2=BaseString+"USD";
//+------------------------------------------------------------------+
if(BaseString=="USD")
result=BasePointCost;
//+------------------------------------------------------------------+
else if(MarketInfo(String1,MODE_BID)!=0)
result=BasePointCost*(1/MarketInfo(String1,MODE_BID));
//+------------------------------------------------------------------+
else
result=BasePointCost*MarketInfo(String2,MODE_ASK);
//+------------------------------------------------------------------+
return(result);
}[/PHP]
Why don't you simply use this:
[PHP]PipValue = MarketInfo(Symbol(),MODE_TICKVALUE);?
I know it's an old thread but just in case someone is in need:
Just found this one, looks interesting. No idea if it works with MT4 600+, will check it out.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi,
im looking for an indicator that displays the interest rate swaps for currency pairs, so we can know how much interest we get or is taken away. i think it would be a good inicator for any one holding a position for more then one day. anyone have such an indicator?