Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti
Kin Chong Cheong  

Hi, For the below scenario, I check Profit p and input 22, check Trailing Profit and input 1

Is that mean trailing will be triggered when the profit have 22points and stopped when the EURUSD price reversal for 1 point? Thanks.


Vladislav Andruschenko  
Kin Chong Cheong:

Hi, For the below scenario, I check Profit p and input 22, check Trailing Profit and input 1

Is that mean trailing will be triggered when the profit have 22points and stopped when the EURUSD price reversal for 1 point? Thanks.


Hello. Yes 
But if you use separate order, that means virtual TrailingStop. 
Kin Chong Cheong  

Thanks for your reply. I have another issue, I encounter below error when I have more than 30 open orders and the EA stop working and cannot take profit after this error happen. The error message is "array out of range in Exp4 CloseifProfitorLoss.ex4 PAD v6 20170503.mq4 (2762,30)". Hope you can fix this error.


Vladislav Andruschenko  
Kin Chong Cheong:

Thanks for your reply. I have another issue, I encounter below error when I have more than 30 open orders and the EA stop working and cannot take profit after this error happen. The error message is "array out of range in Exp4 CloseifProfitorLoss.ex4 PAD v6 20170503.mq4 (2762,30)". Hope you can fix this error.


Thank you I can check. 
Vladislav Andruschenko  
Kin Chong Cheong :

Thanks for your reply. I have another issue, I encounter below error when I have more than 30 open orders and the EA stop working and cannot take profit after this error happen. The error message is "array out of range in Exp4 CloseifProfitorLoss.ex4 PAD v6 20170503.mq4 (2762,30)". Hope you can fix this error.



I checked. found a bug in if the position of more than 1000 was closed - there is such an error.

I'm sorry. In the next update, this is fixed.

Kin Chong Cheong  
Vladislav Andruschenko:


I checked. found a bug in if the position of more than 1000 was closed - there is such an error.

I'm sorry. In the next update, this is fixed.

Any timeline for the update? I am using this EA to monitor my scalping EA which will have more than 500 open trades simultaneously.  Thanks.
Vladislav Andruschenko  
Kin Chong Cheong :
Any timeline for the update? I am using this EA to monitor my scalping EA which will have more than 500 open trades simultaneously.  Thanks.



you are welcome,

try the updated version of the panel.


  • parameter MagicOrderToClose is replaced by 2 parameters:

MagicNumber - Unique magic number of positions to close.

UseAllMagicFromAllAccount:

true = If you want the closing function for total profit or loss to work for all the magicians.

false = You can specify a unique magic number to close positions in the MagicNumber parameter


  • In the CLP - closing on profit or loss, an alert block was added when closing positions on

profit or loss. There are 3 ways to notify:

CPL_AlerT - Alert message

CPL_Mail - message to mail

CPL_Push - message to the phone

How to set up the phone or mail to receive messages from the Expert Advisor:


http://www.expforex.com/publ/rabota_s_pochtoj_v_mt4_nastrojka_ispolzovanie/6-1-0-61

Added trailing profit values ​​to the CLP panel near the field to fill the distance Trailing

Profit. The value appears when the level of the trailing is fixed by the adviser, and shows

fixed level for closing.
ropeganika  

what's the use of choosing "separate ORDER / Virtual SL/TP " 

Vladislav Andruschenko  
ropeganika :

what's the use of choosing "separate ORDER / Virtual SL/TP " 


when selecting Separate Order, the positions are monitored separately from each other and closed separately for their profit or loss.

ropeganika  
Vladislav Andruschenko:


when selecting Separate Order, the positions are monitored separately from each other and closed separately for their profit or loss.


so if that's mean if selecting this, the targeted Profit say $5, will be applied to each order, and not for all order in total?

and if not selecting, the targeted profit will be counted in total for all orders?

Vladislav Andruschenko  
ropeganika:

so if that's mean if selecting this, the targeted Profit say $5, will be applied to each order, and not for all order in total?

and if not selecting, the targeted profit will be counted in total for all orders?


yes

ropeganika  
Vladislav Andruschenko:


yes


thx

so how does it relate to "mode virtual SL/TP" as mentioned in your explanation?

and if choosing "separate order", it also includes the function as choosing "separate buy sell"? 

thus choosing "separate order" then need not choosing "separate buy sell"?

Vladislav Andruschenko  
ropeganika :

thx

so how does it relate to "mode virtual SL/TP" as mentioned in your explanation?

and if choosing "separate order", it also includes the function as choosing "separate buy sell"? 

thus choosing "separate order" then need not choosing "separate buy sell"?


It is enough to choose Separate Order

With this choice, each position has its own profit or loss in the indicated values.

in other words, it is the virtual SL\TP regime, because the positions are closed with profit or loss, without modifying the stops.

ropeganika  
Vladislav Andruschenko:


It is enough to choose Separate Order

With this choice, each position has its own profit or loss in the indicated values.

in other words, it is the virtual SL\TP regime, because the positions are closed with profit or loss, without modifying the stops.


THANKS!

ropeganika  

CLP_TralOptionsStep - profit trailing step

How to use this setting? What does the input value mean and affect the trading? Would you please give me an example?


BalanceStart - balance based on which the percent will be calculated. 0 - the variable is filled at the start.

How to use this setting? What does the input value mean and affect the trading? Would you please give me an example?


Orderdelete - delete pending orders when closing the position.

See if I m correct ... for example if I m using Veno EA, and I select "all symbols" and NOT select "separate order"; when an order is closed (either TP or SL) by your EA, all other pending orders of the same/ different currencies will be cancelled at the same time? 


Use_Lots_in_CLP_Points - - the EA will also consider the lot of those positions during calculation of profit points. This option can be useful in trading on a hedging account with different lots.

Would you please give me an example on how to use this setting?


Thanks a lot!

Vladislav Andruschenko  

You have understood correctly.


CLP_TralOptionsStep - the step of modification of the profit trailing. When YOU turn on the trailing profit on the panel, the advisor fixes the profit level. The CLP_TralOptionsStep parameter controls the step of changing this level

BalanceStart this parameter is no longer needed. because it was meaningless.

 

Orderdelete - yes


Use_Lots_in_CLP_Points for working with the CLP tab - true - the EA will pay attention to the value of those points. This option can be useful in trading on a hedging account with different lots.


For example:
opened 2 SELL positions on EURUSD
SELL 0.01 with profit of 20 and 0.2 USD
SELL 0.02 with loss of -12 points -0.24 USD

-If Use_Lots_in_CLP_Points = false the EA will calculate the "net" points.
In this case, the Profit will be: -0.04 USD or 8 points.
As we can see, the position is gained in points, but it is a loss in USD.

-If Use_Lots_in_CLP_Points = true the EA will calculate points with consideration of lots.
In this case, the profit will be: -0.04 USD or -4 points.
If calculation of profit is in points and the "Include lots in profit calculation" is enabled,
the EA will find the minimum.
For example:
Minimum position 0.01, 1 "net" point = 1 point,
If a position is opened with a lot of 0.02, then 1 net point = 2 points with consideration of the lot.
If a position is opened with a lot of 0.05, then 1 net point = 5 points with consideration of the lot.

Kin Chong Cheong  

Hi Vladislav,

I am testing your update version. Below is my setting, I set to start trailing when profit has 110 points, and the trailing stop is 22 points. However, you can see from 2nd picture, the EA close my position with -15 points profit.


 

Kin Chong Cheong  
Vladislav Andruschenko:

I only testing in dollars. Thank you. I'll check.


FYI, it is only happened in 1 trade, all other trades seems working fine. 

Vladislav Andruschenko  

it is possible that when the closing occurred there was a jump in prices and the closing occurred already on a decline, i.e. at a loss.

Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti