// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org // © DebbyLe1487 //@version=5 indicator("Triple supertrend", overlay = true, format=format.price, precision=2) Periods_1 = input.int(title="ATR Period 1", defval=10) Multiplier_1 = input.float(title="ATR Multiplier 1", step=0.1, defval=1.0) Periods_2 =...
The Central Pivot Range (CPR) indicator is a powerful tool used in technical analysis to identify potential support and resistance levels. It provides valuable insights into intraday price dynamics and helps traders make informed decisions. Key Features of CPR: Calculation: CPR is calculated based on the previous session’s (day, week, or month) high, low, and...
Dynamic EMAs (21 EMA, 50 EMA, 200 EMA) 3 Dynamic Exponential Moving Averages. The 21 Day Moving Average, the 50 Day Moving Average and the 200 Day Moving Average.
Multi-Timeframe 200 EMA, "15" "30" "60" "240" "720" "D"
Library "Thuvien_publish" Thư viện build Strategy entry_volume_func(risk, entry, sl) Hàm tính khối lượng vào lệnh Parameters: risk (float) entry (float) sl (float) Returns: entry_volume: trả về khối lượng cần vào tp_sl_func(sl, entry, rr) Tính TP/SL theo RR cho trước Parameters: sl (float) entry (float) rr...
Library "VandelayIndicatorLib" Art Vandelay's Indicator library STC_VIL(EEEEEE, BBBB, BBBBB) Schaff Trend Cycle Calculations Parameters: EEEEEE (int) : = Slengt, BBBB = FALenght, BBBBB = SLOLenght BBBB (simple int) BBBBB (simple int) Returns: Long : mAAAAA > mAAAAA - Short : mAAAAA < mAAAAA stc(source, fast, slow, cycle, d1, d2)...
Library "Complex" This library includes user-defined complex type, and functions to perform basic arithmetic operations on complex numbers. real(radius, angle) Calculates the real part of a complex number based on its polar coordinates. Parameters: radius (float) angle (float) imag(radius, angle) Calculates the imaginary part of a...
Library "Binary" This library includes functions to convert between decimal and binary numeral formats, and logical and arithmetic operations on binary numbers. method toBin(value) Converts the provided boolean value into binary integers (0 or 1). Namespace types: series bool, simple bool, input bool, const bool Parameters: value (bool) :...
Library "ChartUtils" Library for chart utilities, including managing tables initTable(rows, cols, bgcolor) Initializes a table with specific dimensions and color Parameters: rows (int) : (int) Number of rows in the table cols (int) : (int) Number of columns in the table bgcolor (color) : (color) Background color of the table Returns:...
Library "TradingUtils" Utility library for common trading functions calcVariation(price, threshold) Calculates variation of a price based on a threshold Parameters: price (float) : (float) The price to be varied threshold (float) : (float) The threshold for the variation Returns: (float) The varied price sendAlert(action, symbol, orderType,...
Library "SessionBox" This library provides functions to manage and visualize session boxes and labels on chart. A session box is a visual representation of a trading session with properties like time, name, color and the ability to track the high and low price within that session. SessionBox SessionBox: stores session data and provides methods to manage...
Just a simple Bitcoin halving countdown Set up for the 2028 halving with the block height set at 1050000 Block height can be setup in the script settings for future halving We don't have real time on-chain data on TradingView, so the script will update only once a day with a lag of one day (GLASSNODE data) until we get live data. If you have any...
Library "TRIG" degreesToRadians(degrees) Parameters: degrees (float) radiansToDegrees(radians) Parameters: radians (float) rt_get_angleAlphaFromLine(x1, y1, x2, y2, inDegrees) Parameters: x1 (int) y1 (float) x2 (int) y2 (float) inDegrees (bool) rt_get_angleBetaFromLine(x1, y1, x2, y2)...
Library "ALGEBRA" line_fromXy(x1, y1, x2, y2) Parameters: x1 (int) y1 (float) x2 (int) y2 (float) line_getPrice(x, slope, yInt) Parameters: x (int) slope (float) yInt (float) line_length(x1, y1, x2, y2) Parameters: x1 (int) y1 (float) x2 (int) y2 (float) distance(x1, y1, x2, y2)...
The Indicator calculates the total number of the death and golden crosses in the total chart which can help the moving average user to compare the number of signals generated by the moving average pair in the given timeframe. If Indicator is not plotting anything then right click on the indicator's scale and click on "Auto(data fits the screen)" option. Please...
Library "ImrLibrary" TODO: add library description here STG(Length) TODO: add function description here Parameters: Length (int) Returns: TODO: add what function returns ISI(Length) Parameters: Length (simple int)