How do you usually exeute trades calculated by Position Size Calculator?

  • Manually

    Votes: 12 15.2%
  • PSC-Trader script with a mouse click

    Votes: 13 16.5%
  • PSC-Trader with a keyboard shortcut

    Votes: 51 64.6%
  • Using third-party trading panel

    Votes: 2 2.5%
  • Other (please provide details)

    Votes: 1 1.3%

  • Total voters
    79
  • Poll closed .
Status
Not open for further replies.

glvrn

Trader
Jul 21, 2013
11
0
17
Fixed. Redownload the indicator.

Thanks, it works perfect! Just to let you know, I think you might have updated the unzipped MT4 version but not the zipped version on the download page.

That would not be viable as it is nearly impossible to make the size of the background rectangle fit the text. It will be either too small or too large, interfering with the chart itself.

It's OK, I understand. :D
 

Maverick

Master Trader
Apr 3, 2014
460
8
79
Bournemouth UK
After all that effort

It grieves me to say that I am unable to use the indicator I helped create.

I'm sorry but the calculations DO NOT work for spreadbetting

Originally Posted by Maverick
It's as I suspected - It's because I am SpreadBetting

In fact with position size = 0.01 and Reward/Risk = 3, we'd get Reward = 0.3 lots. The Reward would in fact be 0.03.

The Reward/Risk is in fact (in my instance) showing 3 to 1 odds

The PositionSize is the Bet size (stake)

That is when I bet 0.01 at 3/1 odds - If I win I will get 0.01*3 = 0.03 for my troubles

Sounds like SpreadBetting is going to be a special case

Very sorry but I don't know what you meant by

Isn't then MoneyRisk = Position Size in your case?
 

glvrn

Trader
Jul 21, 2013
11
0
17
Hello Enivid,

Sorry if I had been using the indicator incorrectly but I noticed for some of my pairs (WTI in this case) that the calculation is a bit perculiar (refer to attached screenshot).

I set money risk to 40, and dragged the respective lines for entry, SL and TP to desired prices such that Reward/Risk is '2'. Hence, money risk should be 40 when SL hits, and reward should be about 80.09 when TP hits. My pending order for the calculated position size of 0.03 was triggered at 92.4.

However, note that when I mouse-over the SL and TP lines, projected SL price shows -48 USD, while projected TP price shows 92.40 USD.

This was confirmed when moments after I took this screenshot, price hit SL shortly (indeed the loss was -48 USD when SL was hit at exactly 94.00).

Can you advise me? Thanks for your time. :)

/EDIT: Just realised one possibility - could it be that my money risk is too little, and that each jump in position size is at least 0.01, forcing the indicator to suggest the 'best possible position size', which incidentally results in a money risk that is more than the intended amount?
 

Attachments

  • strange.png
    strange.png
    11.3 KB · Views: 18
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
/EDIT: Just realised one possibility - could it be that my money risk is too little, and that each jump in position size is at least 0.01, forcing the indicator to suggest the 'best possible position size', which incidentally results in a money risk that is more than the intended amount?

You have answered your own question :). The resulting position size is probably something like 0.025, but the minimum position step is 0.01, so it cannot return 0.025.

It is very good that you have noticed this behavior. The calculator should actually round down the position size to keep the potential loss below the given value. I have now fixed both MT4 and MT5 versions to work correctly. Please redownload if you want the position size rounded down.
 

glvrn

Trader
Jul 21, 2013
11
0
17
You have answered your own question :). The resulting position size is probably something like 0.025, but the minimum position step is 0.01, so it cannot return 0.025.

It is very good that you have noticed this behavior. The calculator should actually round down the position size to keep the potential loss below the given value. I have now fixed both MT4 and MT5 versions to work correctly. Please redownload if you want the position size rounded down.

Thanks! Yep having it round down would definitely be better than rounding up! Re-downloading now! :D
 

jcds

Active Trader
Sep 26, 2014
3
0
32
Addons

Hello Enivid,

I run your indicator and I find it very useful. I wonder if it's possible to add something like a cumulative money management. I try to explain:
Usually, before open a position I setup my risk percentage (based on equity) for that position and it returns me the correct size lot to use. But I need the grand total of all open positions (if I run positions with 3% risk each and I'm running 10 positions my global risk will be 30%!), better if based on equity (so I can see my risk changing while equity change).

What do you think? :)
 

jcds

Active Trader
Sep 26, 2014
3
0
32
I mean that actually indicator is useful at the entry of the position and for one position only. But if I manage (for example) 2 positions it just return me risk for 1 position (of course to have the global risk I can manually add the risk of each position opened) and the risk is based on equity (or account balance) at the entry moment (but it'll change with the equity).

I.E.
EURUSD
Entry Lvl: 1.27000
Stop Loss: 1.28000
Take Profit: 1.25000
Acc. Equity: 1508.54
Risk: 3%
Risk money: 45.26
Reward: 90.51
Reward/Risk: 2.0
Pos. size: 0.06

With the indicator above I can calculate the risk for EURUSD position only and just in this moment.
If I manage also this position:
GBPUSD
Entry Lvl: 1.62500
Stop Loss: 1.63000
Take Profit: 1.60000
Acc. Equity: 1508.54
Risk: 3%
Risk money: 45.26
Reward: 226.28
Reward/Risk: 5.0
Pos. size: 0.11

My global risk is 6% (3% EURUSD + 3% GBPUSD) in this exact moment. In next hours it probably changes based on my equity, if I've several positions open I can't have an istantaneous risk percentage monitored and I've to calculate each time the sum of any position risk.

Is it possible to have global risk (in the case above 6%) always printed on screen and dynamically adjusted on equity situation?
When I cancel indicator list from screen CTRL+I all data disappear except global risk and risk for position opened in the tab and both will update following the equity.

Hope I better explained, if not please let me know I'll try to make a graphic.

The sense of this is to have the risk updated for each position and avoid to overtrade opening too many positions
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
Do you want it to get the risk data for other positions from the actual open positions? So that if you have one EUR/USD position opened at 3% risk and added the indicator to GBP/USD with intention of opening your second position, the indicator would display the total combined risk of the potential position + the existing position?

Or do you want it to get the risk data from other instances of PositionSizeCalculator, so that only the total risk of potential positions is combined?

When I cancel indicator list from screen CTRL+I all data disappear except global risk and risk for position opened in the tab and both will update following the equity.

That is not possible. If you remove an indicator, it can no longer update anything.
 

jcds

Active Trader
Sep 26, 2014
3
0
32
Best thing is to have total risk of all instances opened.

That is not possible. If you remove an indicator, it can no longer update anything.

Is it possible to create a separate indicator to monitor position risk and global risk at any time?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
I believe the best thing is for the Position Size Calculator indicator is to monitor the risk based on currently open positions, pending orders and the the potential risk of the current indicator's instance.

Making it add up the risk of other attached instances of the indicator will result in confusion when a trader has already placed an order based on some of those instances but did not remove the indicator.
 

Maverick

Master Trader
Apr 3, 2014
460
8
79
Bournemouth UK
Different style

Hi Enivid - Long time no see

Any possibility of making a good indicator even better ?

BetSizeCalculator_zpsbc946506.jpg


Yes I did slightly tweek your original BUT only the text - that's about my programming limit

Hopefully it's obvious what I am suggesting -

Turning PositionSizeCalculator_sepwind into BetSizeCalculator OR LotSizeCalculator for your FX followers

I actually went back with an afterthought to make the Balance Box bigger - to accommodate the more successful traders and something to aspire to - One Day ;-)

Plus the BetSize (LotSize)

THE SUMS ON THE BLACKBOARD

Something isn't quite right . . . 38.39/5 = 7.678 H'mmm

.
 
Last edited:

Maverick

Master Trader
Apr 3, 2014
460
8
79
Bournemouth UK
Doing the sums

H'mmm - after a good 60 minutes or more with a spreadsheet I have to agree with you to a point.

I arrived at:

Reward = 38.3916666667
Reward/Risk = 5.0185185185

I did try and explain how I arrived at my figures BUT my brain started hurting again SO I rubbed it all out.

At the end of the day "Do coppers (cents) really matter" it's the £'s ($'s) we need to worry about.

.
 

Maverick

Master Trader
Apr 3, 2014
460
8
79
Bournemouth UK
De Clutter your charts

And also, just a suggestion. Is it possible to have an option (e.g. ShowBackground) that draws a solid colored box behind the text display? User can then choose a colour via BackgroundColor or something.:D

I had that idea myself once UNTIL I came up with the separate window idea which can be closed up out of sight when not in use = Tidy chart space

PositionSizeCalculator_sepwind.mq4

.
 

Maverick

Master Trader
Apr 3, 2014
460
8
79
Bournemouth UK
I don't want to appear pushy but what did you think about my suggestion for a modified PositionSizeCalculator_sepwind seen here.
Is it possible and would you be prepared to create it ?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
Sorry, but I would not want to implement all the visual changes I am asked about. There is million ways to display the indicator's output. If I do not see a significant advantage to the majority potential users, I will not implement the change. However, I would still help you if you decided to code that. I could also hint that such change would not cost you much more than $5-$10 at MQL Jobs.
 

bobart

Trader
Nov 23, 2014
10
0
12
Super nice!
Just downloaded and installed Position Size Calculator in MT4, works fine, neat!
I also use the Andriy Moraru USD Index (with an ADR adjustment.) I like it and use it instead of RSI.
Thank You,
Bob
 
Status
Not open for further replies.