Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Calculation Expression Issue/bug http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=141&t=51180 |
Page 1 of 1 |
Author: | vtechdir [ Mon 05 May, 2014, 02:30 ] | |||
Post subject: | Calculation Expression Issue/bug | |||
Hi good people of this forum, I apreciate your help and I made significant progress with your assistance. I want to control how long the order is valid by creating a variable TR_minutes, which in the Pending_Order block will limit how long the order is valid. I found that I had orders staying on, at prices outside the _last_ask_candle_price and they were executed the following day . Unfortunately, the TR_minutes calculation does not work as expected. I attach a .png which clearly shows that the TR_minutes is in the past relative to the strategy running time. On other occassions it does not get updated at all. I attahced the strategy and the screenshot of the running strategy with TR in the middle. Kind Regards
|
Author: | vtechdir [ Thu 15 May, 2014, 03:15 ] | ||||
Post subject: | Re: Calculation Expression Issue/bug | ||||
Hi, I gave up on TR calculation, it will be though useful to find out how to use GoodTillTime. I found a candle counter posted in this forum that does the job. However I have another real problem: The Long is only supposed to take place if the candles are above all the 3 lines in the picture (from bottom up - EMA34, DEMA21, T3). However the entry takes place after 3 previous candles being below. It could be that there is something wrong in my construct or is it a real bug? Kind Regards
|
Page 1 of 1 |