How to add the Position Sizer to appear in each new window we open? Right now i must apply it to each window manually
 
How to add the Position Sizer to appear in each new window we open? Right now i must apply it to each window manually
Apply PS to chart, save template as 'deafult'
Post automatically merged:

Also how can i add a trailing stoploss, which puts sl to breakeven when tp1 is hit? Is it possible?
Those 2 things are completely different
- Trailing stop is not handled by PS, you can set it manually in MT (google pls)
- Move to breakeven is handled by PS (under tab 'trading' - 'breakeven') but you must set it before you place the trade with PS
 
Position Sizer has been updated to version 3.06 to fix some bugs and add more translations:
  • Added a hotkey to set the Entry line to the price level at the mouse pointer's current position (SetEntryHotKey). (@Mio)
  • Added files with Arabic, Chinese (Simplified), and Spanish translations of the panel for the MT5 version of the expert advisor.
  • Fixed a bug that caused TP levels (when set in points) to drift from their given values. (@CARPARK)
  • Fixed a bug where incorrect previous SL was reported upon application of a trailing stop or breakeven.
  • Fixed a potential 'array out of range' error when switching symbols.
  • Fixed a bug with SL not resetting to default on symbol change when required by the SymbolChange parameter. (@EnrichWave)
  • Fixed a bug when SL and TP lines could get set to levels that don't respect the symbol's tick sizer property.
  • Removed the possibility for the Stop-Loss to be set to zero.
 
  • 🎉
  • 👍
Reactions: CARPARK, Mio and EnrichWave
That's not entirely correct. It doesn't matter when you set it up - before or after entering a trade.
Let's take an example trade so i can understand it better.
Entry: 1.1
Sl: 1.05
Tp1: 1.2
Tp2: 1.3

So, when trade hits tp1, i want the sl to move to entry/breakeven automatically. If i understood you correctly, to do this i must put 1.2 (the tp1 price) at the breakeven box, and dont put anything at all at trailing stop?
 
Position Sizer has been updated to version 3.06 to fix some bugs and add more translations:
  • Added a hotkey to set the Entry line to the price level at the mouse pointer's current position (SetEntryHotKey). (@Mio)
  • Added files with Arabic, Chinese (Simplified), and Spanish translations of the panel for the MT5 version of the expert advisor.
  • Fixed a bug that caused TP levels (when set in points) to drift from their given values. (@CARPARK)
  • Fixed a bug where incorrect previous SL was reported upon application of a trailing stop or breakeven.
  • Fixed a potential 'array out of range' error when switching symbols.
  • Fixed a bug with SL not resetting to default on symbol change when required by the SymbolChange parameter. (@EnrichWave)
  • Fixed a bug when SL and TP lines could get set to levels that don't respect the symbol's tick sizer property.
  • Removed the possibility for the Stop-Loss to be set to zero.
Translated Position Sizer.mq5 3.06 to Brazilian Portuguese PTBR.

O Position Sizer foi atualizado para a versão 3.06 para corrigir alguns bugs e adicionar mais traduções:
  • Adicionada uma tecla de atalho para definir a linha de Entrada no nível de preço na posição atual do ponteiro do mouse (SetEntryHotKey). (@Mio)
  • Adicionados arquivos com traduções em Árabe, Chinês (Simplificado) e Espanhol do painel para a versão MT5 do expert advisor.
  • Corrigido um bug que fazia com que os níveis de TP (quando definidos em pontos) se desviassem dos valores fornecidos. (@CARPARK)
  • Corrigido um bug onde o SL anterior incorreto era relatado ao aplicar um trailing stop ou breakeven.
  • Corrigido um possível erro de 'array out of range' ao trocar de símbolos.
  • Corrigido um bug com o SL que não era redefinido para o padrão ao trocar de símbolo quando exigido pelo parâmetro SymbolChange. (@EnrichWave)
  • Corrigido um bug em que as linhas de SL e TP podiam ser definidas em níveis que não respeitavam a propriedade do tick sizer do símbolo.
  • Removida a possibilidade de o Stop-Loss ser definido como zero.
 

Attachments

  • 👍
Reactions: Enivid
Let's take an example trade so i can understand it better.
Entry: 1.1
Sl: 1.05
Tp1: 1.2
Tp2: 1.3

So, when trade hits tp1, i want the sl to move to entry/breakeven automatically. If i understood you correctly, to do this i must put 1.2 (the tp1 price) at the breakeven box, and dont put anything at all at trailing stop?
No, you need to put 10000 in the Breakeven field if you are asking about EURUSD and your broker has 5 decimal places in the quotes.
 
Is there a way that we can set the stoploss to be fixed and not move with the price? Currently when I set the stop loss over the swing high for example and price push down a little bit, the stop loss move under the swing high. I will really appreciate an answer on this. But besides this, this tool is amazing.
 
Is there a way that we can set the stoploss to be fixed and not move with the price? Currently when I set the stop loss over the swing high for example and price push down a little bit, the stop loss move under the swing high. I will really appreciate an answer on this. But besides this, this tool is amazing.
Sorry, but I don't quite understand what's happening. Could you please show some screenshots?
 
Sorry, but I don't quite understand what's happening. Could you please show some screenshots?
Yes, so basically you can see how I set my stoploss to be on top of the high, basically here is 80 points
1692100844861.png

Whenever price goes up or down, the Stop loss will move with the price (because of course the SL will stay at 80 points).
P.S black line is my SL
1692100938356.png

So my question / suggestion would be is there a way to freeze(pin) the SL to a specific price (area).
So if the price push away(down in this case), SL just gets larger. And if price push closer (higher in this case) , SL gets smaller because the SL will not move.
1692100997342.png


I hope this make it clear 🙂 thank you for your time!
 
Yes, so basically you can see how I set my stoploss to be on top of the high, basically here is 80 points
View attachment 24790

Whenever price goes up or down, the Stop loss will move with the price (because of course the SL will stay at 80 points).
P.S black line is my SL
View attachment 24791

So my question / suggestion would be is there a way to freeze(pin) the SL to a specific price (area).
So if the price push away(down in this case), SL just gets larger. And if price push closer (higher in this case) , SL gets smaller because the SL will not move.
View attachment 24792


I hope this make it clear 🙂 thank you for your time!
Thank you! Now it's clear. You can set SLDistanceInPoints to false and your SL will remain where you put it.
 
  • 🚀
Reactions: IAmAlex
I recently switched brokers and the position sizer Expert can no longer send orders. I downloaded and compiled the EA as per tutorial and also enabled algo-trading on the platform (mt5). It writes 'error sending order: trading is disable'. I have noted that when I open the PSC EA it does not show the "allow algorithmic trading" checkbox but it only shows the one that says "allow modifications of Signals".

Please kindly assist, I need this indicator and I don't know what I should do.
 
I recently switched brokers and the position sizer Expert can no longer send orders. I downloaded and compiled the EA as per tutorial and also enabled algo-trading on the platform (mt5). It writes 'error sending order: trading is disable'. I have noted that when I open the PSC EA it does not show the "allow algorithmic trading" checkbox but it only shows the one that says "allow modifications of Signals".

Please kindly assist, I need this indicator and I don't know what I should do.
It looks like you installed the Position Sizer in the Indicators folder. The Position Sizer (unlike the older Position Size Calculator) is an expert advisor. It should be installed in the Experts folder of your MT5 data folder.
 
It looks like you installed the Position Sizer in the Indicators folder. The Position Sizer (unlike the older Position Size Calculator) is an expert advisor. It should be installed in the Experts folder of your MT5 data folder.
I have moved it to the experts folder its still showing the same error
 

Attachments

  • PSC Error Ref Image.png
    PSC Error Ref Image.png
    79.6 KB · Views: 6