Forum

Getting error 1006 on the live server but not on the demo sever ordermodify(), partialclose()

Here is the Code void partialClose( int num) { //Print("partial close"); for ( int i= PositionsTotal ()- 1 ; i>= 0 ; i--) { int ticket = PositionGetTicket (i); if (num == 1 ) { //Print(ticket); if ( PositionGetDouble ( POSITION_VOLUME

Order Modify error 4756 (10013 - invalid request)

Hi I am writing some code to try modifying my order , I keep getting this message in the strategy tester failed modify order #2 buy 0.00 at market sl: 0.00000 tp: 0.00000 -> 1.28769 (1.28669), sl: 1.27452 tp: 1.29569 [Invalid request] the trade is being opened normally but modification fails can

error 10015 with a buy limit order

Hi I have been trying to modify this bit of sample code for use. I keep getting the Invalid Price error. Does anyone have any ideas Thanks double volume= 0.1 ; string symbol= "GBPUSD" ; // specify the symbol, at which the order is placed int digits=( int ) SymbolInfoInteger (symbol

Migration of Robots to VPS service not working

Hi I just subscribed to a VPS service. But it does not seem to allow me to migrate my Custom Indicator and Robot on to the machine. I get a Message. "Nothing to Synchronize No any EA or Custom Indicator signal for < account number > is not enabled"