Greg MK
Greg MK
Greg MK
Added topic What is the best broker?
What is the best broker for a beginner
Greg MK
Added topic OrderSend error 130
Hi, i've coded a simple expert advisor , that buy when RSI is under 30, it work perfectly on forex pair like EUR/USD but it don't work on stock pair like AMZN or on BTC/USD for example. I have this error message each time a send order must be
Greg MK
Added topic 200 orders launched, How to fit to only 1?
As you can see on the pictures, i've coded a script that buy when SMA CROSSUP and SELL when SMA CrossDown. However, when i launch the backtests, it first launch 200 trades (BUY or SELL Depending on conditions) and then,the code executes normally
Greg MK
Added topic 'else' - illegal 'else' without matching 'if'
if ( (MovingAverage1[ 0 ]>MovingAverage2[ 0 ]) && (MovingAverage1[ 1 ]<MovingAverage2[ 1 ]) ) if ( PositionsTotal ()== 0 ) { OrderSend (request,result); else if ( PositionsTotal ()== 1 ); CloseAllOrders();   }
Greg MK
Added topic HELP TakeProfits Conditions
When I open a trade with the OrderSend() command, there is the basic command to perform the stop loss. In general I insert either a classic stop loss like: "Ask+100*_Point", or through a variable that I would have previously defined via the "extern
Greg MK
Added topic Need help for a simple crossover code
Hello, i'm new in MT4 editor and on this forum. I need some help to correct a code. I'm trying to code a simple crossover script that send a single buy order when the SMA20 cross over the SMA100, and that close the trade when the SMA100 crossover the
Greg MK
Registered at MQL5.community