stop out again
mk77ch:
hi,
im still working on a function to get the maximum available lot size without getting the risk of a stop out.
there seems to be a bug somewhere, maybe someone of you can help me?
the idea is, to caluclate the maximum los of all open orders. then substract that from the account balance, because equity can change during open trades.
after getting this value, i have to calculate the difference between this value and the stop out value.... etc. etc...
What is the relevance of the lot-size to the propensity to get stopped out?
See this thread
hi,
im still working on a function to get the maximum available lot size without getting the risk of a stop out.
there seems to be a bug somewhere, maybe someone of you can help me?
the idea is, to caluclate the maximum los of all open orders. then substract that from the account balance, because equity can change during open trades.
after getting this value, i have to calculate the difference between this value and the stop out value.... etc. etc...