Please show the code for LotsOptimized()
double Last.Return[]; double Last_2.Return[]; double Last_3.Return[]; : Last.Return[iPos]=OrderProfit(); // my last trade result Last_2.Return[iPos-1]=OrderProfit(); // my penultimate result Last_3.Return[iPos-2]=OrderProfit(); // my ante penultimate result
- These arrays have no size and you never give them any with ArrayResize()
- Why are you setting the same value to 3 different arrays in 3 different positions?
qjol:
even with LotsOptimized() the function inteligent_Lot() = 0
You can't see the final brace, there may be a return value, just not posted in this thread.
even with LotsOptimized() the function inteligent_Lot() = 0
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, my expert gives me the error 4051, so, there is some problem with the lot amount, but I could not fix it, can you help me out?
The expert was working fine until I put this function into the order send.
Thanks