it seems for some reason when I back test my strategy I get several orders per minute.
It is just a simple stop and reverse system based on a double moving average crossover.
28 2007.09.17 04:27 close 14 1. 00 1. 3871 0. 0000 0.0000 -30. 00...
I am trying to get a variable for a 50 minute simple moving average, the one that
appears on the chart when I apply it to one. I am using:
double MoveA = iMA(NULL,PERIOD_M1,50,0,MODE_SMMA,PRICE_MEDIAN,0);
When I use the print function to...
Trying to find examples of how to add simple graphics to the chart window that is
displayed when backtesting in visual mode. The graphics would be very similar to
a custom indicator. I cannot seem to find this info anywhere in the MT4 or MQL4
Can't figure out why this code won't backtest properly. The backtest runs, but no
results and no trades occur. The code seems correct to me. Anybody have any ideas?
double PosHigh = High[iHighest(NULL, 0, MODE_HIGH,...
I have some real basic code here but I can't seem to get it to work because I do
not know how to get the ticket number from current or open order.
double buyhigh = High[iHighest(NULL, 0, MODE_HIGH, iBarShift(NULL, 0,...
I am trying to develop a basic MQL expert advisor for fully automated trading.
I have looked around and haven't found very many tutorials on how to write EAs.
Below I have attempted to write a simple EA, but am not sure about the...