| / | Forum |
|
brspMA
2008.01.02 06:39
Hello,
I am using MarketInfo(Symbol(),MODE_SWAPSHORT)and MarketInfo(Symbol(),MODE_SWAPLONG)in order to get information about swap about one pair. But the number I get from those function are not much familiar to me. Can I change the result of those information unto interest values? I've read about MODE_SWAPTYPE. However I have no clue how to set up its values in order to get the swap values as interest.
Thank you so much,,, |
|
Testing Features and Limits in MetaTrader 4 This article allows to find out more about features and limits of Strategy Tester in MetaTrader 4. |
|
phy
2008.01.02 06:45
Tell me the value you get for int type = MarketInfo(Symbol(),MODE_SWAPTYPE); Print("SwapType = "+type); |
|
brspMA
2008.01.02 07:33
phy wrote: Hi phy,Tell me the value you get for int type = MarketInfo(Symbol(),MODE_SWAPTYPE); Print("SwapType = "+type); I got Zero. |
|
phy
2008.01.02 07:52
... deleted ... |
|
brspMA
2008.01.02 08:47
Thanks phy,
But could you kindly modify this for something more generic. In my case, there is none OrderLots or TickValue I could use. Nevertheless, the interest in percentage is a constant. Is that constant that I am looking for. Values like those: JPY lend interest 0.8 AUD borrow interest 6.45 I am trying to reach those kind of values through MT4. Thanks again,,, |
|
phy
2008.01.02 10:02
Ask your broker. |
|
brspMA
2008.01.02 18:51
Thanks phy,
I am jut trying to change my broker. That's the why I am getting familiar with MT4. And I love it so far. I just though that I could reach the nation's Interest for lending and borrowing through MT4 easily. I still count with your kindly help. Thanks a lot,,, |