Alan Kelland’s Box – DaBox

v10.3
Alan Kelland’s Box – DaBox

This indicator is in relation to the Alan Kelland’s trading method called the “Alan Square” or “DaBox”. You might find a lot of information about this on the internet.

It has been coded from its description, requested in the English forum.

The indicator can plot the Alan Square from different time horizons:

  • 0 = daily timeframe
  • 1 = weekly timeframe
  • 2 = monthly timeframe
  • 3 = yearly timeframe

Some useful infos about the indicator:

A draw tool growing in popularity is the Alan Square, named after its inventor Alan Kelland.  Alan’s method is first and foremost price action.  The square serves as a structure to create

  • Opportunities
  • Targets and
  • Protection

The most important aspects are to look for only the best quality setups, focus on identifying follow through bars, and never fade a zone (i.e., never sell a support zone, never buy a resistance zone).

Background
Alan developed his methods trading the ten-minute all-sessions Dow Jones Index futures (YM contract).  This article and the trading strategies described reflects his work using that instrument.  They are suggested uses only and as such are not a complete compilation of all his methods.  However, traders have successfully applied the square to the S&P futures, DAX, Crude Oil, Euro, Bund, Bond, Russell and even stocks.  Similarly, while the method is geared towards 10-minute bars, Alan has also used the square on various intra-day time frames and Daily charts.  You are encouraged to experiment and find what works for you.

Though Alan does not use indicators (e.g., MACD, Stochastic, etc), many traders do and have added them to their charts.  Price action strategies that Alan has shared to take advantage of these opportunities, protections, and targets are summarized in this article.

Components
The major components of the Alan Square are:

1) Angulars

  • a) Major – Up and Down angulars from the High, Low, and square Midpoint.
  • b) Minor – Up and Down angulars parallel to the Major, but from the 25% and 75% quartiles.

    Note: Only Major angulars create opportunities.  Minor angulars are primarily used for protection.

2) Quartiles

  • Yesterdays Low – 0% level  (See below for how to determine Daily High and Daily Low)
  • Yesterday’s High – 100% level
  • Midpoint – 50% of yesterday’s Daily High and Daily Low
  • Quartiles 25% and 75% of yesterday’s High-Low range
  • Extensions (125% to 200% or more of High-Low range)

 

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Maxime Baudin • 08/07/2018 #

    Really interesting! Thanks for sharing, have a great summer!

  2. Onega • 08/07/2018 #

    Sorry, a quick question I cannot see on forum please ?…Using ProScreener, how can we get the full list of stocks that meet the criteria, not just the top 50 ?
    Thank you,

  3. Pepsmile • 08/07/2018 #

    Interesting !
    Anybody knows how could we add 4 hours timeframe simply to the 4 timeframes proposed without using the new timeframe feature available only in Probacktest ?

    • Nicolas • 08/07/2018 #

      The indicator may be not as accurate with the initial version, see discussion here: https://www.prorealcode.com/topic/req-alans-box/
      I’m waiting for a reply from @rapid

  4. maurizio • 08/07/2018 #

    A me non funziona errore nella riga 11 e 13

  5. maurizio • 08/07/2018 #

    //PRC_Alan Kelland’s Box | indicator
    //07.08.2018
    //Nicolas @ http://www.prorealcode.com
    //Sharing ProRealTime knowledge

    // — settings
    alpha = 100 //alpha transparency of angular lines
    mymyTimeframe = 0 //0=daily , 1=weekly , 2=monthly, 3=yearly
    // — end of settings

    defparam drawonlastbaronly=true

    if myTimeframe=0 then
    hh=dhigh(1)
    ll=dlow(1)
    if intradaybarindex=0 then
    startbar=barindex
    endif
    elsif myTimeframe=1 then
    if DayOfWeek<DayOfWeek[1] then
    hh = Highest[BarIndex – lastWeekBarIndex](High)[1]
    ll = Lowest[BarIndex – lastWeekBarIndex](Low)[1]
    lastWeekBarIndex = BarIndex
    startbar=barindex
    Endif
    elsif myTimeframe=2 then
    If MonthMonth[1] then
    hh = Highest[BarIndex – lastMonthBarIndex](High)[1]
    ll = Lowest[BarIndex – lastMonthBarIndex](Low)[1]
    lastMonthBarIndex = BarIndex
    startbar=barindex
    endif
    elsif myTimeframe=3 then //yearly myTimeframe
    if year>year[1] then
    hh = Highest[BarIndex – lastYearBarIndex](High)[1]
    ll = Lowest[BarIndex – lastYearBarIndex](Low)[1]
    lastYearBarIndex = BarIndex
    startbar=barindex
    endif
    endif

    //horizontal
    drawvline(startbar) coloured(0,0,255)
    drawsegment(startbar,ll,barindex,ll) coloured(0,0,255)
    drawsegment(startbar,hh,barindex,hh) coloured(0,0,255)
    midpoint=(hh+ll)/2
    drawsegment(startbar,midpoint,barindex,midpoint) coloured(0,0,255)
    quartile=(hh-ll)/4
    drawsegment(startbar,ll+quartile,barindex,ll+quartile) coloured(200,0,0)
    drawsegment(startbar,ll+quartile*3,barindex,ll+quartile*3) coloured(200,0,0)

    //angulars
    mid=quartile*2
    for i = 0 to 10 do
    drawline(startbar,ll+mid*i,barindex,hh+mid*i) coloured(0,191,255,alpha)
    drawline(startbar,ll-mid*i,barindex,hh-mid*i) coloured(0,191,255,alpha)
    drawline(startbar,hh-mid*i,barindex,ll-mid*i) coloured(0,191,255,alpha)
    drawline(startbar,hh+mid*i,barindex,ll+mid*i) coloured(0,191,255,alpha)
    next

    return

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Iván
1 week ago
Madrosat Bonjour Ivan je ne sais pas si je dois écrire en Français ,anglais ,espagnol ,il y a les 3 ...
Iván Bonjour, la vérité est que ce n'est pas aussi facile qu'il n'y paraît.... Un indicateur peut...
Madrosat Merci Ivan j'espère que ce jour viendra bientôt , je sais que ce n'est pas facile car les in...
Iván
3 weeks ago
Madrosat Bonjour ivan Quelle différence il y a t il entre Extra trend et ultra trend lequel est le p...
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
Iván Hi. You could add these lines of code: if intradaybarindex=0 then varhigh=round((dhigh(...
RTR Edit
@toniyecla ¡gracias! más capturas aqui: https://www.prorealcode.com/wp-content/uploads/2024/10/IC...
robert123 I had a go at the 'order block' version- badly done I'm sure....but a start. // Sonarlabs ...
robert123 take ''sens1 = 5'' out and put ''rango'' in as variable
@toniyecla captura: https://www.prorealcode.com/wp-content/uploads/2024/10/sesiones_v3.png
@toniyecla y más opciones: añade una línea también en sesiones EUROPA y USA (configurable) y un texto o...
@toniyecla // Author: toniyecla - contact@rescommunesomnium.com // VARIABLES // EspHorarioVerano (b...
Alai-n Hello, take a look at this formulation made by "Blade106", Topic link attached post #227334....
@toniyecla ¡interesante acercamiento! (no lo conocía, simplemente tuve la necesidad y lo programé) pers...
Iván
1 month ago
MaoRai54 dear Ivan, it seems to be very interesting but please clarify what are all the lines I see i...
Iván Hi! you have the answer in the last line of code... MacdMiddle as "histo" style(histogra...
kats Le Top , a utiliser avec le nuage violet et alerte TN pour plus de précision.
roccafragius Hello Ivan, another great Indicator, very useful to trace the trend ( blue line) and the pos...
roccafragius Hello Ivan, very good job! May I ask you to translate teh script from TradingView named Tre...
Iván Hi! yes. You can ask for it here: https://www.prorealcode.com/free-code-conversion/
roccafragius Thank you so much Ivan! I created this request in english Translate from TradingView Indicat...
Regisnew très bel indicateur merci
jordan //---settings MAmode=0 Period=150 NumberOfMA=100 //---end of settings MA2=undefined ...
jordan dites moi si cela correspond à ce que vous cherchez
kats bonjour merci de ta reponse mais non ca fonctionne pas sympa quand même d'avoir essayé cdlt
Jean2139 Bonjour Yvan, Merci pour ton indicateur que je trouve très intéressant. Je suppose que tu ...
Suffi Hier eine kleine Korrektur: //-----Inputs-----------------------------------------// MALengt...
adeelq79 Hi Ivan, thank you for this indicator. Is it possible to include the volume of buys and sell...
achel J'ai la même erreur sur ligne 1 avec une importation dans les règles de l'art. Comment faire?
Iván Cela est probablement dû au fait que vous avez une ancienne version de l'outillage. Vérifi...
Iván
4 months ago
Iván Hola javier gracias! es importante realizar buenos backtest antes de lanzarse al mercado y ...
achel I have an error with "fillcolor" - How to solve this? / J'ai une erreur avec "fillcolor" - C...
Iván Hi! This is because you are not with V12. Just delete fillcolor

Top