TradingView
Dreadblitz
Dec 29, 2019 7:13 PM

Quadratic Semaphore 

Euro Fx/U.S. DollarFXCM

Description

The quadratic semaphore indicator is an indicator that find confirmed market u-turn with the help of 2 quadratic regression calculated with Highs and Lows over the last “length” periods.

- “p” setting is candlesticks quantity to confirmed the quadratic regression has formed a High or Low parabola, such as Fractals. Consecutive same signals can happen due to the use of different price values for upper and lower semaphore.

- Adjust the settings to your instrument and time frame.

- Alerts included.

Success with your trade¡¡
Comments
theheirophant
You should give original author credit (nick from PRC) you copy/pasted his code exactly...
Beckham_Nine
What do you suggest for P & Length Settings if this is for 5 or 15 minute Time Frame?
alexgiul
I am not able to understand this part of code:
for i = 1 to period-1
if qr<hh
countH:=countH+1
if qrl>ll
countL:=countL+1

for i = period+1 to p+1
if qr<hh
countH:=countH+1
if qrl>ll
countL:=countL+1

hh is the delayed version of qr (qr is calculated on "length" candles)

May I ask some hints from any genius?
RasanRavandi
you the best my friends
Dreadblitz
@RasanRavandi, thank you very much greetings
judiosman97
hi sir , i have question can u add alert to this indicator ex indicator sending to u buy or sell
.
,
JoshuaMcGowan
very interesting!
Dreadblitz
@JoshuaMcGowan, thanks buddy greetings
Shortnote1
@Dreadblitz, thanks for the great work man
MiyagiRy0ta
Will be doing some testing with this and will provide feedback, looks great :D
More