Forum

Open Trade maxTrades failure

Good day everyone I please need someones advise on the following. I have the attached EA that I have made. Everything is working fine but there are one problem that I cant seem to resolve and I have really tried my best. I have a maxTrade function so that when my "sellcondition" is met the EA needs

Trailing stop loss not working as it should

Hi Everyone. Could anyone please advise me on the following. I have an EA with a trailing stop Loss for the sell position. What I do not understand is that when the open positions goes into profit the my TP moves up and not the SL to come down. It should work that once an position is in Profit then

Constants.mqh

Good day Could anyone please advise as to where I can download the Constants.mqh file for metatrader 5 as I need the file for my expert but the file is missing from the metatrader 5 terminal

Account Lock problem

Hi everyone Could someone please assist with the following. I'm new to coding and are trying to lock my EA so that it will only run on a specific account in order for it not to be copied over. I have attached my code but for some reason its not working. If I add my EA onto a chart it still works

Opening of order problem

Good day everyone I please need help with the following. I am new to coding and are trying to create my own EA to trade the crash 500 market in MT5. The idea is for an order to open when the RSI reach 90 and then open a new order every 6 candles(1 minute timeframe ) Let say the first order opens and

All trades open at the same time

Good day Could Someone please assist with the following. I would like my EA to open a new trade every 500 points(can be adjusted by user). I have a maximum of 10 trades that can be opened but the problem is that when it should open the second trade at open all the trades at the same time. Thus the

Protect expert advisor

Good day Can anyone please tell me how I can add protection to an expert. I want my expert advisor to be able to only work on one specific broker account number so that my expert cant be coppied to a different pc and used. I am using MT5 please thus it needs to be on MQL5. How would I code my expert

Opening more than one order

Hi Everyone. Im trying to develop a expert to use on crash500 market, The aim is for it to open a sell order once the RSI is on 90 and then open a second and a 3rd order about 4 candle sticks after the first order was placed. Basically the first order to open when RSI is on 90 then open a second

Please help with error codes as it worked one minute and the next I get error code

Hi Everyone. Im trying to create an expert adviser that works on RSI. Basically once the RSI(14) gets to 90 the expert should open a sell order . I would like for it to open a new sell order every 6 candles. I want to use it for crash500. The I got it to open one sell order but not sure how do make

Backtesting problem

Good day Can anyone please assist. I purchased a trading robot for Crash500. When I run a test on the bot it is showing me results of big profits but when I run on real account I take losses. Not sure if I am doing it correct as when I sit and look at the test I picked up that as it runs it collects