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

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

    • Nicolas • 09/05/2019 #

      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
GraHal Yes sorry, I set up a link to a screen shot on my google drive and then I got locked into th...
gabri Here's the thread https://www.prorealcode.com/topic/multiframe-rsi-of-rsi/
Bernard13 Bonjour Nicolas, Pourriez-vous m'indiquer si cet indicateur fonctionne avec la V11 ? Le di...
HeikinAshi Do you have an update of this indicator since you've created them, or is this still the actu...
mcha Thank you for this work. Do you try to transform/put this indicator on candlesticks and is ...
David Balance thanks for sharing this excellent indicator.  Here are some thoughts.  please ad...
reb Hello Marc your strat seems very intersting, will take a look Reb
897148 What exactly is meant by Total price? Is r1 =28 in your example the no of days for "Total P...
otty82  THX looks good!
century nice one , thank you
arvindrao01 Hey! Does anyone have a pinescript (tradingview) code for this?
imokdesign Hi Everybody, when I look at the strategy I felt the need to implement a Moneymanagement-Sy...
Inertia newlevel then multiplier=multiplier+1 oldlevel=newlevel newlevel=strategyprofit+startequi...
Inertia Hi Bjoern, I was playing around with your code this morning (EUR/USD 5'). Thank you to the...
CavalierDeCesDames Bonjour Nicolas, Thanks for your use full job. I tried this indicator on a shorter timefram...
Nicolas You are welcome. I'm glad you like it.
Bolbo It does not appear over the price indicator on V11. Thanks in advance.
bearbull As per PhilipSchultz question above, has anybody managed to add code for when it turns blue,...
Ybr35 Bonjour Nicolas, lorsque je lance l'indicateur, il m'est indiqué que je dois définir les var...
Nicolas L'idéal est de télécharger le fichier itf joint sur cette page et de l'importer dans la plat...
Nicolas Merci dans ce cas d'ouvrir un sujet dans le forum ProScreener svp.
Andrea Hi Nicolas, thx for your code. Please i need your help to understand this part of your code:...
Nicolas the MA200 is ascending since 20 periods.
Regan2020 Hi, has anybody update the above code to enable on a 15m or 5m TF?
gigi64 ik heb de code op mijn pro realtime gezet , en bij indicator staat hij erbij maar komt niet ...
gigi64 I have put the code on my pro realtime, and it is on the indicator, but it does not appear o...
supertiti Thanks you so much Lucassen
dreif123 hi, copied the above code, not working on 10.3 the system says "return can only be used at ...
LUCASSEN Hallo , i have no problem , and i have the same versie 10.3, maybe you can ask Nicolas, tha...
Krallenmann Hallo Nicolas, kannst du mir die Regeln für den Halftrend Indikator sagen? Aus dem Code kann...
davefransman Dear Nicolas, i want set a alert on the "HalfTrend "custom moving average" met Heikin Ashi w...
Nicolas Please post the question in a new forum topic, that would need custom coding I believe.
Lyam Pareil ne marche pas dommage
ahmedbouaziz89 Bonjour, quand j'ajoute le code ou le fichier dans l'outils screeners de Prorealtime je ne v...
tyvix Bonjour le code marche bien c est juste qu'il n y a pas d opportunité au moment ou vous le...
verdi55 Is there such a thing as a free lunch ?
maceng Thanks Nicolas for this great work! I would like to understand the math behind it in order t...
Nicolas Sorry I have no time to provide assistance for python programmers. Have a good day.
Maz Hi all, firstly happy to know that this is helping you. I look into updating it for PRT11 wh...
Nicolas just use 3 times a linear regression channel code you will find in the library.
leederbyshire Here's the link to alternative linear regression channel indicator Nicolas is referring to t...
Wing Yes, investigate as much as you want. For more insight, you can view the linet1, linet2 etc....
CKW Hi Wing, Thanks for your sharing. I am still trying to breakdown & understand your code...
Wing Hello CKW. No, the parameter, 7 in this case, is used when calling the RSI indicator to ide...
Nicolas Je vais faire l'indicateur et expliquer comment en même temps dans un sujet de forum. Plus s...
gregus merci nicolas toute ma gratitude est pour toi sa sera bien pratique car je pense ne pas etre...
Nicolas Ok merci donc d'ouvrir un sujet spécifique pour cette demande donc :) 
algotrader This indicator looks coolBut on attempt to use it for a strategy dev'I get an error.."The in...
dajvop @algotrader if you at the bottom of the code add: RETURN Buffer1 as "up", Buffer2 as "down",...
Bateson Si cela peut servir, l'indicateur Sadukey a été créé en utilisant un générateur de filtre ap...
Nicolas
9 years ago
ALMA MACD
ALMA MACD
7
Indicators
Arnaud HALVICK Great indicator, thank you!
JMat45 Hi Nicolas, just reviewing this indicator and noticed that you have double assigned the vari...
Nicolas That would not make any difference because the code is read from top to bottom.
MikeGC I don't know if you have used the variables a and b to optimise the parameters for the Super...
gianpiero75 I have not optimized, I multiplied the parameters for 6 (5,8), to use them on the 4  hoursTF...
bertrandpinoy bonjour Mike j utilise TrendChaser V2.0 et quand il prend position cela ne programme pas le ...

Top