Kagi on price chart

v10.3
Kagi on price chart

Kagi is a type of graphic representation that comes from Asia. This type of price chart is distinguished by the fact that one draws a Kagi type graph taking into account only the price. Indeed, even if time is represented on the abscissa axis, the time scale is not linear. This type of chart is convenient to follow the trend.

The horizontal lines have no real meaning, their role is to give continuity to the price. These horizontal lines are called inflection lines.

Two variables stand out with the Kagi, the color and the sense of the lines. These two variables depend on the direction of the market:

  • The line is again in the same direction and the same color as the previous line when prices go in the same direction.
  • The color remains the same, but the direction of the line is opposite when the prices exert a reversal of a fixed amount in advance (we speak of threshold of reversal).
  • The color and the direction of the line change when there is a break of a lower or higher observed in the past.

There are two methods of using Kagi:

  1. We buy when there is a turnaround and sell when there is a downturn. In other words, color changes are buying and selling signals.
  2. We expect confirmation of two or three breaks higher or lower after a change of color to switch to the long or short order.

In this indicator you can choose which type of reversal you want: a percentage amount of price , or a fix points/pips amount. Set one of the reversal setting to 0 will deactivate it to use the other one.

 

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. asbah247 • 09/05/2019 #

    hi nicolas.. how ru.. can u help me code ross hook for tradingview#

    • Nicolas • 09/05/2019 #

      Hi, we do not offer free assistance for tradingview programming. You can send us a query to the programming services: https://www.prorealcode.com/trading-programming-services/

  2. jobswaps • 09/05/2019 #

    Hola has un indicador donde trase una linea de tendencia con uniendo los maximos de un mes y otro con los minimos de un 1 mes y tambien que se por barras o velas

    • Nicolas • 09/05/2019 #

      Por favor haga preguntas en nuestros foros. Abra un tema individual para cada una de sus solicitudes.

  3. Jan Wind • 09/05/2019 #

    “There are two methods of using Kagi:
    We buy when there is a turnaround and sell when there is a downturn. In other words, color changes are buying and selling signals.”

    I will give it a try to develop a trading strategy based upon the advice above for buying and selling, I do this for the DAX index, and I will use 5 minutes, and with confirmation of the higher MTF of 10 minutes,
    For example coded as Buying when the Kagi in 5 min MTF is minimal equal to the previous bar (turning point) and the Kagi in the 10 min MTF is minimal equal to the previous 10 min bar and smaller then the 5 min Kagi (confirmation), with opening only in morning hours. See if that will deliver profitable trades.
    Or the other way around, for example coded as Buying when the Kagi in 10 min MTF is minimal equal to the previous bar (turning point) and the Kagi in the 5 min MTF is minimal equal to the previous 5 min bar and the 5 min Kagi > 10 min Kagi (confirmation), with opening only in morning hours. See if that will deliver profitable trades.

    • Nicolas • 09/05/2019 #

      Thanks, let us know how it is going?

  4. Jan Wind • 09/05/2019 #

    Hallo Nicolas,

    I have tested the pre-mentioned concept, and had to change the concept :
    1. buy when Kagi is greater then the previous Kagi AND ( for a higher timeframe Kagi is greater then previous Kagi or Kagi is equal to previous Kagi ). Vice versa for selling. I used time frames of 3 minutes and 6 minutes and 2 minutes and 4 minutes
    2. buying between 8 and 15 hr CET, no more then 2 opening transactions per day, regardless in the market with a position or not
    3. add a trailing stop, which is the exit strategy and a stop-loss to protect significant losses.
    4. I varied with the ReversalAmountPercent and the trailing stop, the smaller timeframes, the greater the reversal% seems to be for best results.

    Good and relative steady profits seems to appear for the indices, it seems not to work with currencies.
    Disadvantages of the strategy is that the trades are for a long time in the market (interest costs for ETFs) and only a few trades are generated ( +/- 40 in a year) , which reduces reliability significantly.

    But overall promising !
    Kind regards, Jan

  5. Bateson • 09/05/2019 #

    Bonjour Nicolas
    j’ai chargé le fichier ITF mais il ne semble pas fonctionner : il crée un indicateur grisé sous le graphique avec une ligne au milieu, mais pas de tracé sur le graphique lui même. J’utilise la dernière version de PRT : peut-être n’est il pas adapté pour cette version ? Si c’est le cas, existe-t-il une version actualisée ? Avec mes remerciements

    • Nicolas • 09/05/2019 #

      il faut le placer sur le prix

    • Bateson • 09/05/2019 #

      Merci pour la réponse Nicolas. C’est bien ce que j’ai fait mais ça ne fonctionne toujours pas. J’ai mis 1.5 comme valeur sur la ligne 38 et 0 sur la ligne 15 pour prioriser les points et essayé sur UT 2mn et 15mn. Peut être le problème vient il de là où de l’UT choisie ? J’ai dernier version de PRT

  6. Enzo Paliotti • 302 days ago #

    Veramente ottimo, era quello che cercavo, si potrebbe modificare inserendo come variazione atr? Grazie

    • Nicolas • 300 days ago #

      Perché no, chiedetelo con una descrizione dettagliata nel forum degli indicatori, per favore!

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Iván
2 months ago
Madrosat Bonjour ivan Quelle différence il y a t il entre Extra trend et ultra trend lequel est le p...
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, 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
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...
kats Bonjour, J'ai une question etes vous trader? Je m'explique , j'ai téléchargé tous les indi...
Faisalx Hola Ivan. Thanks for your great job. I would appreciate if you have look at my request http...
roccafragius Thank you for all these useful information!! Very great job Ivan! THank you so much
geroniman Merci Ivan, super travail. On peut toujours compter sur toi pour apporter des innovations su...
Stenozar Ciao IVAN , mi da errore per la riga 49 "print tema low"; puoi suggerirmi la modifica da met...
Iván Avete provato a scaricare il file .itf?
AndyB72 Caricato ora sulla V12, nessun errore.
Iván Allora crei un nuovo post. Lo aspetterò.
Stenozar Ciao Ivan, ho inserito il post con la richiesta di traduzione. Se puoi vedere, grazie!
Iván perfect!
kats BONSOIR c bon merci j ai trouve ce weekend merci de votre reponse cdlt
the_giorgio Hi, nice work I would like to understand something about prorealtime code. With your ...
Iván Hello. When you use the drawcandle() instruction then in the configuration window you add ...
Gaspare Ciao Ivan si puo' inserire una strategia su questo indicatore per ottimizzare le variabil...
Iván
9 months ago
Iván Si lo descargas e importas en tu PRT verás que se han creado las variables para luego config...
WhyAskOZ Hi, Ivan As always you are doing great coding. The code works on my PRT, however the issu...
Iván You can delete in the last line (return) the configuration for color. Delete coloured(xx,xx,...
Bernard13 (Je réécris mon commentaire -français- en français car certains mots ne correspondaient pas ...
Iván 1000 indicateurs !!! brutaux
Lean Me parece muy buen indicador, y se complementa muy bien en mi sistema, ¿podrías crear un scr...
Iván Gracias! Para el screener sólo tienes que copiar el indicador y poner como condición de búsq...
Lean Muchas gracias Iván, ya lo he podido crear.
Doddge Hola Iván, ¿sería posible crear un screener que indique cuándo las velas coloreadas del indi...
RTR Ivan thank you for the pro-screener. I a trying to understand how to write the signals from ...
Iván Hi, Lines 62 and 63. These lines define buy and sell conditions.
Iván Hi You should delete from the indicator code all drawing functions and all variables not us...
Iván I've created a screener to show [longcondition or shortcondition]
Chrisinobi Hallo Ivan, Danke das ist Perfekt !! Kannst du bitte in der Screener-Bibliothek die itf. hoc...
MaoRai54 Thanks, now it's OK. in your first code at line 15-16 it's missing.
Madrosat Hello Ivan Did you try a strategy with this indicator
Iván Hi. No I didn't. This is a code translation requested by an user a few days ago.
Iván
10 months ago
cjr30 Simplemente modifica las lineas 19 y 21 por las siguientes: drawtext("▲",barindex,low-0.1*a...
groelandes Gracias!!
WhyAskOZ i copied the code into strategy and it gives error on line 21 and 23. it says " Line 1: ...
Iván
10 months ago
Madrosat Hello Ivan You have interesting topics on indicators , smart supertrend, optimised trend t...
Iván Hi! thanks. All of these codes are translations requested in the forum. I've on mind to back...
Raspete01 Buenos días Iván, estoy intentando llevar el código eliminando los colores y pasando un Back...

Top