OrderSend Error 134 (No Enough Money)
chan,
If you wish to discover the root of your issue, you may consider reducing multiple order signals to a single signal only. Remove any unnecessary code considered inapplicable to your issue-
(take away all the "fluff-and-puff" and you are left with less "fluff-and-puff" to sort through to isolate your issue).
Maybe these statements were of value to you.
Thank you
--
cyxstudio:
Err = OrderSend(Symbol(), // ?????????
and
Err=GetLastError(); //?????
My EA keeps giving me this error OrderSend Error 134 when i backtest it which stands for not enough money as the error description says. I added in the code
as suggested in
http://www.earnforex.com/blog/2010/11/ordersend-error-134-no-enough-money/
it helps a bit but the journal still tells me that there isnt enough money that makes me wonder which part of my code went wrong. And when i check the report, i am making negative gross with my EA, which it isnt suppose to.
below is my full code, anyone know why am i losing money with this EA and ended up not having enough money?