Steak129

Trader
Sep 13, 2022
3
0
6
50
The checkboxes look like that probably due to some Windows-based settings. As for the inability to minimze, could you please check the output in the Experts tab after you attach the EA and try to minimize it? By the way, does closing it by clicking on the 'x' work?
The 'x' works and it removes the dialog. There is no output to the screen when I try to minimize.
1663084020612.png
 

QSI

Newbie
Sep 14, 2022
1
0
1
48
This is a great calculator except PSC-Trader doesn't work in Eightcap-demo as I attempt to use it during the Funded Trader's monthly challenge. Is there a problem with it/?
 

Reb

Newbie
Sep 14, 2022
1
0
1
31
Hi,
Having a little trouble getting the PSC Trader to link with the Position sizer indicator. Has anyone had this issue?
 

Attachments

  • Script not found.PNG
    Script not found.PNG
    85.6 KB · Views: 4

LektorHH

Trader
Jul 14, 2020
6
3
19
43
Hi,
I changed from 2.xx to 3.02 but still have the same problem / bug all the time.

-I activated ATR. Timeframe is "current" in the setting. But it never starts at current and stays on current. I change the Timeframe of the chart and have to also change the timeframe of the ATR manually. ATR timeframe never starts with "current" and even when set manually to "current" it doesn behave right when changing the timeframe of the chart.

-The entry line is not displayed correctly. In this example it is way above the actual spot price. In some symbols it looks almost right but in most it isnt. Even deleting the expert and setting it up again won't fix it. Switching long to short and vise versa doesn't work either.

Any ideas where to look at?

Thanks for that great tool.


PositionSize.JPG


Code:
; Compactness
ShowLineLabels=true
ShowAdditionalSLLabel=false
ShowAdditionalTPLabel=false
DrawTextAsBackground=false
PanelOnTopOfChart=true
HideAccSize=false
ShowPointValue=false
ShowMaxPSButton=false
StartPanelMinimized=false
ShowATROptions=true
; Fonts
sl_label_font_color=255
tp_label_font_color=10156544
font_size=13
font_face=Courier
; Lines
entry_line_color=16777184
stoploss_line_color=255
takeprofit_line_color=10156544
stopprice_line_color=16711935
entry_line_style=0
stoploss_line_style=0
takeprofit_line_style=0
stopprice_line_style=2
entry_line_width=1
stoploss_line_width=1
takeprofit_line_width=1
stopprice_line_width=1
; Defaults
DefaultTradeDirection=0
DefaultSL=0
DefaultTP=0
DefaultEntryType=0
DefaultShowLines=true
DefaultLinesSelected=true
DefaultATRPeriod=21
DefaultATRMultiplierSL=3.0
DefaultATRMultiplierTP=0.0
DefaultATRTimeframe=0
DefaultSpreadAdjustmentSL=true
DefaultSpreadAdjustmentTP=true
DefaultCommission=0.0
DefaultAccountButton=0
DefaultRisk=1.0
DefaultMoneyRisk=0.0
DefaultCountPendingOrders=false
DefaultIgnoreOrdersWithoutStopLoss=false
DefaultIgnoreOtherSymbols=false
DefaultCustomLeverage=0
DefaultMagicNumber=2022052714
DefaultCommentary=
DefaultCommentAutoSuffix=false
DefaultDisableTradingWhenLinesAreHidden=false
DefaultMaxSlippage=0
DefaultMaxSpread=0
DefaultMaxEntrySLDistance=0
DefaultMinEntrySLDistance=0
DefaultMaxPositionSize=0.0
DefaultSubtractOPV=false
DefaultSubtractPOV=false
DefaultDoNotApplyStopLoss=false
DefaultDoNotApplyTakeProfit=false
DefaultAskForConfirmation=false
DefaultPanelPositionX=0
DefaultPanelPositionY=15
DefaultPanelPositionCorner=0
DefaultTPLockedOnSL=false
DefaultTrailingStop=0
DefaultBreakEven=0
DefaultMaxNumberOfTrades=0
DefaultAllSymbols=true
; Miscellaneous
TP_Multiplier=1.0
UseCommissionToSetTPDistance=false
ShowSpread=false
AdditionalFunds=0.0
CustomBalance=0.0
SLDistanceInPoints=false
TPDistanceInPoints=false
ATRCandle=0
TakeProfitsNumber=1
CalculateUnadjustedPositionSize=false
RoundDown=true
QuickRisk1=0.0
QuickRisk2=0.0
ObjectPrefix=PS_
TradeHotKey=Shift+T
SymbolChangeReset=false
 
  • ℹ️
Reactions: Enivid

Enivid

Administrator
Staff member
Nov 30, 2008
16,986
1,020
144
Odessa
www.earnforex.com
-I activated ATR. Timeframe is "current" in the setting. But it never starts at current and stays on current. I change the Timeframe of the chart and have to also change the timeframe of the ATR manually. ATR timeframe never starts with "current" and even when set manually to "current" it doesn behave right when changing the timeframe of the chart.
Yes, I see what you mean. I will change how it works in the next version of the EA.

-The entry line is not displayed correctly. In this example it is way above the actual spot price. In some symbols it looks almost right but in most it isnt. Even deleting the expert and setting it up again won't fix it. Switching long to short and vise versa doesn't work either.
And "the actual spot price" is what? The PS EA, when in the instant trade mode, sets Entry to the current Ask price for a Long setup, and to the current Bid price for the Short setup. Some brokers display the Bid price line on the charts of some trading instruments incorrectly (it might be they are displaying the Last price instead of Bid). For example, see the situation with the Gold prices at GCI - the true Bid/Ask prices are in the Market Watch, while the supposed Bid price is off significantly on the chart:
bid-ask-last-price-difference.png
 

LektorHH

Trader
Jul 14, 2020
6
3
19
43
Another thing is that you can rotate through the ATR timeframes but sometimes on some symbols it only goes to, in this case, Period_MN1 and stops there. It doesn't rotate anymore and there is no way back. I have to delete the expert and set it up again.

PositionSize2.JPG

And "the actual spot price" is what?
you are right. Haven't thought about that.
 

Enivid

Administrator
Staff member
Nov 30, 2008
16,986
1,020
144
Odessa
www.earnforex.com
Another thing is that you can rotate through the ATR timeframes but sometimes on some symbols it only goes to, in this case, Period_MN1 and stops there. It doesn't rotate anymore and there is no way back. I have to delete the expert and set it up again.

View attachment 22608
Is everything else working fine on the panel when this happens? What is the output in the Experts tab when this happens?
 

samkelo883

Trader
Sep 9, 2022
1
0
6
31
Gooday Trader

I have a small Issue, whenever I put a particular indicator on the chart they shift and then prices on the right dont show properly, how do i fix this issue so prices can show properly?
Post automatically merged:

its the position size calculator indicator
 

Attachments

  • prices.png
    prices.png
    6.5 KB · Views: 2

LektorHH

Trader
Jul 14, 2020
6
3
19
43
Is everything else working fine on the panel when this happens? What is the output in the Experts tab when this happens?
2022.09.16 12:34:28.900 Position Sizer (HKInd,M1) Error! Cannot detect proper currency pair for adjustment calculation: HKD, EUR.
 

Enivid

Administrator
Staff member
Nov 30, 2008
16,986
1,020
144
Odessa
www.earnforex.com
2022.09.16 12:34:28.900 Position Sizer (HKInd,M1) Error! Cannot detect proper currency pair for adjustment calculation: HKD, EUR.
That message seems unrelated and should affect the calculation process, not the button switching. Are you encountering the ATR timeframe button problem only on HKInd or on other instruments as well?
 

king1

Newbie
Sep 16, 2022
3
0
1
Hi,

Thank you for this tool, it is amazing and has helped my trading tremendously. Much appreciated.

I know that in ATR mode it has a spread adjustment option for the TP and SL. Would you be able to make this available in the regular mode when just placing a regular order when not in the ATR mode? I don't use the ATR to stop me out of positions but would like the spread taken into account when setting my stop loss.

Also for the Breakeven calculation would it be possible to set a RR target to automatically set the stop loss to break even so we won't have to enter it manually?
 

Enivid

Administrator
Staff member
Nov 30, 2008
16,986
1,020
144
Odessa
www.earnforex.com
I know that in ATR mode it has a spread adjustment option for the TP and SL. Would you be able to make this available in the regular mode when just placing a regular order when not in the ATR mode? I don't use the ATR to stop me out of positions but would like the spread taken into account when setting my stop loss.
But in normal mode, you can take it into account yourself and set the SL wherever you like. The only reason, it is done with a checkbox in the ATR mode, is that you don't control the SL directly there.
Also for the Breakeven calculation would it be possible to set a RR target to automatically set the stop loss to break even so we won't have to enter it manually?
Could you please explain this more?
 

king1

Newbie
Sep 16, 2022
3
0
1
Yeah I can do it manually as I'm doing now, It'd just be easier to have it do automatically in manual mode. I've had a few spread stop outs this week and wanted to ask if it'd be possible.

But in normal mode, you can take it into account yourself and set the SL wherever you like. The only reason, it is done with a checkbox in the ATR mode, is that you don't control the SL directly there.

Could you please explain this more?
Currently I have a target of 10R and 4 take profits at 2.5r, 5r, 7.5r, 10r.

I manually set the BE to however many pips 2.5r is at, I'm asking would it be possible to add a BE settings entry for a certain reward level such as 2.5r instead of just pips.
 

Enivid

Administrator
Staff member
Nov 30, 2008
16,986
1,020
144
Odessa
www.earnforex.com
Currently I have a target of 10R and 4 take profits at 2.5r, 5r, 7.5r, 10r.

I manually set the BE to however many pips 2.5r is at, I'm asking would it be possible to add a BE settings entry for a certain reward level such as 2.5r instead of just pips.
Thank you for explanation! This has been already suggested recently by other users in this thread. I will consider adding this.
 

Enivid

Administrator
Staff member
Nov 30, 2008
16,986
1,020
144
Odessa
www.earnforex.com
Gooday Trader

I have a small Issue, whenever I put a particular indicator on the chart they shift and then prices on the right dont show properly, how do i fix this issue so prices can show properly?
Post automatically merged:

its the position size calculator indicator
Try updating to the Position Sizer EA. It should be fixed (though in some cases, the problem may still appear).
 

LektorHH

Trader
Jul 14, 2020
6
3
19
43
That message seems unrelated and should affect the calculation process, not the button switching. Are you encountering the ATR timeframe button problem only on HKInd or on other instruments as well?
the first entries are ok but the last caused during the problem. Are different then the above message. But maybe you have an idea.

2022.09.19 12:30:16.871 Position Sizer (SILVER,M1) Trying to load settings from file.
2022.09.19 12:30:16.872 Position Sizer (GOLD,M1) Trying to load settings from file.
2022.09.19 12:30:16.872 Position Sizer (HKInd,M1) Trying to load settings from file.
2022.09.19 12:30:16.872 Position Sizer (Usa500,M1) Trying to load settings from file.
2022.09.19 12:30:16.872 Position Sizer (GOLD,M1) Loaded settings successfully.
2022.09.19 12:30:16.872 Position Sizer (HKInd,M1) Loaded settings successfully.
2022.09.19 12:30:16.873 Position Sizer (SILVER,M1) Loaded settings successfully.
2022.09.19 12:30:16.873 Position Sizer (Usa500,M1) Loaded settings successfully.
2022.09.19 12:30:16.874 Position Sizer (LCrude,H1) Trying to load settings from file.
2022.09.19 12:30:16.874 Position Sizer (LCrude,H1) Loaded settings successfully.
2022.09.19 12:30:16.875 Position Sizer (BTCUSD,M1) Trying to load settings from file.
2022.09.19 12:30:16.876 Position Sizer (BTCUSD,M1) Loaded settings successfully.
2022.09.19 12:30:16.876 Position Sizer (UsaInd,M1) Trying to load settings from file.
2022.09.19 12:30:16.876 Position Sizer (UsaInd,M1) Loaded settings successfully.
2022.09.19 12:30:16.881 Position Sizer (CHFJPY,M1) Trying to load settings from file.
2022.09.19 12:30:16.881 Position Sizer (Ger40,M1) Trying to load settings from file.
2022.09.19 12:30:16.882 Position Sizer (CHFJPY,M1) Loaded settings successfully.
2022.09.19 12:30:16.882 Position Sizer (Ger40,M1) Loaded settings successfully.
2022.09.19 12:30:16.882 Position Sizer (EURUSD,M1) Trying to load settings from file.
2022.09.19 12:30:16.883 Position Sizer (EURUSD,M1) Loaded settings successfully.
2022.09.19 12:30:17.123 Position Sizer (HKInd,M1) Error! Cannot detect proper currency pair for adjustment calculation: HKD, EUR.
2022.09.19 12:30:23.166 Position Sizer (BTCUSD,M1) Trying to save settings to file: PS_BTCUSD133076540135272694.txt.
2022.09.19 12:30:23.167 Position Sizer (BTCUSD,M1) Saved settings successfully.
2022.09.19 12:30:23.206 Position Sizer (BTCUSD,H1) Trying to load settings from file.
2022.09.19 12:30:23.207 Position Sizer (BTCUSD,H1) Loaded settings successfully.
2022.09.19 12:30:24.742 Position Sizer (BTCUSD,H1) Trying to save settings to file: PS_BTCUSD133076540135272694.txt.
2022.09.19 12:30:24.743 Position Sizer (BTCUSD,H1) Saved settings successfully.
2022.09.19 12:30:24.774 Position Sizer (BTCUSD,D1) Trying to load settings from file.
2022.09.19 12:30:24.774 Position Sizer (BTCUSD,D1) Loaded settings successfully.
2022.09.19 12:31:54.087 Position Sizer (EURCAD,H1) Trying to load settings from file.
2022.09.19 12:31:54.087 Position Sizer (EURCAD,H1) No settings file to load.
2022.09.19 12:31:54.109 Position Sizer (EURCAD,H1) Deleted duplicate panel objects with prefix = 22448.
2022.09.19 12:32:17.232 Position Sizer (EURJPY,H1) Trying to load settings from file.
2022.09.19 12:32:17.233 Position Sizer (EURJPY,H1) No settings file to load.
2022.09.19 12:32:17.283 Position Sizer (EURJPY,H1) Deleted duplicate panel objects with prefix = 22448.
2022.09.19 12:32:29.542 Position Sizer (GBPJPY,H1) Trying to load settings from file.
2022.09.19 12:32:29.542 Position Sizer (GBPJPY,H1) No settings file to load.
2022.09.19 12:32:29.563 Position Sizer (GBPJPY,H1) Deleted duplicate panel objects with prefix = 22448.
2022.09.19 12:32:42.722 Position Sizer (LTCUSD,H1) Trying to load settings from file.
2022.09.19 12:32:42.722 Position Sizer (LTCUSD,H1) No settings file to load.
2022.09.19 12:32:42.737 Position Sizer (LTCUSD,H1) Deleted duplicate panel objects with prefix = 22448.