|
Thanks for the clarification, OzFx. The reason why I asked is that I've downloaded the EA from Forex Factory and find that it doesn't do a short.
When digesting the code, I found out that the author has put something like if Stot<0, go short - thus the no-trade as the Stot value never goes below zero.
fxbs' explanation is much clearer if one's intention is to write the EA.
I am currently re-writing OzFx's EA from scratch with the money management feature as per his original methodology. I am forward-testing it now for bugs. Once it is certified as working, I will post it here.
|