Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

Amibroker Price Action and Trend Line Breakout Scanner/Exploration Scanner

17 sec read

Here is a simple Amibroker Price Action and Trendline Scanner which looks for a touch of hand-drawn price action levels, supports or resistance or trend line breakouts. Look into the video instructions for more details usage instructions and guidelines.

Pre-requisites
Licensed Amibroker 5.9 or above

Video Tutorial and Usage Instructions

Amibroker AFL Code – Price Action and Trend Line Breakout Scanner/Exploration Scanner
https://gist.github.com/7e12438fafd6f3828086d5cab79541a9

Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

[Live Coding Webinar] Build Your First Trading Bridge for…

In this course, you will be learning to build your own trading bridge using Python. This 60-minute session is perfect for traders, Python enthusiasts,...
Rajandran R
1 min read

[Webinar] Understanding and Mitigating Curve Fitting in System Trading

"Understanding and Mitigating Curve Fitting in System Trading"! This dynamic session aims to equip novice to intermediate traders, quantitative analysts, and financial engineers with...
Rajandran R
1 min read

P-Signal Strategy Long Only Strategy – Amibroker AFL Code

This tutorial provides an overview of the P-Signal reversal strategy, a quantitative trading strategy that utilizes statistical parameters and error functions to generate probabilistic...
Rajandran R
2 min read

17 Replies to “Amibroker Price Action and Trend Line Breakout Scanner/Exploration Scanner”

  1. HI SIR,
    “Price Action & Trendline Breakout Exploration AFL”

    SOME ERROR PLEASE CHECK .

    AddColumn( IIf(Buy,’B’,’S’), “Signal”, formatChar, colorWhite, signalcolor);

    1. @Rajandran sir…..Is there semicolon missing at the end of the previous line….

      This error showing

  2. Sir, Great tutorial.. It Helped to find Price Action and Trend Line Breakouts. Can you tell from where to get NSE Data feed to Amibroker?

  3. Please prepare a system based on VWAP with ALGO, hope this will be the best system in market.

  4. Filter = Buy OR sell;
    AddColumn(IIf(Buy,RE, SE), “Price Touch”, 1.2);
    AddColumn( IIf( Buy, ‘B’, ‘S’ ), “Signal”, formatChar, colorWhite, signalcolor);

    _SECTION_END();
    getting error error 30 syntax error,unexpected $undefined

    1. Hi,

      There is an internal identifier formatchar used in

      AddColumn( IIf( Buy, ‘B’, ‘S’ ), “Signal”, formatChar, colorWhite, signalcolor);

      which is compatible and only works for version 5.90 and above. Workaround solution is replace the line with

      AddColumn( IIf( Buy, 1, 0 ), “Signal”, 1, colorWhite, signalcolor);

  5. I HAVE DELETED THIS LINE
    AddColumn( IIf( Buy, ‘B’, ‘S’ ), “Signal”, formatChar, colorWhite, signalcolor);
    AND NOT REPLACED WITH THIS
    AddColumn( IIf( Buy, 1, 0 ), “Signal”, 1, colorWhite, signalcolor);

    KINDLY LET ME KNOW WHAT I
    S THE SIGNIFICANE OF THIS LINE

  6. AddColumn( IIf( Buy, 1, 0 ), “Signal”, 1, colorWhite, signalcolor);

    Syntax error. unexpected $end. missing semi colon.

  7. Thanks for the wonderful explanation via the video.
    However, can you please help one more step wherein we can define more trendline (instead of only 2 – RE & SU).
    Would be highly oblidged if you can explain how to use R0 – R9 (for multiple Resistance lines) and S0 – S9 (for multiple Support lines).
    Can you please post the AFL for the same ?

  8. Hi, the video is not visible. Can you please repost the link? Thanks in advance.

Leave a Reply

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