Forum

Trade opening on every tick

Hi all, Could I please get some advise on the following (very new to all this - so just a simple EA based on a 20SMA) //+------------------------------------------------------------------+ //| Inside_bar(new).mq5 | //|

OrderSend() - not working out for real-time orders (4756 error code)

Hi all, In advance - thanks for your help and suggestions. If I run this (just a test - no exception handling or practical application as yet) on the ONIT() function: MqlTradeRequest request; MqlTradeResult result; request.symbol = Symbol (); request.volume = 0.1 ;