Weekly Tip #3 Continued from
Smart Execution and
Using Multiple Time-frame for Position Sizing
Scale-in and Exit with Net Position Check
Many strategies requires 'accumulating' a share rather than buying and selling in one-go. The entry may be multiple; however, a net position check is also required to Exit ALL outstanding shares (including partial fills).
An example of such strategy using support and resistance levels is:
1. Buy 100 shares at R1 using S1 as stoploss
2. Add 100 shares at R2 using R1 as new stop for overall position
3. Add 100 sgares at R3 using R2 as new stop for overall position
4. If none of the SL is hit, exit trade at end-of-day
The following execution intricacies are involved to automate the above:
1. One should have proper AFL which generates buy signals at each R1, R2, R3 and appropriate sell generation
2. Using 'Regular' mode with 4way execution, MTv3 executes the Buy trades as it is. Buy trades will be placed corresponding to the buy signals from Amibroker.
3. MTv3 automatically applies a net position check at exit. So if 250 shares were bought instead of 300 because of partial fill, the sell signal will automatically send sell order of 250 shares only.
4. Similarly if only 200 shares are bought because stock does not touch R3, it will sell 200 shares only at exit signal.
Happy Trading!
AlgoTrading@Mastertrust
Click for Inquiry
Click for Demo of MasterTrader v3.0