Cyclical Path

Category: Indicators By: maurinho Created: June 11, 2018, 8:10 AM
June 11, 2018, 8:10 AM
Indicators
3 Comments

This is a simple indicator, similar to a MACD, which makes the difference between a slow and a faster period of 2 linear regression curves.

  •  buy when the oscillator cross under the zeroline and sell and it crosses over the zeroline

 

// pista ciclica
// buy crossunder zeroline and sell crossover zeroline
// by carlini mauro
//
lenta = linearregression[14](close)
veloce = linearregression[2](close)
pista = lenta-veloce
if pista < 0 then
 color=-1
else
 if pista > 0 then
  color=1
 endif
endif
RETURN pista COLOURED by color STYLE (line)as "velovola" , 0 as "zeroline"

 

Download
Filename: pista-ciclica.itf
Downloads: 193
maurinho Average
I usually let my code do the talking, which explains why my bio is as empty as a newly created file. Bio to be initialized...
Author’s Profile

Comments

Logo Logo
Loading...