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.

Enivid

Administrator
Staff member
Nov 30, 2008
19,254
1,508
144
Odesa
www.earnforex.com
Hello,

I am using MT4 Fixed Spreads with GBP account currency.

Thanks
I've just tried it and it worked just fine. You could try adding GBPUSD to the Market Watch, but the indicator adds it automatically when needed (I just tested it). Are you sure you are using the latest version (2.27)? You could also try reinstalling the platform and recompiling the indicator if the problem persists.
 

fxmsuk

Newbie
Apr 2, 2020
6
0
1
54
I've just tried it and it worked just fine. You could try adding GBPUSD to the Market Watch, but the indicator adds it automatically when needed (I just tested it). Are you sure you are using the latest version (2.27)? You could also try reinstalling the platform and recompiling the indicator if the problem persists.
Hello again,

GBPUSD, along with everything else via show all is in my market watch. I have uninstalled mt4, downloaded the latest installer from https://www.fxpro.com/trading-platforms/metatrader4 and installed again. I have followed the installation instructions for v2.27 and still facing the problem only on the GOLD chart. All the other charts are fine.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,254
1,508
144
Odesa
www.earnforex.com
Hello again,

GBPUSD, along with everything else via show all is in my market watch. I have uninstalled mt4, downloaded the latest installer from https://www.fxpro.com/trading-platforms/metatrader4 and installed again. I have followed the installation instructions for v2.27 and still facing the problem only on the GOLD chart. All the other charts are fine.
It's really weird. Could you please make a screenshot of the entire platform with Market Watch, chart, and Experts tab in the Terminal visible after you attach the PSC to the chart?
 

burnettj

Active Trader
Mar 16, 2012
4
0
32
In PSC 2.27. When i first launch it I have a default value in TP pips of 15 and a SL pips of 80. This comes across fine as a buy order. If i change the SL to 80 pips in the main window and make it a sell trade, should the TP automatically change to 15 pips? It is not doing that. I click take profit button and it changes to 80 pips. Not recognizing the change from buy to sell.

Hope this makes sense.

Jim
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,254
1,508
144
Odesa
www.earnforex.com
In PSC 2.27. When i first launch it I have a default value in TP pips of 15 and a SL pips of 80. This comes across fine as a buy order. If i change the SL to 80 pips in the main window and make it a sell trade, should the TP automatically change to 15 pips? It is not doing that. I click take profit button and it changes to 80 pips. Not recognizing the change from buy to sell.

I am not quite sure what sequence of steps you are taking, but I suppose you are using PSC with UseFixedSLDistance and UseFixedTPDistance both set to true, right? However, I wasn't able to reproduce what you described. If I add PSC with default TP = 15 and default SL = 80, then move the line to SL=80 but above the entry, the TP line automatically switches to below the Entry line automatically. What exactly did you do?
 

burnettj

Active Trader
Mar 16, 2012
4
0
32
I am not quite sure what sequence of steps you are taking, but I suppose you are using PSC with UseFixedSLDistance and UseFixedTPDistance both set to true, right? However, I wasn't able to reproduce what you described. If I add PSC with default TP = 15 and default SL = 80, then move the line to SL=80 but above the entry, the TP line automatically switches to below the Entry line automatically. What exactly did you do?
Yes you are correct i have both fixed values set. Instead of dragging the SL line. I manually enter price plus an 80 value into SL above price to make it a sell. The same behaviour is observed dragging the SL line as well.The default seems to a buy TP and SL. Then i click the take profit button to recalculate but it is not setting the TP as 15 it is setting it as 80.

It seems your TP updates automatically? Mine does not. It requires me to push the TP button on the main window.

Thanks for the quick response by the way.

Jim
 

burnettj

Active Trader
Mar 16, 2012
4
0
32
Yes you are correct i have both fixed values set. Instead of dragging the SL line. I manually enter price plus an 80 value into SL above price to make it a sell. The same behaviour is observed dragging the SL line as well.The default seems to a buy TP and SL. Then i click the take profit button to recalculate but it is not setting the TP as 15 it is setting it as 80.

It seems your TP updates automatically? Mine does not. It requires me to push the TP button on the main window.

Thanks for the quick response by the way.

Jim
Testing more it looks like the TP and SL take on the sames value when switching from the default buy trade to sell trade.

Jim
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,254
1,508
144
Odesa
www.earnforex.com
Yes you are correct i have both fixed values set. Instead of dragging the SL line. I manually enter price plus an 80 value into SL above price to make it a sell. The same behaviour is observed dragging the SL line as well.The default seems to a buy TP and SL. Then i click the take profit button to recalculate but it is not setting the TP as 15 it is setting it as 80.

It seems your TP updates automatically? Mine does not. It requires me to push the TP button on the main window.

Testing more it looks like the TP and SL take on the sames value when switching from the default buy trade to sell trade.

I am still not quite sure what you are trying to achieve and what results you are getting... TP button sets the TP equal to the current SL - that's all it does. Moving the Stop-Loss line from one side of Entry to another will also move the Take-Profit to the opposite side if you are set UseFixedSLDistance and UseFixedTPDistance to true. Here is a demo of how it works:
psc.gif
 

fxmsuk

Newbie
Apr 2, 2020
6
0
1
54
It's really weird. Could you please make a screenshot of the entire platform with Market Watch, chart, and Experts tab in the Terminal visible after you attach the PSC to the chart?

Hello, please see the screenshot and link to a video of the unresponsiveness only on the gold chart. I have uninstalled MT4, gone through the registry and removed any references, reinstalled it, started with a fresh MT4 and added PSC.

https://drive.google.com/file/d/1gcR4tmG1zhYQbI61gMFyfTrzNzorWaDM/view?usp=sharing
Thanks

2020-04-07_09h11_27.jpg
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,254
1,508
144
Odesa
www.earnforex.com
Hello, please see the screenshot and link to a video of the unresponsiveness only on the gold chart. I have uninstalled MT4, gone through the registry and removed any references, reinstalled it, started with a fresh MT4 and added PSC.
What did I miss? It looked like it was working...
 

burnettj

Active Trader
Mar 16, 2012
4
0
32
I am still not quite sure what you are trying to achieve and what results you are getting... TP button sets the TP equal to the current SL - that's all it does. Moving the Stop-Loss line from one side of Entry to another will also move the Take-Profit to the opposite side if you are set UseFixedSLDistance and UseFixedTPDistance to true. Here is a demo of how it works:
View attachment 15935
Thank you.
I failed to set UseFixedSLDistance and UseFixedTPDistance to true. Now it is working.

Jim
 

fxmsuk

Newbie
Apr 2, 2020
6
0
1
54
What did I miss? It looked like it was working...

Hello, the PSC box was difficult to move around the screen, the TP and SL lines were hard to select and move up and down and selecting different timeframes was slower. When placed on other charts, the PSC is easy to move around TP and SL lines are easily selected and move freely.

Please see this video that shows the unresponsiveness a little better on the GOLD chart. You can see switching timeframes becomes very slow and trying to click and drag the PSC around the chart is very difficult.


https://drive.google.com/file/d/1f-_1huFqBz6U2o2cQBLuKFVCnNpocnKM/view?usp=sharing
I hope that helps.

Thanks
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,254
1,508
144
Odesa
www.earnforex.com
Hello, the PSC box was difficult to move around the screen, the TP and SL lines were hard to select and move up and down and selecting different timeframes was slower. When placed on other charts, the PSC is easy to move around TP and SL lines are easily selected and move freely.

Please see this video that shows the unresponsiveness a little better on the GOLD chart. You can see switching timeframes becomes very slow and trying to click and drag the PSC around the chart is very difficult.

So, it doesn't freeze, it just slows down considerably, right? I am still struggling to reproduce this on my platform. Could you please try applying the following rough "fix"?
1. Open PositionSizeCalculator.mqh in MetaEditor.
2. Find the line 2824. It should say:
MQL4:
      GetSwapData();
3. Change it to this:
MQL4:
      //GetSwapData();
4. Save the changes.
5. Open PositionSizeCalculator.mq4 and compile it (F7).

Then please check if it made anything better with the slowness. Thanks!
 

fxmsuk

Newbie
Apr 2, 2020
6
0
1
54
So, it doesn't freeze, it just slows down considerably, right? I am still struggling to reproduce this on my platform. Could you please try applying the following rough "fix"?
1. Open PositionSizeCalculator.mqh in MetaEditor.
2. Find the line 2824. It should say:
MQL4:
      GetSwapData();
3. Change it to this:
MQL4:
      //GetSwapData();
4. Save the changes.
5. Open PositionSizeCalculator.mq4 and compile it (F7).

Then please check if it made anything better with the slowness. Thanks!

Hello,

that worked! Works fine on the GOLD chart now :)
 

nima986

Trader
Jan 20, 2020
5
0
7
Capture.PNG
Hi dears
I can not install the app as you see the picture. I wonder what to do,as I have downloaded, reinstall metatrader and positionsizecalculator several times but nothing.

Thanks
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,254
1,508
144
Odesa
www.earnforex.com
View attachment 15975
Hi dears
I can not install the app as you see the picture. I wonder what to do,as I have downloaded, reinstall metatrader and positionsizecalculator several times but nothing.

Thanks
Could you please capture the first compilation errors it prints out (scroll to the top of the Errors tab)? This would help me to understand the cause. Thanks!

PS: Also, what version (Build) of MetaTrader 5 are you using?
 

nima986

Trader
Jan 20, 2020
5
0
7
Could you please capture the first compilation errors it prints out (scroll to the top of the Errors tab)? This would help me to understand the cause. Thanks!

PS: Also, what version (Build) of MetaTrader 5 are you using?


Thanks for taking the time.

Capture.PNGbuild.PNG
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,254
1,508
144
Odesa
www.earnforex.com
It looks like your MT5 installation lacks the standard library files (MQL5\Include\Controls\Button.mqh, MQL5\Include\Controls\Dialog.mqh and so on). They should be installing automatically with the platform. You can try downloading and installing MT5 from some other place (Metaquotes for example) and copy those include files over if reinstalling your broker's MT5 doesn't help.
 
  • 👍
Reactions: nima986
Status
Not open for further replies.