Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Take profit is changing. http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=51757 |
Page 1 of 1 |
Author: | Maxim_Lobanov [ Thu 09 Oct, 2014, 20:24 ] | ||||
Post subject: | Take profit is changing. | ||||
Good evening! Could you help me please. buy order opened by market price. From this price we need to add 10pips to open buy stop. If buy stop order opened the common take profit is changing. Thank you very much!
|
Author: | amine_chourou [ Fri 10 Oct, 2014, 10:11 ] |
Post subject: | Re: Take profit is changing. |
Greetings, thanks for your post. Can you please provide more details regarding your request: When the pending open is triggered, which TP will be changed ? the one related to the first market order or the the one related the pending open ? How the TP order has to be changed ? following which condition (s) or calculation ? Thanks |
Author: | amine_chourou [ Fri 10 Oct, 2014, 14:07 ] |
Post subject: | Re: Take profit is changing. |
Your previous post is now pasted here: [ I accidentally locked the topic and now will continue here. viewtopic.php?f=146&t=51757 When the pending open is triggered, which TP will be changed? the one related to the first market order or the the one related the pending open ? - Both How the TP order has to be changed ? following which condition (s) or calculation ? - First order – t/p 10pp -After the opening of buy stop: first order t/p = 0, second order t/p = 10pp.] When you say : "After the opening of buy stop: first order t/p = 0" this means that the first TP should be changed to 0pips ? which mean closing immedialtely the previous position once the pending order is triggered. Is this correct ? |
Author: | Maxim_Lobanov [ Fri 10 Oct, 2014, 14:29 ] |
Post subject: | Re: Take profit is changing. |
1)opened the first buy order in the market. 173.30 2)After the opening of buy stop 173.20 3)first byu order t/p = 0 , second order t/p = 10pp Thank you for your patience! |
Author: | amine_chourou [ Fri 10 Oct, 2014, 15:44 ] | ||
Post subject: | Re: Take profit is changing. | ||
Hi, from your statement: first byu order t/p = 0 , second order t/p = 10pp As per my understanding, a TP = 0 is an instant position closing as the the TP will be changed to the current market price and therefore executed. In case you mean another thing please provide more details/explanations. I've changed your previous example and increased the TP pending order for testing purpose as 0.1pip for JPY based currency is quite small. I also changed the calculation way as you were considering the number of positions in a price calculation while you probably meant the open price. In case you meant something else; please advice./ Thanks
|
Author: | Maxim_Lobanov [ Fri 10 Oct, 2014, 17:51 ] | |||
Post subject: | Re: Take profit is changing. | |||
Thanks I talked about the other. the pictures will be more accessible. I corrected the error in my program
|
Author: | Maxim_Lobanov [ Fri 10 Oct, 2014, 19:08 ] | ||||
Post subject: | Re: Take profit is changing. | ||||
I corrected the error in my program. Please help me . How do I transfer take profit, as pictured in the picture. Thank you very much!
|
Author: | amine_chourou [ Mon 13 Oct, 2014, 08:55 ] | ||
Post subject: | Re: Take profit is changing. | ||
Hi there, As per my understanding, here is how to change the TP as you shown in your previous screenshot: Hope this helps otherwise feel free to post your question in the Russian section of VJF forum: viewforum.php?f=175
|
Author: | Maxim_Lobanov [ Thu 16 Oct, 2014, 18:42 ] |
Post subject: | Re: Take profit is changing. |
Thank you very much! I understood everything and I succeeded! |
Author: | Maxim_Lobanov [ Tue 21 Oct, 2014, 19:26 ] | |||
Post subject: | Re: Take profit is changing. | |||
Good evening! Could you help me please. 1. After the closing of the order all pending orders must be deleted. 2. Is it possible to do this through the command "if long.state- closed"? I am trying to do it through this command but unsuccessfully If test strategii displays an error.
|
Author: | amine_chourou [ Wed 22 Oct, 2014, 15:56 ] | ||
Post subject: | Re: Take profit is changing. | ||
Hi there, You have several layers of pending order in your strategy and I'm not sure which order should be filled (Market?V2/v3? ...). To help you, I've rebuilt your strategy and included some modifications to avoid the errors. Please review it and feel free to modify it to meet your needs.
|
Page 1 of 1 |