Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Issues trading daily bars http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=57917 |
Page 1 of 1 |
Author: | whiletrue [ Tue 19 Jul, 2022, 08:47 ] |
Post subject: | Issues trading daily bars |
Hi all, I'm trying to write a strategy based on daily bars: @Override However, the daily bars that I receive from the JForex platform are from 00:00 to 00:00 the next day. I see two possible problems with this: #1 Sometimes when I receive the daily bar the market is closed and I'm not able to open/close any orders. Time Messages The small amount is because the instrument in this test is USA500.IDX/USD. It would of course be possible to use // validate open market to validate if the market is currently open. However, the problem is still that I'll receive the daily bars once the market is closed. #2 I might not want a daily bar ranging from 00:00 to 00:00 the next day. Instead I'm thinking that perhaps it's better to adapt it to the opening hours of the NYSE or similar (since the NYSE is open from Monday through Friday 9:30 a.m. to 4:00 p.m. Eastern time). Anyone here who is trading daily bars and have thought about these issues? |
Page 1 of 1 |