Hello One thing to check, your database.
I suppose your day session finish at 17:00:00 and you wish to close your position at 16:59:00 If so, in file > database settings > intraday setting you must have RTH end 17:00 ETH start 17:01 You can see the setting here http://www.amibroker.com/kb/2006/03/19/how-does-the-daily-time-compression-work/ This setting gives you a candle à 17:00:00 that you can check with timenum(). If this candle is not there or wrong, add or correct it manually by symbol > quote editor. Database is one thing, your code another one. Best regards Tim a écrit : > > Hi Brian, > Thank you very much for your help. It took a bit of jigging around to > get them how I wanted them but success!!!! It just helps me see the > day break better and at my age I need all the help I can get...lol. > Once again, thank you very much, I appreciate it. > > Kindest regards, > > Tim > > __ > >
