Hi everyone I've created macd EA it is working, but the condition which I've put it is checking on every close of the bar If a trade is open it doesn't check but if a trade is not open then it checks the condition and opens the trade. Now what I want is that when MACD is greater than the signal line then open a buy trade, that's all and don't check the same condition over again until the MACD doesn't go down and then again goes up. I've you got what I want to say. Any help would be appreciated.
Thanks!