Amibroker: How To Plot Your Trading System On A Chart (incl. Buy/Sell Arrows)

Line1

Beginners Course  |  Intermediate Course  |  Amibroker Course

Seeing your trading system visualized on a price chart is one of the best, quickest and easiest ways to determine if you like it, if you can follow it, or even if it is working as you want it to.

Further still, if you can overlay it on a chart with buy and sell arrows, you can see exactly where it is you would be buying and selling, giving you instant feedback on your system.

The video below is great lesson on how to plot your trading system on a chart so you can see it, including buy and sell arrows.  Check it out!

http://youtu.be/nSNxpnOA_Uk

How We Enter Our Code

To plot something on a chart, we use the “Plot” function.  Once we type “Plot”, we open our bracket, ” ( ” and Amibroker will tell us what it expects us to put in.

For the sake of the video, I have plotted the Array we set up, BolliTop and BolliBot, given them a name using inverted commas, ” “, and then given it a colour and a style.  You can see more info on choosing colours and styles for your plot at the Amibroker Website.

Then we plot the buy and sell arrows, using Buy*(our array).  Again, in this example I use the Array I set up before, BolliTop.  And the real tip here, is where we place our arrows – we tell Amibroker to show the arrow at the Array we set up, instead of say the high or low of the bar, which you could also do.

I hope this helps, happy trending and enjoy!

– Dave McLachlan

Beginners Course  |  Intermediate Course  |  Amibroker Course Home

Videos in the FREE Amibroker Course:

  1. Amibroker: How To Import A Watchlist With A CSV File
  2. Amibroker: How To Backtest A Single Stock Or Index
  3. Amibroker: How To Backtest a Portfolio or Group of Stocks
  4. Amibroker: How To Optimize A Trading System
  5. Amibroker: How To Scan The Market For Buy And Sell Signals
  6. Amibroker: How To Use Explore To Find And Filter Stocks
  7. Amibroker: How To Add Position Sizing Using AFL
  8. Amibroker: How to Add An Index Filter To Your Trading System Using AFL
  9. Amibroker: How To Plot Your Trading System On A Chart (incl. Buy/Sell Arrows)
  10. Amibroker: How to Use the If, Then Else Function (IIF)
  11. Amibroker: How to Code the ATR Trailing Stop (Chandelier) using ApplyStop
  12. Amibroker: How to Plot ApplyStop on a Chart
  13. Amibroker: How to Code Van Tharp Position Sizing (Fixed Fractional)
  14. Amibroker: How to “Scale In” to Positions (1) – Buying Once a Month
  15. Amibroker: How to “Scale In” to Positions (2) – Pyramiding Three Times
  16. Amibroker: How to Use “Cross”, When One Thing Crosses Another
  17. Amibroker Advanced: How to Compare Equity Curves

FREE Trading System Video Lessons:

  1. 7 Free Trading Systems and Their Returns From The Last 13 Years
  2. Seven Full Trading Systems Revisited, With Completely New Data
  3. Trading System: How to Create A Buy and Hold Trading System
  4. Trading System: How to Code “Sell In May And Go Away”
  5. Trading System: How to Code a Moving Average Channel That Made 23% p.a
  6. Trading System: How to Code Highest Highs As Used In 52 Week Highs Or Turtle Trading System
  7. Trading System: How to Code a Bollinger Band Breakout Trading System
  8. Trading System: How to Code a Moving Average Crossover That Returned 28% per annum
  9. Trading System: How to Refer to Previous Signals For MAup Trading System
  10. Trading System: How to Code the Leap Of Faith (Gaps) Trading System That Returned 24% p.a.
  11. Trading System: How to Code a Short Selling System (Plus Results)
  12. Trading System: Meb Faber Trading System Using Different Timeframes
  13. Trading System: How to Code the Three Billion Dollar Trading System

FREE Amibroker Q & A Videos:

  1. Amibroker Q & A: How To Do A Monte Carlo Test? (on ALL versions)
  2. Amibroker Q & A: Visualising Monte Carlo Data with Histograms and Scatter Plots
  3. Amibroker Q & A: How to Create the 52 Week High/Low Index with AddToComposite
  4. Amibroker Q & A: How to Code Trend Pilot: Five Consecutive Days Above or Below a Moving Average
  5. Amibroker Q & A: Three “Hacks” To Improve Your Coding Skills
  6. Amibroker Q & A: How to Remove Excess Signals

June 30, 2013  Tags: , , , , , , , ,   Posted in: Amibroker, Amibroker Course

3 Responses

  1. Mike S - January 22, 2015

    Thank you for the great videos, I’m learning a lot. I hope you continue to add to the list.

  2. John - June 14, 2015

    Congratulations! You are a great teacher and for sure inpirers a lot of people. Is it possible to build a system with buy & sell using both BB and RSI? I think this would make your system even more effective. Cheers

  3. Dave McLachlan - June 20, 2015

    Hey John,
    Nice suggestion! What did you have in mind? I thought maybe it could be done in two ways – a Mean Reversion system with price at the bottom band and below 30 RSI for example, or a Trend Following system with price through the upper band and above 50 RSI, for example.

    Both would be very interesting to get some results on. I’m thinking about doing some more videos soon… this would definitely be on the list.

    Cheers – Dave

Leave a Reply