JREIS / Publications
Forum
How to close a position without openning another one
Hello to all, Regarding the code scheme below, could anybody help me? It closes a position only when the next signal happens. Then it, instantly, opens another position, the opposite to the first. extern double TakeProfit= 400.0 ; extern double Lots= 0.01 ; int NumeroMagico= 170225 , Sinal_vencedor=
How to close a position without openning another
Hello to all, I don't know if the following subject have already been placed in this community, but does anybody know how to close a position in Mql4 without openning another? My EA have three conditions, different from the ones of 'crossing MA', that have only two: crossing each other upwards or
EA compiles without errors but doesn't run
Hello to all, My EA compiles with no errors but when I do the BackTest the system returns no results, no reports. I have a dough about two parameters of iMA function. They are MA_shift and Shift. Here is the lines of code I'm using: v10_1 = iMA(NULL,PERIOD_M15,10,0,MODE_EMA,PRICE_CLOSE,1); //