Hi!
I’d like to share the last version of
dMACDext strategy (improved edition),
version 2.1.
The main goal of new version was to provide full functional
Risk Management for trading operations powered by Limit and Stop orders for all types of accounts (
FIFO, US accounts also supported). As well the new version working with the same values and diapasons of corresponded parameters for Risk Management as provided it’s by
FXCM Trading Station, for handy uses.
Also supported the full functional logging of orders creation, errors reporting and revised strategy parameter’s list, for handy uses too.
Moreover, strategy has ability to perform Margin and Profit/Loss Care for specified account.
Algorithm of dMACDext strategy, version 2.1 (full list):
1. Strategy detects divergence (True or Hide).
2. Depends on trend movement strategy decides to buy or to sell.
3. Trade operation is beginning.
4. Its does begin from checks.
5. First check is for Margin. (Margin of account compare with given value in parameters)
6. If margin of account (current value at this moment, moment of trade) less or equal
value from parameters then trade is not process.
7. Second check is P/L care. (GrossPL of account compare with given values in parameters)
8. If GrossPL of account (current value at this moment, moment of trade) more or less then corresponded values from parameters then trade is not process.
9. Otherwise, trade is continuing and True market order opens the position at currently available market rate for buy or sell direction depends on detected trend movement.
10. If risk management is using then Limit or Stop orders will be also opened at this moment.
I hope the new improved version of dMACDext will be useful and comfortable.
Trade for pleasure with full Risk Management!
- dMACDext.lua
- dMACDext strategy, version 2.1
- (17.56 KiB) Downloaded 1556 times
- dMACDext properties
- Example of logging (for FIFO account)
Thanks.