Forum

Invalid Stops

2016.07 . 16 18 : 16 : 23.479 2016.07 . 14 23 : 59 : 00 failed market sell 0.02 EURUSD sl: 80.00000 tp: 50.00000 [Invalid stops] Good afternoon! I just finished to code my EA and I insert a fixed SL and TP, I stared with values like 20/25 and I tought the error was the small number, so I tried 80

VPS

Hi, I just finished my EA and I don't wante to leave my pc turned on for 24 hours so I start searching for VPS, can someone tell me what is the minimun capital to rent a VPS ? I know that it costs 10 USD per month

My position doens't close

Hi, so instead of putting a Take profit in points, I used another expression if (LongPositionOpen() == true && rate[ 1 ].close > BBMidle[ 1 ]) { trade.PositionClose( _Symbol ); } And I have this, I have no Take Profit, but I have a Stop Loss if (! PositionSelect ( _Symbol ))

My position doens't close

Hi, so instead of putting a Take profit in points, I used another expression if (LongPositionOpen() == true && rate[ 1 ].close > BBMidle[ 1 ]) { trade.PositionClose( _Symbol ); } And I have this, I have no Take Profit, but I have a Stop Loss if (! PositionSelect ( _Symbol ))

Alert: Error copying Bollinger Bands indicator Buffers - error:4807!!

Hi, so i was about to test my EA and I had this error "Alert: Error copying Bollinger Bands indicator Buffers - error:4807!!" What am I doing wrong? I used the same code on my another EA and it worked. Regards if ( CopyBuffer (BolBandsHandle, 0 , 0 , 3 ,BBMidle)< 0 ) { Alert ( "Error copying

Order close problem

Hello everyone, I have a question. I just finished my new trading system, but I don't want to use neither Stop Loss or Take Profit I want, for example, close a position when the previous rate closes above the moving average. Can anyone give me that part of the code? Thank you

Can someone tell me where am I wrong?

bool LongPositionOpen() { MqlTradeRequest mrequest; // Will be used for trade requests MqlTradeResult mresult; // Will be used for results of trade requests ZeroMemory (mrequest); ZeroMemory (mresult); double Ask =

return value of 'OrderSend' should be checked ?????

void ShortPositionOpen() { MqlTradeRequest mrequest; // Will be used for trade requests MqlTradeResult mresult; // Will be used for results of trade requests ZeroMemory (mrequest); ZeroMemory (mresult); double Ask =