Was just going thro QUSMA blog on Equity Returns Following Extreme VIX and William VIX FIX Movements. And couple of peoples are throwing ideas on implementing the strategy with percentile rank function. The same discussion also happening in Quantopian Community which inspired me to code the strategy for Nifty Futures
Here is a simple mean reversion trading strategy using Autocorrelation and Stochastic osciallator crossover. In the last article we seen about autocorrelation that negative correlation attracts mean reversion trading and positive correlation attracts trend trading. so the whole idea of the trading system is not to take all the stochastic crossover signals. But only the long only positive crossover signals when the autocorrelation is negative.
“Autocorrelation, also known as serial correlation, is the cross-correlation of a signal with itself. Informally, it is the similarity between observations as a function of the time lag between them” – Wikipedia. Autocorrelation value ranges between +1 to -1. Where autocorrelation above zero indicates positive correlation and negative value indicates negative correlation.
Portfolio Trading (Trading with Multiple Stocks/Instruments) is the next big step in a traders life once he understand that he want to reduce the volatility in his trading strategy. And Amibroker comes handly when comes to portfolio back-testing. And this tutorial explains how to do portfolio back-testing step by step.
Here is a simple strategy that alerts by plotting dots over the candle whenever a new N bar high-low is made. The below chart shows Nifty future EOD charts and the Yellow dots in this example represents new 20 day high’s are made and the orange dots represents new 20 day lows are made. It provides a better visualization in your charts to identify the new high-low and the ongoing sentiment in the market.
We know that VIX most of the time reflects the investor/traders sentiment. When VIX is higher it means lot of fear in the market and lower VIX indicates lack of fear in the market. The problem is the sentiment can be measured only Indices like Nifty as the Volatility Index VIX is derived from implied volatility of Options. In such a case VIX FIX comes handy to replicate the VIX behaviour in other instruments like Commodities, Forex, Stocks.
Here is a button style manual control to place One-Click Trading from Amibroker Charts. He had desinged the framework for sending manual click button trading from Amibroker to NEST/NOW trading terminals using Nest Plus Plugin.(Requires Nest Plus Plugin Subscription from Omnesys).
When you are participating in Marketcalls Community if you concerns in building your trading system codes sometimes you have to post lengthier codes (AFL, mql4, easylanguage codes). While posting in our community it looses its readability so to sort out the issue introduced github gist integration with marketcalls. Just by following few steps now you will be able to share code with other community members without loosing readability.
The problem in automating your strategies or while watching your trading system most of the time you find buy or sell signal occurs in the current bar and before the candle completes the signal get erased. This happens when the signal oscillates back and forth the threshold levels which decides the occurence of buy or sell signal. we can name it as current bar repainting.
Here is simple visualization to look into the past five trades result and plot the values over the chart which gives a quick view on how the strategy performed in the last five trades. In this AFL example we had created the dashboard for simple MACD crossover. And the dashboard doesnt include current open positions and only include last five closed positions.
Here is a little Bid Vs Ask Dashboard for Amibroker users which helps to monitor the Bid-Ask Spread during live trading. In a highly liquid market the Bid Ask spread difference will be very thin whereas in a illiquid script the Bid-Ask spread get wider due to less number of buyers and sellers.
Here is the simple smoothed RSI crossover strategy can be practiced on higher timeframes especially with daily timeframes with controlled risk. It catches the big trends and gets little losses during sideways movement with a desecent amount of winning ratio. Strategy suits for Nifty and Bank Nifty future traders willing to take positional trades based on EOD chart.