I'm testing a script wrote on EUR/USD and before each trade is initiated I have the console prinf out the account equity like so:
printf("%f Equity" Equity);
The starting Capital is $1M and it will give me back numbers like these:
1000289.799133
1000536.611633
For every 1 tick per Zorro Lot of movement on EUR/USD, 1 Zorro Lot = 0.01 Lot, is equivalent to $0.01.
How could there possibly be Equity values of 6 decimal places?
This is clearly incorrect. Not just equity but other calculations I have having printed out are giving me these highly decimaled numbers as well.
Anyone have any idea how to fix this?
Thank you