The purpose of this indicator is to plot the supposed angle that makes a moving average of X period. The higher / lower the value, the strongest is the trend, it can also be interpreted as the speed of the market.
Other methods of calculation and discussions about this concept in this topic: Discussing the strategy VECTORIAL DAX (M5)
// --- settings
//Periode = 10 //Période de la MM
//nbChandelier= 20 // Nombre de chandeliers sur lesquels on évalue la pente
// --- end of settings
MM = Exponentialaverage[Periode](close)
ADJASUROPPO = (MM-MM[nbchandelier]*pipsize) / nbChandelier
ANGLE = (ATAN(ADJASUROPPO))
if angle>0 then
r=0
g=255
else
r=255
g=0
endif
RETURN angle coloured(r,g,0) style(histogram) as "Angle", 0 as "level 0"
You must be logged in to post a comment.
Salut Balmora, Ton indicateur est plutôt intéressant :) Penses-tu qu'il soit possible de l'adapter avec Ichimoku de manière à obtenir l'angle de la Tenkan et de la Kijun ? Réaliser un screener sur cette base serait super intéressant. Merci d'avance
Hello, can you explain to me what are "pipsize" and "ATAN"? What functions do they have and what values do they usually have? Thank you for your help.