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.

Johng1010

Trader
Aug 26, 2016
6
0
7
64
You should put Defines.mqh in the same folder you put PositionSizeCalculator.mqh and PositionSizeCalculator.mq4. All files should be inside /MQL4/Indicators/ or any of its subfolders. You also have to make sure that you are compiling PositionSizeCalculator.mq4 and not any of the other two files.
Hi
I am getting an error from Wnd.mqh
See screenshot attatched
 

Attachments

  • Poscalc.gif
    Poscalc.gif
    117.6 KB · Views: 18

Johng1010

Trader
Aug 26, 2016
6
0
7
64
As I have said, all files should be inside /MQL4/Indicators/ or any of its subfolders. By the look of the error, Defines.mqh is located in /MQL4/include/Controls/.
Hi
I am sorry this is not the case I followed your instructions
All 3 files are in /MQL4/Indicators
If I put Defines.mqh into /MQL4/include/Controls I get a completely different set of errors see #479
Thanks
 

Manoes

Newbie
Nov 10, 2016
8
1
3
39
Hi @Enivid Bro., Thank you so much for your hard work to help peoples like me. Can i download the older versions of the Position size calculator(legacy versions) ., Like ver 1.14 , ver 1.17 ?. do you maintain any archive to download older versions?.

Thanks with Regards
 

Skye

Trader
Nov 23, 2016
2
0
11
63
Hello

I have just downloaded the 2.03 version of this cool tool but can't seem to change the font size as shown.

Running MT4/Windows 10 ...

detail.PNG eg.PNG
 

Skye

Trader
Nov 23, 2016
2
0
11
63
That font size parameter is for the line labels only. Your problem is probably based in incorrect screen scaling. Are you using Parallels or similar software to run MT4?

No I'm simply running MT4 with Windows 10 on a Microsoft Surface
 

HotPotato

Trader
Nov 24, 2016
2
0
6
65
Enivid,

I just recently stumbled on PSC and it is a great piece of work !
Thank you for it.

I made some changes to it perhaps some ideas for the next release.

First i made it so you can incorp and call it in another indicator and made a full hide() and show() of the panel without destroying the panel and the originating indicator with it. (Did have to change CDialog for that).
On the image, the first time you hit the trade button the PSC is created all subsequent clicks will show or hide it.
The trade lines stay on the chart and on moving them the panel is updated even in hidden mode.

The images explain the rest.

Thanks again.
change2.PNG change1.PNG
 

HotPotato

Trader
Nov 24, 2016
2
0
6
65
And because PSC is hidden and shown instead of destroyed the script settings are maintained within the same chart so i could change the name of the save settings file to the chart symbol instead of the chart id which make more sense since charts are opened and closed all the time.
 

caele

Trader
Dec 19, 2015
12
2
19
35
I would like to use the calculator on every chart I open so I put it in my default template.
What would make it work even better then I can make it work now is if the % risk one prefers on each trade would be possible to set to a default value.
The way it is now makes the % risk to be 1 every time you open a new chart.

A similar "issue" is that when a new chart is opened the stop loss line is set to what the previous´s chats stop loss vale was.
So for example opening EURUSD(1) as the first chart, setting stop loss value to 1.06911, and then opening XAUUSD(2) as the second, will make the Stop loss line at 1.06911 on this chart XAUUSD too. As the line is so far off the trading value this creates a small hassle, a decent solution might be to put the stop loss value to whatever the bid price is and the entry price to the ask price as a default when opening a new chart.

Setting the pending or instant order type to a default value would be nice too.

I can not seem to get the Script to run, I get the error that position size calculator could not be found even though it is visible and running. (3)
 

Attachments

  • EURUSD (1).png
    EURUSD (1).png
    59.4 KB · Views: 7
  • XAUUSD (2).png
    XAUUSD (2).png
    281.8 KB · Views: 7
  • Script Error (3).png
    Script Error (3).png
    396.9 KB · Views: 7

caele

Trader
Dec 19, 2015
12
2
19
35
What's the output in the Experts tab? Are you sure you are using the latest version of PSC-Trader script? I cannot reproduce this bug.

Any thoughts on the other comments in that post?

Thanks and have a great day!
 

Attachments

  • Script Error.png
    Script Error.png
    308.4 KB · Views: 4

Enivid

Administrator
Staff member
Nov 30, 2008
19,250
1,507
144
Odesa
www.earnforex.com
I have no idea why it fails. From the look of the screenshot it seems that sometimes it works, right? Can you reproduce this behavior (PSC detection error) and tell me under which conditions does it occur?

Any thoughts on the other comments in that post?

It is possible to make some input parameters for Risk and Pending/Instant. That way, you could modify them, save everything to template, and then load this template on other charts, restoring the saved Risk and Pending/Instant values. However, it may cause confusion because if you change Risk or Pending/Instant not via input parameters but via the panel, they will not be saved to template.

As for stop-loss, the only solution is to create a separate input parameter, which if toggled, that would prevent SL/TP/Entry values to be loaded from the respective lines. It might also cause rather confusing behavior.

I will definitely think about implementing these changes. Thanks for suggestions!
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,250
1,507
144
Odesa
www.earnforex.com
I had to update the MT5 version of the Position Size Calculator indicator and the script (PSC-Trader) to fix the compilation errors in the new build of the platform (1495). I did not increment the version number and there are no other useful changes in the new files, so you should update only if you have to recompile the indicator/script in the latest build of MetaTrader 5.
 
Status
Not open for further replies.