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.

Andy

Master Trader
Nov 28, 2014
130
13
54
London UK
Yep.

Windows 7 Pro 64bit and MT4 build 971 with PSC 1.26 with no modification to its code.

IIRC the PSC has had this bug for as long as I can remember and it's even the reason why I actually settled on setting the text colour to match whatever my background colour was so it's not a new bug by any means.
 

Andy

Master Trader
Nov 28, 2014
130
13
54
London UK
Ah yes sorry, it's the Main Window version and it appears the bug happens when trying to set any of the PSC Main colour input parameters to none (See my attached screen shot).
 

Attachments

  • PSC 1.26 Main Colour Bug.png
    PSC 1.26 Main Colour Bug.png
    74.8 KB · Views: 14

Andy

Master Trader
Nov 28, 2014
130
13
54
London UK
On a side note, I just tried it with your Spread indicator version 1.05 with no modifications to the code and it happens with that too.
 

Attachments

  • Spread Colour Bug.png
    Spread Colour Bug.png
    98.5 KB · Views: 13

Andy

Master Trader
Nov 28, 2014
130
13
54
London UK
Hmm OK.

It is very minor and there is an easy way around it. Probably why I didn't report it sooner to either you or MetaQuotes.

But some even seemingly minor problems have no way round and this thread has gone off on a slight tangent.
 

Andy

Master Trader
Nov 28, 2014
130
13
54
London UK
YES!!

I've finally managed to hide the stop-loss text whilst still keeping the stop-loss distance label. And the names of all the text objects don't even appear when my mouse hovers over them AND I won't even be able to accidently select them AND it has stopped me hacking your lovely code to bits (No pun intended).

At first I thought I'd put a rectangle shape over the text and colour it white but the body still remains see-through, it's only the colour of the border that changes. So I then decided to go into the PSC and Spread settings and set the 'distance_x' input parameter to a large negative number (-500) and it works. The text objects are completely off my physical chart space but the distance labels and all the horizontal price levels still show and of course they still all appear within the object list if and when I need to see them.
 
  • 👍
Reactions: Enivid

Chris29

Newbie
Jun 15, 2016
2
0
1
35
Hi

I have a problem with this indicator. The problem is that the stop loss is not working. When I enter stop loss price in the indicator window, sl does not change. It's always the same. I can only change sl by moving line on a chart. The problem occurs on both versions of indicator, seperate and main window. Any solutions?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,249
1,507
144
Odesa
www.earnforex.com
Set DeleteLines input parameter to true if you want to change SL via input parameters rather than by moving the lines. Otherwise, it preserves the lines on the chart when you reinitialize the indicator and "loads" the SL values from the SL line rather than from the SL input parameter.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,249
1,507
144
Odesa
www.earnforex.com
Version 1.27 is out. I had hoped I won't have to release another non-panel version after 1.26, but developing the graphical panel PSC takes longer than expected while the text-based PSC needed some fixing. Here is the full list of changes:
  • Added color input parameters for SL/TP line labels.
  • Fixed compilation warnings in MT5 version.
  • Fixed a bug with possible division by zero error in MT5 version when Risk calculation is on and there is an active position in trading instrument that is no longer available.
  • All graphical objects, except lines, are now non-selectable by default and all objects are now shown in object list (Ctrl+B) in case someone needs to modify them.
  • Added FAQ for DeleteLines issue to the indicator's description page.
Bug reports and idea suggestions are welcome.

PS: I really hope the next release will be with the graphical panel. :)
 
  • 👍
Reactions: Andy

Andy

Master Trader
Nov 28, 2014
130
13
54
London UK
Haha, very nice Enivid.

I will put it on later today hopefully when I have enough time to check it out properly but from the release notes everything seems great.

Oh, did MetaQuotes say anything about that '255.255.255' colour thing? Did they acknowledge that it was a problem on their end or do you think it was caused by a strange combination of settings I had set?
 

Andy

Master Trader
Nov 28, 2014
130
13
54
London UK
Hey,

A setting that has always had me curious is the -

'UseEquityInsteadOfBalance (default = false) — if true, then account equity is used instead of balance in calculations.'

Now if this is changed to true, what would be done differently? would the account size now include any floating profit and/or loss? or is this setting more for people that use the percentage risk type as opposed to the money risk type?

Thanks.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,249
1,507
144
Odesa
www.earnforex.com
Yes, it would use the account size with floating profit/loss to calculate the money risk based on given percentage risk. Of course, it does not make any difference, if you are already using money risk. It is useful when there are some open positions with significant profit or loss on them and you are using percentage risk.
 

boa_conflictor

Master Trader
Aug 5, 2016
75
9
69
Hi,

Since short i use the Position Size Calculator, personally i prefer the separate window version, but when i mark " delete lines" the take profit line is left behind on the chart.
When i try this with the main window version it works like it should, and all lines dissapear.
Is this considered a bug?
 
  • 👍
Reactions: Enivid
Status
Not open for further replies.