garyfritz wrote:I had v2.5 set to 24h trading, and I got a couple of orders when the market gapped up last night, so I set it to run 5:00-24:00. But nothing since then -- no orders in AU, EU, EJ, or GU. All 4 charts show the "Fratelli v2-5" smiley face, but only EJ is displaying the Comment() on the chart. EJ was set to run 5:50-18:30 local.
I set all charts back to 24h and the Comment() started displaying. Something wrong with the trading-hours code? Maybe now it will start trading.
EDIT: Nuts. Now I'm getting "invalid trade volume" on GU. Guess I'd better set it to a fixed 0.1 lot too. I think the problem is that it's trying to trade 2.48, and my broker is limited to 0.1 lots. So it should be using 2.4 or 2.5.
Are your charts getting new data? Also, which script are you using to make the 10 min chart, I'm not sure all of them support running EAs on the offline chart.
For the lot size issue, I think they should replace the existing lot size calculation with Mike's code in Jiva's 5 min OpenClose EA since it includes error checking. (very nice bit of code, like all of Mike's code...)
George