Retracement Level Trigger

I use the simple script to notify me when a retracement level has been met. I use the SMS alert to tell me when a specific retracement level has been met from a local pivot a high or local pivot low. Please let me know what you think. Feel free to make improvements and repost.
Von Favorisierten Skripten entfernen Zu Favorisierten Skripten hinzufügen
// script written by Paul Johnson: minorplanet2
//  use this script to set triggers on Fibonacci retracement levels.
len=input(15,title="Lookback Length") //how far back to look for max pivots and min pivots
retr=input(0.382,title="Retracement Ratio",type=float)
base=input(50,title="Pivot Value", type=float) //  set the value of the fixed pivot from which to draw the retracement
// calculates the retracement value for the range between the pivot input and the local min or max
// if the retracement from the local pivot high is met, a value of -1 is returned
// if the retracement from the local pivot low is met, a value of +1 is returned
plot(tri,title="retracement met:-1/1")


Doesn't work anymore when i add to any NASDAQ chart like KHC. Any ideas why it won't work ?
+1 Antworten
can you make it so it only does a,b,c and that restarts at a?
+1 Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender So funktioniert es! Chartmerkmale Preise Einen Freund empfehlen Hausregeln Hilfe Center Webseite & Brokerlösungen Widgets Charting Lösungen Lightweight Charting Library Blog & News Twitter
Profil Profileinstellungen Konto und Abrechnung Einen Freund empfehlen Meine Support Tickets Hilfe Center Veröffentlichte Ideen Followers Ich folge Private Nachrichten Chat Abmelden