Codes

Tiger EA for MetaTrader 4

The Expert Advisor determines buy and sell based on Moving Averages, it also uses ADX and RSI

Forum

backtesting/optimisation question

hi all, when i optimize for my ea using strategy tester it gives a list of passes with profit and other results like drawdown. but most importantly it gives the inputs used in the pass. so when i use those inputs in the ea why does it not produce the expected profit? If anyone can help i would be

EA CODING ISSUE/HELP - closes trades and open new, on new bar

Hi the EA needs to identify if a trade is currently running or not, im using CheckOpenOrders routine for this but when it is called in code its ignored. can anyone tell me what im doing wrong? so the idea is that when each bar opens it checks if trade is open or not then it opens one if there is

history data problem?

I have tried to print from a EA and only get duplicate timestamps and the last 19 minutes of a day. Why is this? I have attached the code and the settings I use in the ST as well as part of the output. Also I have exported data from the history center which looks good and is second accurate and then

Anyone help with enhancing my EA? uses adx and rsi plus MA's to determine trend direction.

EUR/USD and daily charts only. Backtests really well but uses a large stoploss all the time, I would like help to reduce the risk on trades. Any suggestions welcome. //+------------------------------------------------------------------+ //|

omit trades during braiding of ma crossovers

Dear all, I have an ea that uses ma crossovers to open and close trades, does anyone know of a way to omit trades during braiding of MA crossovers. Any advice is welcomed

Is there a way of getting MA's to show in different colours with an EA in the ST

Dear All, I wrote a EA with MA's in and its getting hard to make sense of the visual output from the ST because all the MA's are red. Is there a way of getting them displayed in a certain colour without doing it manually. Thanks in advance

ma crossover problem

Dear All, I tried to write a 2 ma crossover ea. It seems I don't get into making trades for some reason - can anyone help by looking at my code which is very short and explain what the problem could be please? //+------------------------------------------------------------------+ //|

simple program to trade using MA signals

Hello all, First post so please direct me to the right place if you need to. Im not sure if I need a script to do this but please let me know if I do (and provide solution if possible). I am trying to create a simple mql4 program or script that will place trades based on the MA. There is an example