I think what is happening is that the EA thinks the new week is open, but the broker has yet to generate the new candle for the WP until a few hours later? I think I need to start the EA on the Monday open of my broker or modify the time settings in the code to work different GMT times?
I am also getting this endless alert: AUDNZD, orders clsoed at 0.56, Symbol trailng percent level.
Empty4 eventually crashed and I was unable to restart it without getting that endless alert. I deleted all orders but I cannot get rid of that recurring alert. Have to reload...
Last edited by nonlinear on Mon May 20, 2013 2:26 pm, edited 1 time in total.
nonlinear wrote:I am trying the new version with Brian's additions, but am now getting a market closed flag, trading is disabled. This only happens on the GMT-4 broker, not the GMT+3 broker.
After further analysis, it looks like the new code is set up such that it will wait for my brokers GMT-4 Monday candle even though the market is technically open in Europe. I am not clear on how to modify Brian's code to address this (or if I even should).
EDIT: I switched auto symbol to false and the orders kicked in. I don't know why that might matter though.
I have a red alert at the left hand bottom of the chart : "Trading has been disabled"
Switching auto symbol to false does not help. Any setting I should change ? I am basically use default except RSI 80/20.
Try setting delete pending to false. Brian's additions may only work with some brokers.
Thanks. Have tried but no luck.
Try removing and reloading everything, including the EA, dll, and mqh. Then change auto pair to false in the code. That did it for me.
Thanks! It's working fine now after removing the existing chart and relaunch everything, including the chart, EA and Empty4.