void function return a value error - martingale

To add comments, please log in or register
RodrigoMariani
86
RodrigoMariani  

Hi


Im trying to add a martingale on this Ea, but the void CalculateMartingale return a value :(


Can someone help?

Files:
Naguisa Unada
524
Naguisa Unada  
RodrigoMariani :

Hi


Im trying to add a martingale on this Ea, but the void CalculateMartingale return a value :(


Can someone help?

Remove line 1792.

Fix "int Balance;" to "double Balance;" on line 129. 

RodrigoMariani
86
RodrigoMariani  
Naguisa Unada:

Remove line 1792.

Fix "int Balance;" to "double Balance;" on line 129. 

Tks for your help!


I did it, but the martingale still not multiplying the lots, only 0.01.

Naguisa Unada
524
Naguisa Unada  
"Lots" do not change, because it is called from OnInit () only once at initialization.
I think that originally it was recalculated at around line 1010, but it seems to have been deleted.
But I do not understand detailes without analyzing the whole program.
To add comments, please log in or register