Lavoro terminato
Specifiche
Hello,
so i am not gona be asking your knowladge for free. I have bunch of
EA's coded by my self, and all of them ar missing one MM thing. In case
of lack of time at the moment for learing, i need some coders help by
adding orders counter.
Ok so i'll try to use my english as best as i can to explain what i need:
so basicaly what i am missing in my code is to count DONE(closed) orders. It might be simple but what i canot code is that i need start count orders from the perriod i want, for exmp. i started trading my new trading cycle now and i am done after 3 or 10 trades whatewer i need, and then i start again. Lets say that i need to rise my lot size every 3 or 5 trades (it could be as variable for my needs(also i want this to be added in extern doubles) doesnt matter what is the result of the trade i need to rise it after X times from the firs trade i am started. To make it even more understandable lets say like this:
extern double lot = 0.01;
extern double X = 5;
extern double balancestop = 100;
if(oderstotalhystory blablabla.... () == X && accountbalance() < balancestop)
lot = 0.08;
if(oderstotalhystory blablabla.... () == X && accountbalance() > balancestop)
lot = 0; (stops EA) until i change variables and start the cycle again. BUT !!! MOST IMPORTANT, the calculation of new hystory has to be NOT this day moth or week, but from the moment i start with lets say default lot size in this case 0.01 and first trade after previos cycle.
I realy hope you understand what i meen, if no please ASK what is not
clear for you and i will explain, but only if you can do it for me,
maybe its even not possible i dont know...If you understood me and know
what i mean please contact me via my email with your price and all
questions.or PM
I will not give me my EA's code i just need code piece with all the //explanation what does what if posiible. I believe serious coders will undersdand what i want instantly.
Thank you for your time.
10-25 euro in your moneybookers