The Johnny The Scalper [by Oberlunar] indicator is designed to provide scalpers with insights into market momentum and speed dynamics by analyzing the price movement within candles. It calculates the "candle speed," defined as the range of a candle (high minus low) divided by the elapsed time in seconds since the candle opened. Users can customize the distance for comparison by specifying how many candles back the indicator should look when calculating the speed difference (`Diff`).
The script retrieves the speed of the specified candle from the past (`candle_speed_x`) and compares it to the speed of the current candle, calculating the difference (`speed_difference`). The indicator also identifies whether the current candle and the candle from the past are bullish (green) or bearish (red), using this information to interpret the dynamics of the difference.
If the difference is negative, it means the current candle's speed is slower than the reference candle's speed. A negative difference combined with candles of the same direction suggests a slowdown, while candles of opposite directions indicate a slowing reversal. A positive difference suggests that the current candle is faster. If the candles have the same direction, it signifies an acceleration in the current trend; if their directions differ, it indicates a faster reversal.
The results are displayed graphically as labels on the chart. Labels above the candles show the difference Diff with color-coded backgrounds based on the calculated dynamics:
orange for a slowdown in the same direction,
red for a slowing reversal,
green for acceleration in the same direction,
and blue for a faster reversal.
An additional label below the candle optionally displays the current candle's speed in real time. This indicator helps scalpers identify momentum shifts and potential reversals in a highly customizable manner, adapting to different trading strategies and timeframes.
Sürüm Notları
Added previous Min/Max Speed to the bottom label for faster tracking.
Bu komut dosyası kapalı kaynak olarak yayınlanmıştır ve özgürce kullanabilirsiniz. Bir grafikte kullanmak için favorilerinize ekleyebilirsiniz. Kaynak kodunu görüntüleyemez veya değiştiremezsiniz.
Bu komut dosyasını bir grafikte kullanmak ister misiniz?
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.