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 and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

Supertrend Multitimeframe Dashboard Amibroker AFL code

51 sec read

This time comingup with Multitimeframe dashboard an addon dashboard for Supertrend indicator with sound and popup alerts. Here are instructions to setup your amibroker with multitimeframe dashboard . Installation steps are listed below.

Note: Currently the Multitimeframe Dashboard works only with 5min charts. For other timeframes afl code customization is required which will be release in next version. As of now on the 5min charts it shows dashboard for 5min, 15min and hourly.

Nifty futures Multitimeframe Dashboard
Supertrend Multitimeframe Dashboard


How to Install the Supertrend Multitimeframe Dashboard Indicator
1)Download and follow setup instructions for Supertrend AFL code with Sound and Popup Alerts
2)Download Supertrend Multitimframe Dashboard Amibroker AFL code
2)Unzip supertrend multitimeframe dashboard afl code to local folder
3)Copy the AFL code to c:/program files/amibroker/formulas/basic charts folder
5)Open Amibroker and Open a New Blank Chart
6)Goto Charts->Basic Charts and apply/drag-and-drop the Non Supertrend AFL code ver2.afl code into the blank chart and now double click over the Supertrend multitimeframe dashboard from Charts->Basic Charts
7)Bingo you are done. Now you will be able to see the Supertrend indicator with Buy and Sell signals.

Supported Version
Amibroker 5.5 and above.

What if you are not able to see the dashboard?
If you had installed amibroker 5.6 version probably you will not be able to see the dashboard. To solve that open your amibroker goto Tools->Preferences->Axis and uncheck all the checked options. This will enable the dashboard.

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 and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

How to Perform Machine Learning Using Amibroker and Python

Amibroker is a powerful technical analysis and trading system development platform, used extensively by traders and analysts for developing and deploying trading strategies. Python,...
Rajandran R
5 min read

Preparing the Features Dataset using Amibroker Exploration – Machine…

There are various methods to prepare the feature dataset, which is a crucial input for a machine learning prediction model. One approach is to...
Rajandran R
1 min read

Dynamic Color Coding in Amibroker Profit Tables: A Visually…

Profit tables are a valuable tool for traders and investors to analyze the trading strategy performance of their investments over time. However, the traditional...
Rajandran R
3 min read

133 Replies to “Supertrend Multitimeframe Dashboard Amibroker AFL code”

  1. Sir,

    I unzip the folder of supertrend afl code but it contains 2 afl, how to install? and when I tried to install only supertrend aft code it gives error message: error 42 #include failed because file does not exist. pls advise how to install it.


  2. Thanks You……. You made my day…..Can you upload Intratrend AFL code ????? If you already have plz give the link

  3. Dear sir ,

    I ha copied and Pasted the Code Non Super trend Afl Code AS you stated.

    But I shows some error the error code is 29 and the error is Varable entry used without having initialized

    Please solve it and provide us an new version of the same
    thank you ,

    Yours faithfully

  4. Sir,
    I am a beginner and practicing on MT4.Can we use Super Trend With pop ups
    In MT4. Can you send me the download link please.

  5. Dear Rajendran,
    I did it as you said. After drag ver 2 there is an error message. “Error 42 #include failed because file does not exit.”

  6. hi Rajandran,

    pls tell me were is Non Supertrend AFL code ver2.afl on your site with Green and Red Bottom Ribbin on chart. So pls pass on Link. Thank you for helping Trading community…..

    thank you

    1. Those ribbon will be in upcoming version with little make over. However you can search for itrend scalping indicator instead as a temporary measure.

  7. Dear Mr. Rajendran,

    I am using amibroker 5.6 I did asper your instructions. But i could’nt get as shown as u given picture ,I got only a blank portion with heading like (multi time frame signal dash board)of below my existing chart pane , kindly advice

      1. yes sir,, it has sufficient intraday data , i can see buy/sell popups when i change manually its time frame 5, 15, hourly even daily

          1. Dear sir,

            Still i couldn’t enjoy the Multitime frame dahaboard feature in my amibroker

            I think some thing problem with my ami

  8. Hi,
    Its done n excellent thank u so much, And kindly tell me that for silver what are changes in parameter ( ATR & FACTOR) and prefer time frame.

    Thank you

  9. thanx raj from the bottom of my heart!!!
    can you pls suggest me the parameters for the currency usdinr settings??

  10. Hi rajendran,

    Thanks a lot !!!!

    When will be your next session and which city ???
    Really very eagerly waiting to attend it.


  11. Hi rajendran,

    Is intratrend for sale..?? If so can you pls say how to join the premium membership .


  12. Hi,
    Kindly tell me the preferred ATR & FACTOR parameters for NIFTY Fut which u follow.

  13. hi,

    Pls tell me how to set EOD in Multitimeframe dashboard like 5min, 15min, 60min and EOD. I see ur EOD link it’s good work fine. So pls tell me how to set a box like this on same AFL. So all view is clear for Trade and Trader.

    thank you

  14. Hi Rajendar,

    Is supertrend a mechanical trading system like turtle trading system of Dennis.Both Looks similar.


  15. Hi Rajandran,

    Can you add Yesbank, FRL, Suntv & Sunpharma on livecharts page?

    Thanks in advance.

  16. Hi,
    What are the parameters(ATR & FACTOR) are u using in Nifty 5mins live call

    kindlly tell me, price variation(Targets & SL) is there in my amibroker software and live call in site

    Thank u

  17. Sir

    You prefer ATR = 7 and Factor = 3 for Nifty. But optmization value is 11 and 2. Why don’t you use optimization value (11, 2) ?

  18. Dear Mr Rajendran,
    You have done a great job and it’s really helpful to the small investors. I am using -icharts.in software in which we have also super trend. Could you please advise how to load dash board and automated buy/sell signal in to that.I don’t have licensed version of Amibroker and also the data feeder is not working due to micrsoft privavcy error.

  19. Sir,

    i need ami chart with -super-trend-indicator afl-code, for MCX – how to get this sir?

  20. Dear Sir,

    Need afl code for MCX, please help to install, Already install Super trend afl code, but now how to update the MCX prices on daily basis? pls help

  21. i have tried to install super trend multiframe dashboard as per the instruction but it didnt appeared on the chart , i appreciate pls. somebody can help me , thanks in advance

  22. i have tried to install super trend multiframe dashboard as per the instruction but dnt get any AFL code , i appreciate pls. somebody can help me , thanks in advance

  23. Rajendran sir
    i want supertrend mcx gold silver and crudeoil but / sell singal software is any other paid service for that pls let me know

  24. sirji

    Supertrend Multitimeframe Dashboard Amibroker AFL code mai chart nahi run ho raha hai please
    suggest me how to run chart

  25. Dear Rajan,
    I trade only in bank nifty & silver mini ,As we all know both are are high volatile counter, Can u suggest me the ATR factor & parameter for 5 min?& eagerly waiting for Intratrend AFl to come in open source.


  26. Dear Rajan,
    As I apply multitimeframe dash board on Supertrend AFl The title on left top corner like scrip name,time frame,open low high ect. are vanished.
    Only I can see multi time frame signal dash board

    please help

  27. Hi Raj,
    While I am trying this Multiframe Dashboard in New Analysis window (in Amibroker), it gives an error message like ” Variable ‘entry’ used without having been initialized (Ln: 575, Col: 75)” and also the titles are gone as zainuddin said above.

  28. Hi Raj,
    can you help me how to apply supertrend to price (foreign) chart in amibroker, i have two panes in chart window ,one pane showing price (foreign) chart, when i insert super trend to price (foreign) chart it is showing trend of main chart…

  29. I am using 5 minute continues chart and with continues RSI indicator.But what i am looking is
    rsi calculation start from today’s opening since end of market time.
    i need a startup hint about coding the same.
    I hope i expressed my requirement.
    Thank Q.

  30. want to trade in nifty options, nifty, banknifty & crude (ONLY INTRADAY). which software to use in amibroker & what settings ?

  31. Supertrend Multitimframe Dashboard Amibroker AFL cod this formla mai chart nahi dikhata to please chart or super trand dihke vasa kuch saggest karo

  32. Dear Raj,
    2 days back i was sent a mail to you. In Multi frame dashboard.. chart showing sell call but in dashboard shows previous buy call. It didn’t change, after some candle only dashboard is change. Kindly check you mail. I was mail with attachment….

  33. hello dear sir iam a new to this trading world please guide me how and wat shouild be my first step to buy your software and support

  34. Dear Sir, one of client needs this kind of chat s in his website. is it possible to show this charts in our website like u did.. if possible means, kindly help to integrate..


  35. Dear MrRaj,

    I copied the AFL code and getting 5 min chart with candle stick and buy and sell signal with Target points . But 1 hour,15 min,5 min dash board is also coming without candle stick and buy and sell signal with target line

    When I counterchecked with your marketcalls set and it’s graph, it is totally different .

    1. To have chart wth buy and sell signal and target line with 5,15,60 min dash board , what we should do?

    2. To have 5 min chart with buy,sell signal with target line ,what we should do in amibroker 5.6?

    Kindly clarify since 1 and 2 by are emitting different signal at 5 min chart when we put multi time frame dash board and 5 min chart .

    5 minutes chart have all signals and target lines but multi time frame dash board is bit having any chart with buy sell signal and target line is our confusion .

    Awaiting reply while we wholeheartedly appreciate your work and concept really

  36. Hi Raj,
    While backtesting the AFL code, the results are different for 180 days data and 20 days data. It show s 93% PROFIT for 180 days and -3.2% for 20 days . whereas if the parameters are modified we get +8.1% PROFIT for 20 days for the same AFL code. How to find a solution for this. pls advice.

    reg – gobi

  37. Rajandran Sir,

    Thanks for the wonderful Supertrend Multitimeframe Dashboard Indicator
    I followed all your above steps but when i double click Supertrend multitimeframe dashboard from charts,it gives me error 29 ” variable entry used without having been initialized ” line: 575 col: 75
    I am using stock live Data Feeder 2.9.0 to get the stocks
    Please help me

          1. Thanks sir for a quick response.
            I went through the link you provided.
            Do I need to download this “Bollinger Band Based Trailing Stop Loss – Amibroker” Alf code?

  38. Sir, Is any possible to use the chart( Supertrend Multitimframe) in NEST TRADER LAUNCHER.

  39. dear sir,
    i applied this afl into ami 5.6, i am getting timeframes and calls, but background is totally black..no candles..how to solve this sir?

  40. Sir, you are providing data with indicator in your website already, can i get the same data to amibroker software freely.. from you?

  41. Hi ,
    I was using Non Repanting Super Trend in Amibroker 5.7 Version till yesterday it was doing auto scanning also But all of sudden it started showing Error 29 Entry variable not define what can be the cause? and how to rectify .
    i am taking data from google

  42. dear sir

    i am use multitimeframe indicator ami version 5.70…but trend line is not show my chart.

    so plz help u sir

  43. Sir, For the above AFL, we need to have minimum 1 min data or with 5 min data we can use tht above AFL??? I have amibroker 5.7 with 180 days of intraday data (5 min) but i am not able to see candles after uploading the above AFL. please help me out.


  44. Dear Mr Rajendran,

    Me and My Father follow your website live signals..and find them very useful.

    Many Many Thanks for doing such selfless work for people.

    We want to install it on our system to avoid time delay.

    Sorry to bounce a email to you like these..but thought it may be a better idea to seek your guidance before I start on my own.

    1) Good realtime data feed
    2 I want to Buy and install Amibroker & Data feed
    3) Setup Super Trend Multitime frame dashboard Afl.
    3) Set up ATR values for all F & O Stocks + Nifty + Bank Nifty
    4) Create a Scan on F & O stocks and also setup Sound Alerts.
    5) Would need some back fill data too.

    Many Thanks again for your selfless work, if all people in share market
    become like you , the world would be much better place.

    Warm Regards,


  45. Dear Mr Rajandran,

    I am not getting the exact chart of Nifty with Trend ribbon and MTF Dash board despite trying all instructions properly

    Can you please send the AFL link ?

    Thanking you in advance

    EG: SBI SELL @295.60/SL319.8 IN AFL AND SL310.20 IN ATR CHART

    1. ATR contains frequent signals with tight stoploss. Supertrend contains Little higher stop loss with rare signals. Based on your risk taking nature and the opportunity provided by the signals you have to decide.

  47. hello ,
    my system doenst allow me to open this this supertrend file . kindly help me out …. earlier it was working good with window xp , just i booted with window 7 and having a problem in both file .i.e
    Supertrend Multitimframe Dashboard Amibroker AFL code
    Supertrend AFL code with Sound and Popup Alerts.
    is there any extractor needed to open this file ? my systen showing me this error.
    the archive is either of unknown format or damaged

  48. sir i want to chanj mesej bord time how can i canj i want 20minit in frist second 60 minit and last 240 mint now can you help me

  49. Dear Rajandran

    it was nice meeting you @ TC2015, well i was going through ST and its different combination on your site, i found it interesting.. and useful too. Thanks for creating wonderful site and helping Trader community in great way.

    I have one doubt on Target line in Super trend, well as such i do not use Amibroker or AFL, I smiply to maths on Excel. So AFL file will be not much of use to me. So just want to know what are the logics behind Target Lines. I would be very much thank ful to you if you can share Logic of Target Line.

    Thanks once again.

  50. dear devileper, thanks lot
    kiya ap log sirf commodities signal dokha skte hai target ke sath

  51. Dear Rajandran,

    Thanks for the awesome job done on marketcalls.in website. It shows the passion you have on the technical analysis.

    A small query if you can address.
    1. http://www.marketcalls.in/charts does not display all the charts for Nifty options and bank nifty options. We can see only CE of Bank nifty. Not PE of Bank Nifty. Also, we do not see the nifty charts for CE and PE. Is there any plan to add them in any near furture.
    2. Also, there is no nifty chart where it get live streaming for 5/10/15/hourly/daily with supertrend and other indicators like for some index futures charts in http://www.marketcalls.in/charts

    Thulasee Ram

    Thulasee Ram

    1. Interactive charts support both Index Options and stock Options. Let me know which symbols are you are not able to fetch?

      Can you brief your 2nd point not able to get you properly.

      1. Dear Rajandran,

        My Sincere thanks for the reply.

        Regarding Point 2:

        When you go to the link http://www.marketcalls.in/charts (Interactive charts), one can see Nifty Futures charts (ex: NIFTY15JULFUT) and “Bank Nifty Options CE” (ex: BANKNIFTY15JUL15700CE). But, like I mentioned, I can not see Bank Nifty Options PE charts. Also, I can not see “Nifty Options” charts (interactive charts) in the above link mentioned. Say for example, Nifty 8000/8100/8200/8300/8400/8500/8600 CE/PE (Ex: NIFTY15JUL8500CE/PE) based on the interim price of Nifty, like the case of “Bank Nifty Options CE” (ex: BANKNIFTY15JUL15700CE).

        As we can see the interactive charts for Nifty Futures and Bank Nifty CE (options), I mentioned the same in my earlier note in point 2 whether we can have Bank Nifty PE and Nifty Options PE/CE charts based on expiry month which is most active although I am not sure whether it would be feasible.

        Also, I mentioned in the point 2, we have all the time frames apart from daily and weekly time frame like we have in EOD Nifty Chart.

        Please advice.

        Thulasee Ram

  52. Dear Rajandran,

    Thank you for the reply and the screen shot.

    Now, I understand the reason why it was not displaying to me earlier. I am able to see them now. It was my mistake in querying the chart. I was not giving proper name to display the chart. Thanks for your time once again.

    Just one more question and my apologies to bother you as I know your time is very precious.

    Like I mentioned earlier:
    a. Is there any plan to include daily and weekly time frame in interactive charts in near future which will be helpful for position traders who would like to carry forward their trades overnight.
    b. Is there any plan to include ‘Nifty’ chart in interactive charts for the above time frames. Right now, it is available under EOD charts http://www.marketcalls.in/eodchart. Or it is already available and whether I am not seeing it in right place or right name.

    Overall the charts, indicators and information in the website is awesome and really helpful for the traders who want to play the game with small amounts in order to understand the game and in the meantime to make some serious money by analyzing the interactive charts and minimizing the risks.

    This is one of the best sites which I come across over a decade.

    Thanks to you and your team for the efforts you are putting.

    If your time permits please advise on the above 2 points.

    Thanks And Regards,
    Thulasee Ram

  53. Dear Rajandran,

    Thanks for the update. I will be looking forward for the same.

    Thulasee Ram

    1. Dear Rajandran,

      Good to hear that you have introduced the NSE Equity and Index interactive charts which will help traders and investors know the actual index movements and stock entry points.

      One thing I noticed is these charts are not updating automatically as per 5 min/10/15/1hour etc. These are getting updated by end of day.

      Could you please have a look at them.

      Once again keep up the great job.

      Thulasee Ram

  54. Dear Rajandran,

    Whether supertrend indicator has been removed from open source. I mean I could not see them in EOD charts or FNO charts today.

    Please advise.

    Thulasee Ram

  55. Dear Rajendran,

    It seems EOD charts were not updated later to 30-Sep-15. Could you please have a look at it.

    Thulasee Ram

  56. Dear Rajendran,

    Just quick query. Are you planning to introduce any new indicators in EOD charts. If so, is there any chance that ‘Moving Average Envelope’ can be added in near future. I think this is a one of the good indicators which will be helpful to traders. Or do we have this indicator/similar indicator available already.

    Please advice.

    Thulasee Ram

  57. Dear Rajendran,

    Adding to the previous comment, I come across the ‘moving average envelope’ indicator in website ‘http://economictimes.indiatimes.com/markets/technical-charts’ which seems to be very good. Hence, if you can introduce the similar indicator in EOD charts it would be great. Also, I observed one thing about the charts in that website where daily charts are live steaming. Can we bring such functionality in market calls as well which would add great value to the traders (and to the charts in marketcalls website) who will be using marketcalls charts as there base for trading although I am not sure on the challenges and feasibility. At present we have the same for 5/15/hourly interval which was introduced 2 months ago.

    My apologies, if this session is not right place to put the above comment.


  58. Dear Rajendran,

    Please ignore my earlier comment on MA Envelope as I see Donchain Channels indicator more or less similar to MA envelope which already exists. But, if possible please try to include daily interval in interactive charts.


  59. Dear Rajendran,

    Looks like now a days EOD charts are not updating properly. Could you please look into the same whether there is any issue with EOD charts. Also is it possible to include daily interval in interactive charts nifty chart.

    Please advise.

    Thulasee Ram

  60. Dear Rajendran,

    i am ur fan of make such strategy.kindly give the scan or explore codes of which stocks is buy in hourly ,15 minute,and also 5minute chat in multi supertrend and also sell .if 3 parmeter happens in which script then it shows in scanning or explore in amibroker

  61. i copied it basic chart folder it showing only 3 time frame boxes & whole window is blank no candles

Leave a Reply

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