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.

lwl99

Trader
Mar 18, 2022
7
1
14
25
Hi, this is literally perfect for me, only 1 request! Incorporate custom percentage of position to partial out please!
 

mshea19

Trader
Mar 21, 2022
1
0
6
28
Hello @Enivid -- I'm impressed with your presence here in the forum, thanks for your time.

Is the following implemented in the script/indicator? If so, I don't understand how to use it, could you help explain it to me? If not, could this be added as a feature in future releases?

My broker has a max position size per order - 50 lots for most forex (100 for some Indices CFDs). This is the limit that the PSC script and indicator shows (to my knowledge).​

I'd like to execute orders OR at least calculate my position size for something larger than this max position size (both execute and calculate would be ideal). This is because my account is large enough where say 2% risk is greater than 50 lots for the given SL.​
So functionally, if the calculator would determine my position size for ex. to be 120 lots, the script would execute:​
2 50 lot orders and​
1 20 lot order == total 120 lots​
This way, it still uses the max position size, doesn't exceed it, but allows for larger sets of orders.​

Thanks for your time.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
@mshea19 You can set CalculateUnadjustedPoisitionSize to true - this will enable calculation beyond the normal position size maximum, but it won't let you to execute such trades. What you can do in addition, is to set ScriptsTakeProfitsNumber to 2 or 3 and this will let you divide the trade into 2 or 3 smaller trades, which can then be executed by the script.
 

nicolinotfi

Trader
Mar 21, 2022
9
1
9
44
Hi all, does anyone here had my same problem with Position size Calculator app? everytime I close MT4 when I reopen it I am not abale to move the entry, stop loss and take profit lines, plus I have to manually setup again the hot key, the line are blocked and I can not move them, I already unistalled the app and reinstalled it but I have always the same problem, I hope somebody can help me with that... thank you in advance
 
  • 👍
Reactions: francescoxio

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
Hi all, does anyone here had my same problem with Position size Calculator app? everytime I close MT4 when I reopen it I am not abale to move the entry, stop loss and take profit lines, plus I have to manually setup again the hot key, the line are blocked and I can not move them, I already unistalled the app and reinstalled it but I have always the same problem, I hope somebody can help me with that... thank you in advance
What is the output in the Experts tab of the Terminal subwindow when you restart MT4?
 

nicolinotfi

Trader
Mar 21, 2022
9
1
9
44
Hm... Doesn't seem like there is a problem. And all your panel settings are reset?
everytime I restart MT4, I need to load my POS settings, set again the hot key and then from Objects list I need to delete all the objects, once I did all this I can trade ... none of my settings are saved when I close MT4 basically
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
everytime I restart MT4, I need to load my POS settings, set again the hot key and then from Objects list I need to delete all the objects, once I did all this I can trade ... none of my settings are saved when I close MT4 basically
Did you try reinstall MT4? Are you on Windows or on macOS? Did you try removing all other indicators from the charts?
 

nicolinotfi

Trader
Mar 21, 2022
9
1
9
44
Did you try reinstall MT4? Are you on Windows or on macOS? Did you try removing all other indicators from the charts?
No I didn't try to reinstall MT4, I am on MacOS, my chart is clean no indicators at all, I will try to reinstall MT4, I'll keep you update, thank you for your help
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
No I didn't try to reinstall MT4, I am on MacOS, my chart is clean no indicators at all, I will try to reinstall MT4, I'll keep you update, thank you for your help
Could be some problem with MT4's access to its data directories. I am not sure, I don't have macOS to test anything there.
 
  • 👍
Reactions: nicolinotfi

EnrichWave

Master Trader
May 15, 2018
356
86
74
India
@Enivid in TPT firm there is lot size restriction. so If you have option to set max lot sizer per instrument that will be great. I had lost the account because of the PSC took order more than 2.5 lot in a symbol. Please consider the feature.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
@Enivid in TPT firm there is lot size restriction. so If you have option to set max lot sizer per instrument that will be great. I had lost the account because of the PSC took order more than 2.5 lot in a symbol. Please consider the feature.
What do you mean? Total volume per multiple trades? Or is it a max per trade?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
Total volume per instrument..
Example If we place 2.6 lots in EURUSD we are out. (in 50K funded)
but it can splited like 1.25, 1.25 or any split method.
The best I can offer for now is to tick the Subtract open positions volume checkbox and set the Max position size field on the Script tab.
 

EnrichWave

Master Trader
May 15, 2018
356
86
74
India
The best I can offer for now is to tick the Subtract open positions volume checkbox and set the Max position size field on the Script tab.
I tried that method. There is some problem in that method. If I change Max Position Size to 0.10 and I took risk % 0.20 for the particular stop loss it showed 0.14 lot I used script to place the order it took well (Only 0.10 order opened). At the same time If I again use the script. It takes 0.04 lots which will lead to violation..
BGRXkt9.png


at the same time If we widen the SL it's taking only 1 order. script couldn't place any order up to 0.10
MYg3IVN.png
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,264
1,514
144
Odesa
www.earnforex.com
Is there any way of disabling the 'Stop Limit' order type in MT5 version of PSC? As I never use it
View attachment 20856
Yeah, you can find this line in PositionSizeCalculator.mqh:
MQL5:
else if (sets.EntryType == Pending) sets.EntryType = StopLimit;
and change it to:
MQL5:
else if (sets.EntryType == Pending) sets.EntryType = Instant;
 
  • 👍
  • ℹ️
Reactions: EnrichWave and CARPARK

CARPARK

Trader
Mar 29, 2021
69
23
24
47
Tallinn
Yeah, you can find this line in PositionSizeCalculator.mqh:
MQL5:
else if (sets.EntryType == Pending) sets.EntryType = StopLimit;
and change it to:
MQL5:
else if (sets.EntryType == Pending) sets.EntryType = Instant;
Worked perfectly @Enivid thank you!

Any chance this could be an input settings option?
 
Status
Not open for further replies.