Running an EA with Strategy Tester OrderSend failed
Do You fill all the structure MqlTradeRequest' fields? If not You should initialize it with zero
You agree to website policy and terms of use
Hi,
I have made a simple EA wich contains OrderSend wit DEAL type. If I run it from the Editor it runs and creates trades successfully on my Demo account.
But if I run it with Strategy Tester I receive error 4756 [Invalid request] on every OrderSend. I think the MqlTradeRequest structure is filled correctly (and it works in live case).
What is wrong?