Nevermind I found the problem. I did not include part of my code in my example to you in the attachment. That code had exit algorithyms that did not have define periods. therefore what I thought was trades opening outside of my defined periods, turned out to be trades closing. once corrected the ea works perfectly. I need to congradulate the developer of Molanis for creating a product that allows non coders to compete with banks and institutions. I now find myself as one of the 5 percent (of forex traders) that actually makes money. And after this last "add-on" (multi period confirmation) my robots works as a set it and forget it instrument. OK it was four years in the making (with Gods help), non the less it works well. To God be the Glory!