Algo Trading @MasterTrust

@mastermind,

Regarding derivatives, your observation is right that MTv3 backfills data from very first trade in the particular contract being backfilled. However, it does not deletes/over-rides any historical data from Amibroker database (except previous trading session's data). We have not observed such problem before, so please take remote support by sharing your computer over internet remote access.

Also the machine should not become unresponsive, because both Amibroker and MTv3 are extremely resource efficient applications. It's hard to comment before diagnosing your system through remote access.
 
Weekly Tip #7 Continued from Time Stop Loss, Bracket Order: Simplest Automated Trading, Using Renko Charts with MasterTrader v3.0, Scale-in and Exit with Net Position Check, Smart Execution and Using Multiple Time-frame for Position Sizing

Backtesting Strategies Without Coding!

Backtesting is the objective process to estimate the profitability by testing the strategy on historical data. Traders have a keen interest to backtest their trading ideas before risking real money. However, most software require some programming knowledge to code and backtest a trading strategy.

MasterTrader v8.0 presents a simplified interface in which sophisticates strategies can be configured, backtested as well as implemented live for automated trading. As an example, say you want to test some strategies which use MACD indicator:
  1. MACD strategy in which buy/sell is generated using 0 level, can be implemented using "Cuts Level Above" and "Cuts Level Below" operators
  2. MACD strategy in which buy/sell is generated using MACD signal line, can be implemented using "Cuts Line Above" and "Cuts Line Below" operators
  3. Strategy which uses confirmation from MACD but only buys when current candle close above signal candle's high can be implemented using "Signal To Rate Rs Slippage"
  4. Strategy which uses both MACD and RSI for confirmation can be implemented using "Anding of Signals"
  5. Strategy which uses MACD or RSI for confirmation can be implemented using "Oring of Signals"
  6. and so on... :)

Happy Trading!
AlgoTrading@Mastertrust
Click for Inquiry
Click for Demo of MasterTrader v3.0
 
@mastermind,

Regarding derivatives, your observation is right that MTv3 backfills data from very first trade in the particular contract being backfilled. However, it does not deletes/over-rides any historical data from Amibroker database (except previous trading session's data). We have not observed such problem before, so please take remote support by sharing your computer over internet remote access.

Also the machine should not become unresponsive, because both Amibroker and MTv3 are extremely resource efficient applications. It's hard to comment before diagnosing your system through remote access.
If a derivative contract is filled from the very first trade of a particular given contract, what can be left earlier that would not be overwritten?

In my AFL, I access one current month nifty future contract, entire nifty option chain of the current month contract, nifty spot and one next month nifty future contract. So, total symbols that the AFL instructs to fetch data (to back fill) is 120 x 2 + 2.

Neither Amibroker nor MT3 crashed and they did complete the job and all data did eventually appear, but while it was busy with back filling load, I was not even able to turn caps lock on and off of the PC.

Perhaps, I can take photograph from mobile phone and send it to you folks.
 
@mastermind, a contract is backfilled from the first trade- but only when the symbol is added fresh in amibroker (backfilling for first time). If historical data is already found in the amibroker db for the particular symbol, it is not overwritten (except previous trading session's data).

Your machine should not become unresponsive, because both Amibroker and MTv3 are extremely resource efficient applications. It's hard to comment before diagnosing your system through remote access. We will simulate the issue to find out the cause. Screenshots/photographs are not sufficient tor resolve it.
 
@mastertrust

If I wanted to create a continuous NIFTY future and NIFTY option contract, is it possible? If yes, how do I go about doing that?

I mean that when December month contract ends, data for January contract should go in the same amibroker symbol. When January month ends, february contract should also go in same month....
 
@mastermind, a contract is backfilled from the first trade- but only when the symbol is added fresh in amibroker (backfilling for first time). If historical data is already found in the amibroker db for the particular symbol, it is not overwritten (except previous trading session's data).

Your machine should not become unresponsive, because both Amibroker and MTv3 are extremely resource efficient applications. It's hard to comment before diagnosing your system through remote access. We will simulate the issue to find out the cause. Screenshots/photographs are not sufficient tor resolve it.
Yes, today it did do a partial fill (it did overwrite some of the earlier back-filled data although it did not go all the way to first candle) and it did not take a lot of time as before.

Thinking back to help you recreate the scenario.

When I first set up this AFL, I had created all the necessary symbols manually in Ami broker after market hours and back filled everything by opening each of them in a chart one by one. It took me good 2-3 hours to back fill and check everything after which I saved the database and back tested my AFL.

Next morning, when I opened the AFL and the account, it did a complete refill (wiping out all past data completely) for all 242 symbols.
 
To create a continuous contact, you will need to merge symbols without overwriting (for each contract). Alternatively, you can code afl to filter out (export) all currents month data; modify scrip name in spreadsheet and import back again.

MTv3 provide amibroker contracts data with same symbols as the actual trading symbol, so it is not possible for automatic update on contract roll over basis.

Regarding the data backfill problem, we will test and update you.
 
@mastermind, we have tested and did not find any issue with data over-ride with the scenario that you mentioned. Not very sure why you are not available for remote computer support though our ATS Desk.
 
Weekly Tip #7 Continued from Backtesting Strategies Without Coding!, Time Stop Loss, Bracket Order: Simplest Automated Trading, Using Renko Charts with MasterTrader v3.0, Scale-in and Exit with Net Position Check, Smart Execution and Using Multiple Time-frame for Position Sizing

Expert Trade Management, Simplified!

Trade Management refers to what a trader does for maximizing profit and minimizing loss, after a trade has already been entered. MasterTrader v8.0 allows extensive trade management features:

1. Choice of selecting stoploss and profit target in terms of Rupees, Percentage and even Standard Deviation (SD) or Average True Range (ATR) multiple. As an example, you can Buy from a simple MA crossover. To manage profit potential, set Profit Target when prices spike above 3SD, or a trailing stop loss of 1.5SD. On the downside, you can also set stoploss of 2SD or MA crossover, whichever happens first. All of this can be implemented without any coding development.

2. Position-wise, Strategy-wise and day-wise Stop Loss/Profit Target: you can control your risk and reward at multiple levels for peace of mind.

3. Limit Maximum exposure: What if your are watching both DLF and Bank Nifty futures , and enter a 5000 order quantity in Bank Nifty instead of DLF? Though such mistakes are not common, but on the request of traders we have developed feature to limit the maximum exposure in a strategy.

4. Define Intraday trade entry and trade exit timings

5. and so on... :)

Happy Trading!
AlgoTrading@Mastertrust
Click for Inquiry
Click for Demo of MasterTrader v3.0