egamboa

Trader
Oct 3, 2023
2
0
6
35
Hello,

How do i close 1/2 of my position when my trade is halfway towards my take profit? For example, if I'm aiming at a 1:2RR, and the trade is at a 1:1, how do i close 1/2 of the position?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,359
1,548
144
Odesa
www.earnforex.com
How do i close 1/2 of my position when my trade is halfway towards my take profit? For example, if I'm aiming at a 1:2RR, and the trade is at a 1:1, how do i close 1/2 of the position?
You just divide the position in two by using two TPs in the Position Sizer. You can modify the number of TPs either via input parameters (TakeProfitsNumber) or simply by clicking the "+" button on the left of the Take-Profit button on the panel.
 
  • 👍
Reactions: egamboa

egamboa

Trader
Oct 3, 2023
2
0
6
35
I'm trying to enter an order during london hour-but it wont fill me, i get a 'boing' sound, not letting me place an order. however, during new york session, i can place orders-why cant i place an order during london hour?? my paramenters are correct, so it should let me place an order
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,359
1,548
144
Odesa
www.earnforex.com
I'm trying to enter an order during london hour-but it wont fill me, i get a 'boing' sound, not letting me place an order. however, during new york session, i can place orders-why cant i place an order during london hour?? my paramenters are correct, so it should let me place an order
What is the output in the Experts tab when you get that 'boing' sound?
 

XIAN

Trader
Oct 10, 2023
7
0
6
34
How do I delete the arrows after the trade is closed? I don't know how to do it. Thanks a lot. Photo attachment
 

Attachments

  • FLECHAS.jpg
    FLECHAS.jpg
    6.1 KB · Views: 3

tspringer

Trader
Oct 10, 2023
1
0
6
25
The MT5 color palette doesn't work on macOS. If you want to change the colors, you need to do that by changing the values in the source code (Position Sizer.mq5).
I tried changing the color in source code but it still shows the same colors. I went to data folder, then opened position sizer source code, then for example changed SL line color from clrLime to clrBlack then saved and refreshed the EA tab on MT5 but when I reopened the position sizer the SL line color is still lime. Is there something else I have to do?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,359
1,548
144
Odesa
www.earnforex.com
I tried changing the color in source code but it still shows the same colors. I went to data folder, then opened position sizer source code, then for example changed SL line color from clrLime to clrBlack then saved and refreshed the EA tab on MT5 but when I reopened the position sizer the SL line color is still lime. Is there something else I have to do?
Yes, you need to compile the Position Sizer.mq5 file with the new values. You will also need to re-attach the EA to the chart.
 
  • 👍
Reactions: tspringer

XIAN

Trader
Oct 10, 2023
7
0
6
34
Hello, I have the following problem. With the set up that I indicate in the photo. one-to-one ratio, without taking into account the commissions to place the TP, risking 1% per trade, as you can see, it only risks 0.94%. What could be the cause? Am I making a mistake?
 

Attachments

  • MISCELLANEOUS.jpg
    MISCELLANEOUS.jpg
    13.4 KB · Views: 4
  • RIESGO.jpg
    RIESGO.jpg
    29.4 KB · Views: 5

Enivid

Administrator
Staff member
Nov 30, 2008
19,359
1,548
144
Odesa
www.earnforex.com
Hello, I have the following problem. With the set up that I indicate in the photo. one-to-one ratio, without taking into account the commissions to place the TP, risking 1% per trade, as you can see, it only risks 0.94%. What could be the cause? Am I making a mistake?
The settings in your first screenshot have nothing to do with risk.

To be able to help you with your question, I'd need to see the actual setup of the trade on the Main tab and also the list of trades when you open it in MetaTrader.
 

XIAN

Trader
Oct 10, 2023
7
0
6
34
ok, i just opened one trade.
hope is clear, thanks a lot!!:)
 

Attachments

  • a.jpg
    a.jpg
    142.4 KB · Views: 6
  • d.jpg
    d.jpg
    32.8 KB · Views: 7
  • b.jpg
    b.jpg
    31.7 KB · Views: 6
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
19,359
1,548
144
Odesa
www.earnforex.com
ok, i just opened one trade.
hope is clear, thanks a lot!!:)
The portfolio risk calculated in the Risk tab doesn't take into account the commission you enter on the Main tab.

As for the TP, you've placed it at the same distance as the SL as I understand. Considering that the EA had to reduce the position size due to accommodate commission, the reward also became smaller.
 

XIAN

Trader
Oct 10, 2023
7
0
6
34
The portfolio risk calculated in the Risk tab doesn't take into account the commission you enter on the Main tab.

As for the TP, you've placed it at the same distance as the SL as I understand. Considering that the EA had to reduce the position size due to accommodate commission, the reward also became smaller.
AND LAST DOUBT, WHAT WOULD BE THE SHORT-CUT TO CLOSE THE TRADE? THANK YOU