Hi WannabeSage,
You are welcome!
It’s intended behavior of strategy, but you have not real noticed about the “Margin Care” feature. Let me explain.
The “Margin Care” feature is based on values ‘usable margin’ and ‘equity’ of account selected for trading. These account’s attributes will be taken at work at moment when dMACDext strategy decide to make any trade operation (Buy or Sell). If calculated margin of account
- Code: Select all
(account.UsableMargin / account.Equity) * 100
less or equal value from parameters then trade operation is not process.
In other words, the “Margin Care” feature is always acting prior to any trade operation produced by strategy.
This approach insures your account’s resources when the “AutoTrading” feature of dMACDext strategy is acting. Since, for example, you may have other trading operation (manual or produced by other strategies) that works on the same account and they also may reduce available account’s resources.
Thanks.