Position Size Calculator

Discussion in 'MetaTrader Indicators' started by Enivid, Mar 27, 2012.

  1. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    Last edited: Sep 5, 2017
  2. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    Updated to version 1.1, which added support for setting risk as money (in account's base currency) rather than only in percentage points. Please re-download.
     
  3. dadice

    dadice Trader

    1
    0
    12
    Hi, good job, ty. But XAUUSD does not works :(
     
  4. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    Is the symbol called XAUUSD in your Market Watch window? Or are there any extra symbols in the beginning or the end?

    What happens when you add indicator? Any messages?

    What platform do you use MT4 or MT5?
     
  5. No1Optimist

    No1Optimist Trader

    2
    0
    17
    32 Errors and 1 Warning

    I have recently downloaded and installed the PositionSizeCalculator on my FxPro Cyprus MT4 platform, the latest version.

    The installation appeared to be correct, however when Compiled in MetaEditor the result was 32 Errors and 1 Warning.

    Attached is a screen shot, showing the details.

    PositionSizeCalculator, shows up in the Navigator Pane, however I am unable to drag and drop, or otherwise open the indicator on a chart.

    I would be grateful for any help in rectifying this problem.

    I am sure this is an extremely useful tool for Money Management, when it is functioning as intended.

    Roger
     

    Attached Files:

  6. No1Optimist

    No1Optimist Trader

    2
    0
    17
    Can anyone help?

    It seems that you can ask questions, but you probably will not receive a reply, which is a pity.

    I wish to be able to use this indicator ASAP, but without a solution to the problems I described, that will not be possible.
     
  7. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    For some reason I've never seen your previous post. I can suggest you deleting the indicator file and downloading it again. No such errors appear when I compile it.
    It looks like if its code was copy-pasted twice inside the mq4 file.
     
  8. cinar

    cinar Trader

    6
    0
    12
    Hi,

    I try to use the tool. But it does not work.

    I see that My broker has extra symbols at the end of the parity.

    How can I use the tool?

    Thanks
     
  9. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    What do you mean by "does not work"? What happens when you attach it to the chart?

    How do currency pairs' names look on your broker?
     
  10. cinar

    cinar Trader

    6
    0
    12
    tool

    Hi,

    In my broker "-" sybol after the pairs:

    EURUSD-

    Like that.

    And when I attached the tool to the chart:

    The ask pcice do not exist and the lot size is 0.0

    Thanks for your help.
     
  11. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    Tried to fix this. Please redownload the indicator and try again. Let me know if it works.
     
  12. cinar

    cinar Trader

    6
    0
    12
    I tried and it was working.

    Thank you very much.
     
  13. j2010

    j2010 Trader

    1
    0
    12
    Hi Envid,

    Perhaps you can help me here. Is the figure given (number of lots to trade) given as the number of Standard lots?
     
  14. cinar

    cinar Trader

    6
    0
    12
    gold, silver and oil

    Hi,

    The indicator works great with pairs but it's not working in gold, silver and oil.

    In my broker the sybols of these are like that:

    XAUUSD, XAGUSD and OIL.X2

    Thanks for your care.
     
  15. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    Yes, standard lots. If your account balance is in dollars (or whatever other currency) and not cents, of course.
     
  16. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    Please re-download the indicator - I've tried to fix that. I am not sure it will work though, so let me know.
     
  17. cinar

    cinar Trader

    6
    0
    12
    Hi,

    Thanks for your care.

    I tried all off them. In the screen the ask price does not appear.

    But the lot size is appeared but it's wrong.

    for example for gold: entry lvl:1760, Sl:1755, Risk:1% and the balance is $1000.

    The position size result is:2.01

    (avery big lot for the selected risk.)

    It has the same results for xagusd, xauusd and oil.

    Thanks for your help.
     
  18. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    Please re-download again. There was an error in contract size estimation. Let me know if this version works for you.
     
  19. cinar

    cinar Trader

    6
    0
    12
    Hi,

    Thanks for your care. It's working now. Only the ask price do not appear in the indicator screen. (at XAUUSD, XAGUSD and OIL.X2). But it's not important, because lot size calculating works.

    At last I want to ask that if the calculated risk is lower than my min lot size;what does the indicator show? the min size or 0(if the risk is bigger that my min lot size)

    Thanks too much for your help.
     
  20. Enivid

    Enivid Administrator Staff Member

    6,988
    221
    94
    The Ask price is shown only when a reference pair is required for position size calculation. Since gold, silver and oil are quoted in USD and your account is, probably, in USD, there is no need for a reference pair.

    It will show the amount below your min lot size. It will only show zero when it calculates zero or some extremely low amount with too many zeroes after a dot.
     

Share This Page