Guolei Tang / Publications
Forum
error with find the highest bar after oderopen
i use the EA expert to backtest my EA. But there is some error with the part of code below. the journal said "ticket for OrderModify function must ba an integer". Does anyone know where the error is? double Ticket; double TrailingStoploss; double highest; double lowest; for (cnt= 0 ;cnt<
how to calculate the moving average of variables
for example, double STD= iStdDev(NULL, 0, maslowLength, 0, MODE_SMA, PRICE_CLOSE, 1); double STDma= iMA( NULL, 0,maslowLength ,0, MODE_EMA, STD, 0) ; the journal said " invalid integer number as parameter 6 for 'iMA' function ". sorry i am a totally rookie for MT4 programming