Scalper's Channel

8398 3
Credits inline. Enjoy :)
Von Favorisierten Skripten entfernen Zu Favorisierten Skripten hinzufügen
// @author LazyBear
// @credits
study(title = "Scalper's Channel [LazyBear]", shorttitle="weak_volume_dependency [LB]", overlay=true)
length = input(20)
factor = input(15)
pi = atan(1)*4
Average(x,y) => (sum(x,y) / y)
scalper_line= plot(Average(close, factor) - log(pi * (atr(factor))), color=blue, linewidth=3)
hi = plot (highest(length), color=fuchsia)
lo = plot (lowest(length), color=fuchsia)
thank you sir.It will gratefully accepted if any possible strategy example for this. Below one is reference but needs your touch to make it works very well. Main problem in strategy library is if i'm going to use sma(close,1) instead of "high" or "lower" it will not enter on current bar, it's working for next bar rather then the current bar while backtesting. This is common issue.. How do you deal with that ?

//add this for strategy

if (long1)
strategy.entry(id = "Long", long = true, when = long1)
strategy.exit("Long TP", from_entry = "Long",profit =250,stop=250)
if (short1)
strategy.entry(id = "Short", long = false, when = short1)
strategy.exit("Short TP", from_entry = "Short",profit =250,stop=250)
+9 Antworten
i am new to all of this. I am struggling. How does one use this indicator on a different chart?
+10 Antworten
I'll give a try.. Looking for more overlays
+1 Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender So funktioniert es! Chartmerkmale Preise Hausregeln Moderatoren Webseite & Brokerlösungen Widgets Charting Lösungen Hilfe holen Feature-Anfrage Blog & Nachrichten FAQ - Häufige Fragen & Antworten Wiki Twitter
Profil Profileinstellungen Konto und Abrechnung Hilfe holen Veröffentlichte Ideen Followers Ich folge Private Nachrichten Chat Abmelden