Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Lin Supertrend – Amibroker AFL Code

36 sec read

Sometime back we introduced Lin-Supertrend Live charts for 5min and 10min timeframe. Lin Supertrend is the responsive version of Supertrend V4.0 and the price component in the ATR channel is smoothed with linear regression to make the channel responsive to price movements thereby having tighter trailing stops and responsive change in signals as well.

Supertrend

Trading Rules

Buy – if suptrend shows a buy signal and candle above 200 EMA (Green Arrow)
Exit Buy – if supertrend shows a exit signal (Yellow Star)

Short – if suptrend shows a sell signal and candle below 200 EMA (Red Arrow)
Exit Short – if supertrend shows a exit signal (Yellow Star)

Intial Backtester Settings

Initial SettingsValue
Initial Capital10,00,000
Position Size300 shares per trade
Trading ComissionsRs250/- per leg
Margin Required10%
Backtesting Period1st Aug 2010 - 27th May 2016
Rollover Charges CalculatedNo

Recommended Amibroker Version
5.8version or above.

Comparison of Lin Supertrend Vs Other Supertrend Version
Lin Supertrend Vs Other Supertrend Systems

Recorded Webinar on Comparison of Supertrend Performance is available to all TradeZilla Participants

Lin Supertrend Equity Curve – 5min timeframe

Supertrend 5min Equity Curve

Lin Supertrend Equity Curve – 10min timeframe

Supertrend Equity 10min

Lin Supertrend Amibroker AFL Code
https://gist.github.com/75fc7236d4f2c4cf58388797cb9d1495

Download Lin-Supertrend Amibroker AFL Code

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Algomojo Index Straddle/Strangle Execution Module with Intraday Stoploss

This tutorial focus on how to automate your index straddle/strangle strategy with intraday stop-loss levels with time-based entry and exits using Algomojo Platform and...
Rajandran R
7 min read

Learn How to Login into Algomojo Account using Amibroker

In the last tutorial, we learn how to automate the algomojo login process and in this video tutorial, we are going to learn with...
Rajandran R
1 min read

Amibroker Execution Module – Hedged Index Futures for Directional…

In the last tutorial, we learn the importance of Hedging Futures Position with OTM Options for Reduced Margin. This tutorial focus on how to...
Rajandran R
14 min read

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More