Forum

return value of OrderSend should be checked

Hi all, I couldnt find any solution that worked on the following problem: I added a new "Order function " to my EA, but everytime I get the warning "return value of OrderSend should be checked". The EA doesnt open any trades anymore. void BuyOrder() { //--- prepare a request

EA opens only Buy Orders

Hello, I coded a simple EA based on one indicator which uses inidcator values from the current chart and the H4 chart. During the Backtest it came to my intention, that the EA only opens Buy Orders. When I change the code to only Sell Signals , it doesnt open any Trades. Does someone have an idea