|
amine_chourou
|
Post subject: Re: Trailing Setted with Indicator |
Post rating: 0
|
Posted: Mon 03 Oct, 2016, 08:48
|
|
Visual JForex expert at Dukascopy |  |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Hi,
Yes this is feasible: The ATR output on USDJPY is a number that starts with 0 and has decimals therefore it has be converted somehow to get a integer : in this example I multiplied it by 100.
Thanks
Attachments: |
Malverti_E_1_Trix_ADX_WMA_trailing_V2.vfs [57.27 KiB]
Downloaded 154 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
 |
foreignexchange
|
Post subject: Re: Trailing Setted with Indicator |
Post rating: 0
|
Posted: Tue 04 Oct, 2016, 15:54
|
|
User rating: 0
Joined: Fri 19 Sep, 2014, 12:05 Posts: 61 Location: Italy, montopoli di sabina
|
Good evening, thanks for the support. Anyway during the backtest (USD/JPY 01/01/2016 - 01/10/2016) it seems that the position could not be closed (ATR*100 should have a reasonable SL in pips). I dunno what could be that make fail the trailing Stop.
|
|
|
|
 |
amine_chourou
|
Post subject: Re: Trailing Setted with Indicator |
Post rating: 0
|
Posted: Wed 05 Oct, 2016, 09:10
|
|
Visual JForex expert at Dukascopy |  |
User rating: 288
Joined: Thu 18 Apr, 2013, 09:26 Posts: 1496 Location: Switzerland, Geneva
|
Hi,
The SL has indeed a reasonable value but your problem is : 1/ You start the strategy with a very restrictive condition: If number of open positions or orders is null thus once the position is opened, the strategy won't do anything further. The solution is to move this condition just before the open@market block
2/ Trailing step blocks: You plugged these blocks after the trading command; the problem is the strategy cannot reach the trailing process till all the conditions that sits before that are passed. It is like a serial build: your strategy have to make sure condion A is okay to execute condition B. the solution is to unlink the trailing blocks and plug them elsewhere. The question is: How frequent you need the trailing stop to be executed ? I suggest every 10 seconds, to do so you need to link the position viewer+trailing out of the period filter (from the not equal pin)
|
|
|
|
 |
foreignexchange
|
Post subject: Re: Trailing Setted with Indicator |
Post rating: 0
|
Posted: Thu 06 Oct, 2016, 17:14
|
|
User rating: 0
Joined: Fri 19 Sep, 2014, 12:05 Posts: 61 Location: Italy, montopoli di sabina
|
Thanks  seems to have a logic, you are a great 
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|