Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
check next candle close after opening a position http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=56991 |
Page 1 of 1 |
Author: | AU7SZ [ Fri 05 Apr, 2019, 22:46 ] | |||
Post subject: | check next candle close after opening a position | |||
Hello, after opening a long position I would like to compare this candle with just the next candle. If the candle following my longtrade closes below, close my position. I attached a simplified strategy. I can't find my mistake. I know that I could connect the "open positions.positions amount" = 1 to Gethistoricalcandle but in my main strategy I use multiple currencies and so this is not a possible solution for me. Is there any other solution? Thank you for your help.
|
Author: | vadim_berezhnoj [ Mon 15 Apr, 2019, 17:35 ] | ||
Post subject: | Re: check next candle close after opening a position | ||
Hello. Please check the example in the file and the manual for other questions. https://www.dukascopy.com/vfhelper/down ... _locale=EN
|
Page 1 of 1 |