Bollinger Bands + RSI Strategy//@version=5
strategy("Bollinger Bands + RSI Strategy", overlay=true,
description="This is a trading strategy based on Bollinger Bands and RSI. The strategy generates buy and sell signals based on price action and market momentum. It buys when the price crosses above the lower Bollinger Band while the RSI is below 30 (indicating oversold conditions). It sells when the price crosses below the upper Bollinger Band while the RSI is above 70 (indicating overbought conditions). Positions are closed when the price crosses the middle Bollinger Band (the moving average).")
// Bollinger Bands parameters
length = input.int(20, title="Bollinger Bands Length")
src = input(close, title="Source")
mult = input.float(2.0, title="Bollinger Bands Multiplier")
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper_band = basis + dev
lower_band = basis - dev
// RSI parameters
rsi_length = input.int(14, title="RSI Length")
rsi = ta.rsi(src, rsi_length)
// Plot Bollinger Bands
plot(upper_band, color=color.red, linewidth=2, title="Upper Bollinger Band")
plot(lower_band, color=color.green, linewidth=2, title="Lower Bollinger Band")
plot(basis, color=color.blue, linewidth=1, title="Middle Band")
// Buy Condition
buy_condition = ta.crossover(close, lower_band) and rsi < 30
if buy_condition
strategy.entry("Buy", strategy.long)
// Sell Condition
sell_condition = ta.crossunder(close, upper_band) and rsi > 70
if sell_condition
strategy.entry("Sell", strategy.short)
// Exit Conditions (optional: use the middle Bollinger Band for exits)
exit_condition = ta.cross(close, basis)
if exit_condition
strategy.close("Buy")
strategy.close("Sell")
// Optional: Plot RSI for additional insight
hline(70, "Overbought", color=color.red)
hline(30, "Oversold", color=color.green)
plot(rsi, color=color.purple, title="RSI", linewidth=1, offset=-5)
Indikator Bill Williams
NguDanIndex - Ultimate Trading Indicator🔍 Giải thích chỉ báo hoạt động thế nào?
NguDanIndex là một chỉ báo kỹ thuật kết hợp giữa EMA Clouds và tín hiệu đảo chiều để giúp trader xác định xu hướng thị trường và các điểm vào lệnh tiềm năng.
Hệ thống EMA Clouds:
Sử dụng hai đường EMA nhanh và EMA chậm được vẽ trực tiếp trên biểu đồ giá.
Khi EMA nhanh cắt lên EMA chậm → Xu hướng tăng.
Khi EMA nhanh cắt xuống EMA chậm → Xu hướng giảm.
Tín hiệu đảo chiều (Reversal Signals):
Chỉ báo sẽ tự động quét các nến trước đó để tìm kiếm mô hình đảo chiều.
Khi phát hiện tín hiệu mua mạnh, biểu tượng "B" xuất hiện dưới nến.
Khi phát hiện tín hiệu bán mạnh, biểu tượng "S" xuất hiện trên nến.
Cơ chế xác nhận đảo chiều có thể tùy chỉnh bằng thông số Lookback Period.
Tích hợp với đường giá:
EMA và tín hiệu đảo chiều hợp nhất trực tiếp với đường giá, giúp dễ dàng quan sát xu hướng mà không bị nhiễu.
Không có vùng màu mờ che biểu đồ, giúp trader tập trung hơn vào diễn biến giá thực tế.
🛠 Hướng dẫn cách sử dụng
✅ Cách thêm chỉ báo vào biểu đồ:
Mở TradingView.
Vào Pine Script Editor, dán mã chỉ báo vào.
Nhấn "Add to Chart" để hiển thị chỉ báo trên biểu đồ.
✅ Ý nghĩa của các thành phần trong chỉ báo:
Fast EMA (Đường EMA nhanh - Màu Xanh Dương): Phản ứng nhanh với giá, giúp phát hiện xu hướng ngắn hạn.
Slow EMA (Đường EMA chậm - Màu Đỏ): Phản ứng chậm hơn, giúp xác định xu hướng dài hạn.
Dấu "B" (Buy Signal - Màu Xanh Lá): Xác nhận điểm vào lệnh mua khi thị trường có dấu hiệu đảo chiều lên.
Dấu "S" (Sell Signal - Màu Đỏ): Xác nhận điểm vào lệnh bán khi thị trường có dấu hiệu đảo chiều xuống.
✅ Cách sử dụng trong giao dịch:
Giao dịch theo xu hướng:
Nếu EMA nhanh > EMA chậm và có tín hiệu mua → Xác nhận xu hướng tăng mạnh.
Nếu EMA nhanh < EMA chậm và có tín hiệu bán → Xác nhận xu hướng giảm mạnh.
Giao dịch đảo chiều:
Khi tín hiệu "B" xuất hiện ở vùng hỗ trợ → Vào lệnh mua.
Khi tín hiệu "S" xuất hiện ở vùng kháng cự → Vào lệnh bán.
📌 Lưu ý: Không nên sử dụng chỉ báo này một mình, nên kết hợp với RSI, MACD hoặc Volume để tăng độ chính xác.
🎯 Lợi ích của chỉ báo NguDanIndex
✅ Hợp nhất với đường giá: Không gây nhiễu biểu đồ, giúp dễ đọc xu hướng hơn.
✅ Cung cấp tín hiệu nhanh và chính xác: Phát hiện sớm các điểm đảo chiều, giúp tối ưu hóa điểm vào lệnh.
✅ Tùy chỉnh linh hoạt: Người dùng có thể điều chỉnh tốc độ phản ứng của EMA và các thông số đảo chiều.
✅ Hữu ích cho cả Scalping & Swing Trading: Phù hợp với nhiều phong cách giao dịch, từ ngắn hạn đến dài hạn.
📢 Kết luận
NguDanIndex là một công cụ mạnh mẽ giúp trader xác định xu hướng thị trường và điểm đảo chiều theo cách trực quan nhất. Nếu bạn muốn giao dịch hiệu quả hơn, hãy thử nghiệm chỉ báo này ngay trên biểu đồ của mình! 🚀📈
💡 Gợi ý: Nếu bạn thấy chỉ báo này hữu ích, hãy để lại phản hồi và chia sẻ với cộng đồng trader trên TradingView! 💬
Motivational Text TableRelease Notes - Motivational Text Table Indicator v1.0
Standalone Indicator:
A new, standalone Pine Script v6 indicator that displays a motivational text table directly on the chart.
Customizable Text:
Users can set their own motivational message through the "Custom Motivational Text" input.
Configurable Appearance:
Change the text color and background color of the table.
Adjust the text size by choosing from "tiny", "small", "normal", "large", or "huge".
Select the table’s position on the chart from multiple preset locations (e.g., top_left, middle_center, bottom_right, etc.).
Static Display:
The table is drawn on the last bar, ensuring that the motivational text remains static during realtime updates.
User-Friendly Design:
The interface is simple and easy to customize, making it perfect for users who need a daily dose of motivation directly on their TradingView charts.
Enjoy your motivational boost on every chart!
BTC 4H 综合策略趋势过滤:
仅当MA金叉(20周期上穿60周期)且MACD柱状图转正时,才考虑多头信号
反向逻辑用于空头信号
震荡信号增强:
在趋势信号基础上,要求价格触及布林带下轨(超卖)且RSI<30才会触发买入
同理,价格触及布林带上轨(超买)且RSI>70触发卖出
动态风险管理:
使用ATR计算动态止损(1.5倍ATR)
止盈设置为固定3倍ATR(可改为移动止盈)
kurd fx Dynamic EMA StrategyDynamic EMA Strategy Explanation
This TradingView Pine Script indicator, "Dynamic EMA Strategy," is designed to plot Exponential Moving Averages (EMAs) dynamically based on the selected timeframe. It adjusts the EMA periods depending on whether the trader is scalping, swing trading, or position trading.
Functionality
1. Defining EMA Periods Based on Timeframe
The script determines appropriate EMA values based on the selected chart timeframe:
Scalping (1m, 3m, 5m)
Uses EMA 9, EMA 21, and EMA 50 for fast-moving market conditions.
Swing Trading (15m, 30m, 45m)
Uses EMA 50 and EMA 100, suitable for medium-term trend identification.
EMA 3 is disabled (na) in this mode.
Position Trading (1H and higher)
Uses EMA 100 and EMA 200 to identify long-term trends.
EMA 3 is disabled (na) in this mode.
2. EMA Calculation
The script calculates EMA values dynamically:
emaLine1 = ta.ema(close, ema1): Computes the first EMA.
emaLine2 = ta.ema(close, ema2): Computes the second EMA.
emaLine3 = not na(ema3) ? ta.ema(close, ema3) : na: Computes the third EMA only if applicable.
3. Plotting the EMAs
The script overlays the EMAs on the chart:
Blue Line (EMA 1) → Represents the fastest EMA.
Orange Line (EMA 2) → Represents the medium EMA.
Red Line (EMA 3) → Represents the slowest EMA (if applicable).
Each EMA is plotted using plot() with a specific color, linewidth of 2, and plot.style_line for a clean visualization.
Use Case
Scalpers can identify short-term momentum changes.
Swing traders can detect medium-term trends.
Position traders can spot long-term market trends.
This strategy helps traders adjust their EMA settings dynamically without manually changing them for different timeframes.
myc estrategia//@version=5
indicator("Smart Money Concept (SMC)", overlay=true)
// Función para detectar cambios de estructura de mercado (BOS y CHoCH)
fPivotHigh(src, left, right) => ta.pivothigh(src, left, right)
fPivotLow(src, left, right) => ta.pivotlow(src, left, right)
bos = fPivotHigh(high, 5, 5) ? high : na
choch = fPivotLow(low, 5, 5) ? low : na
// Bloques de Orden (Order Blocks)
obBullish = ta.valuewhen(choch, low , 0)
obBearish = ta.valuewhen(bos, high , 0)
// Fair Value Gaps (FVGs)
FVG_up = (low > high) and (low > high )
FVG_down = (high < low) and (high < low )
// Señales de Compra/Venta
greenSignal = ta.crossover(close, obBullish)
redSignal = ta.crossunder(close, obBearish)
// Dibujar en el gráfico
plotshape(series=bos, location=location.abovebar, color=color.red, style=shape.labeldown, title="BOS")
plotshape(series=choch, location=location.belowbar, color=color.green, style=shape.labelup, title="CHoCH")
plotshape(series=greenSignal, location=location.belowbar, color=color.blue, style=shape.triangleup, title="BUY")
plotshape(series=redSignal, location=location.abovebar, color=color.orange, style=shape.triangledown, title="SELL")
// Dibujar Bloques de Orden
bgcolor(greenSignal ? color.green : na, transp=80)
bgcolor(redSignal ? color.red : na, transp=80)
AO/AC Trading Zones Strategy [Skyrexio] Overview
AO/AC Trading Zones Strategy leverages the combination of Awesome Oscillator (AO), Acceleration/Deceleration Indicator (AC), Williams Fractals, Williams Alligator and Exponential Moving Average (EMA) to obtain the high probability long setups. Moreover, strategy uses multi trades system, adding funds to long position if it considered that current trend has likely became stronger. Combination of AO and AC is used for creating so-called trading zones to create the signals, while Alligator and Fractal are used in conjunction as an approximation of short-term trend to filter them. At the same time EMA (default EMA's period = 100) is used as high probability long-term trend filter to open long trades only if it considers current price action as an uptrend. More information in "Methodology" and "Justification of Methodology" paragraphs. The strategy opens only long trades.
Unique Features
No fixed stop-loss and take profit: Instead of fixed stop-loss level strategy utilizes technical condition obtained by Fractals and Alligator to identify when current uptrend is likely to be over. In some special cases strategy uses AO and AC combination to trail profit (more information in "Methodology" and "Justification of Methodology" paragraphs)
Configurable Trading Periods: Users can tailor the strategy to specific market windows, adapting to different market conditions.
Multilayer trades opening system: strategy uses only 10% of capital in every trade and open up to 5 trades at the same time if script consider current trend as strong one.
Short and long term trend trade filters: strategy uses EMA as high probability long-term trend filter and Alligator and Fractal combination as a short-term one.
Methodology
The strategy opens long trade when the following price met the conditions:
1. Price closed above EMA (by default, period = 100). Crossover is not obligatory.
2. Combination of Alligator and Williams Fractals shall consider current trend as an upward (all details in "Justification of Methodology" paragraph)
3. Both AC and AO shall print two consecutive increasing values. At the price candle close which corresponds to this condition algorithm opens the first long trade with 10% of capital.
4. If combination of Alligator and Williams Fractals shall consider current trend has been changed from up to downtrend, all long trades will be closed, no matter how many trades has been opened.
5. If AO and AC both continue printing the rising values strategy opens the long trade on each candle close with 10% of capital while number of opened trades reaches 5.
6. If AO and AC both has printed 5 rising values in a row algorithm close all trades if candle's low below the low of the 5-th candle with rising AO and AC values in a row.
Script also has additional visuals. If second long trade has been opened simultaneously the Alligator's teeth line is plotted with the green color. Also for every trade in a row from 2 to 5 the label "Buy More" is also plotted just below the teeth line. With every next simultaneously opened trade the green color of the space between teeth and price became less transparent.
Strategy settings
In the inputs window user can setup strategy setting:
EMA Length (by default = 100, period of EMA, used for long-term trend filtering EMA calculation).
User can choose the optimal parameters during backtesting on certain price chart.
Justification of Methodology
Let's explore the key concepts of this strategy and understand how they work together. We'll begin with the simplest: the EMA.
The Exponential Moving Average (EMA) is a type of moving average that assigns greater weight to recent price data, making it more responsive to current market changes compared to the Simple Moving Average (SMA). This tool is widely used in technical analysis to identify trends and generate buy or sell signals. The EMA is calculated as follows:
1.Calculate the Smoothing Multiplier:
Multiplier = 2 / (n + 1), Where n is the number of periods.
2. EMA Calculation
EMA = (Current Price) × Multiplier + (Previous EMA) × (1 − Multiplier)
In this strategy, the EMA acts as a long-term trend filter. For instance, long trades are considered only when the price closes above the EMA (default: 100-period). This increases the likelihood of entering trades aligned with the prevailing trend.
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
Fractals, another tool by Bill Williams, help identify potential reversal points on a price chart. A fractal forms over at least five consecutive bars, with the middle bar showing either:
Up Fractal: Occurs when the middle bar has a higher high than the two preceding and two following bars, suggesting a potential downward reversal.
Down Fractal: Happens when the middle bar shows a lower low than the surrounding two bars, hinting at a possible upward reversal.
Traders often use fractals alongside other indicators to confirm trends or reversals, enhancing decision-making accuracy.
How do these tools work together in this strategy? Let’s consider an example of an uptrend.
When the price breaks above an up fractal, it signals a potential bullish trend. This occurs because the up fractal represents a shift in market behavior, where a temporary high was formed due to selling pressure. If the price revisits this level and breaks through, it suggests the market sentiment has turned bullish.
The breakout must occur above the Alligator’s teeth line to confirm the trend. A breakout below the teeth is considered invalid, and the downtrend might still persist. Conversely, in a downtrend, the same logic applies with down fractals.
In this strategy if the most recent up fractal breakout occurs above the Alligator's teeth and follows the last down fractal breakout below the teeth, the algorithm identifies an uptrend. Long trades can be opened during this phase if a signal aligns. If the price breaks a down fractal below the teeth line during an uptrend, the strategy assumes the uptrend has ended and closes all open long trades.
By combining the EMA as a long-term trend filter with the Alligator and fractals as short-term filters, this approach increases the likelihood of opening profitable trades while staying aligned with market dynamics.
Now let's talk about the trading zones concept and its signals. To understand this we need to briefly introduce what is AO and AC. The Awesome Oscillator (AO), developed by Bill Williams, is a momentum indicator designed to measure market momentum by contrasting recent price movements with a longer-term historical perspective. It helps traders detect potential trend reversals and assess the strength of ongoing trends.
The formula for AO is as follows:
AO = SMA5(Median Price) − SMA34(Median Price)
where:
Median Price = (High + Low) / 2
SMA5 = 5-period Simple Moving Average of the Median Price
SMA 34 = 34-period Simple Moving Average of the Median Price
The Acceleration/Deceleration (AC) Indicator, introduced by Bill Williams, measures the rate of change in market momentum. It highlights shifts in the driving force of price movements and helps traders spot early signs of trend changes. The AC Indicator is particularly useful for identifying whether the current momentum is accelerating or decelerating, which can indicate potential reversals or continuations. For AC calculation we shall use the AO calculated above is the following formula:
AC = AO − SMA5(AO) , where SMA5(AO)is the 5-period Simple Moving Average of the Awesome Oscillator
When the AC is above the zero line and rising, it suggests accelerating upward momentum.
When the AC is below the zero line and falling, it indicates accelerating downward momentum.
When the AC is below zero line and rising it suggests the decelerating the downtrend momentum. When AC is above the zero line and falling, it suggests the decelerating the uptrend momentum.
Now let's discuss the trading zones concept and how it can create the signal. Zones are created by the combination of AO and AC. We can divide three zone types:
Greed zone: when the AO and AC both are rising
Red zone: when the AO and AC both are decreasing
Gray zone: when one of AO or AC is rising, the other is falling
Gray zone is considered as uncertainty. AC and AO are moving in the opposite direction. Strategy skip such price action to decrease the chance to stuck in the losing trade during potential sideways. Red zone is also not interesting for the algorithm because both indicators consider the trend as bearish, but strategy opens only long trades. It is waiting for the green zone to increase the chance to open trade in the direction of the potential uptrend. When we have 2 candles in a row in the green zone script executes a long trade with 10% of capital.
Two green zone candles in a row is considered by algorithm as a bullish trend, but now so strong, that's the reason why trade is going to be closed when the combination of Alligator and Fractals will consider the the trend change from bullish to bearish. If id did not happens, algorithm starts to count the green zone candles in a row. When we have 5 in a row script change the trade closing condition. Such situation is considered is a high probability strong bull market and all trades will be closed if candle's low will be lower than fifth green zone candle's low. This is used to increase probability to secure the profit. If long trades are initiated, the strategy continues utilizing subsequent signals until the total number of trades reaches a maximum of 5. Each trade uses 10% of capital.
Why we use trading zones signals? If currently strategy algorithm considers the high probability of the short-term uptrend with the Alligator and Fractals combination pointed out above and the long-term trend is also suggested by the EMA filter as bullish. Rising AC and AO values in the direction of the most likely main trend signaling that we have the high probability of the fastest bullish phase on the market. The main idea is to take part in such rapid moves and add trades if this move continues its acceleration according to indicators.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2024.12.31. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 10%
Maximum Single Position Loss: -9.49%
Maximum Single Profit: +24.33%
Net Profit: +4374.70 USDT (+43.75%)
Total Trades: 278 (39.57% win rate)
Profit Factor: 2.203
Maximum Accumulated Loss: 668.16 USDT (-5.43%)
Average Profit per Trade: 15.74 USDT (+1.37%)
Average Trade Duration: 60 hours
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 4h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
SUPER HA TOAN //@version=5
indicator(title="CM Ultimate MA MTF v5", shorttitle="CM_MA_MTF_v5", overlay=true)
// === Inputs ===
src = close
useCurrentRes = input(true, title="Use Current Chart Resolution?")
resCustom = input.timeframe("D", title="Use Different Timeframe? Uncheck Box Above")
len = input.int(31, title="Moving Average Length", minval=1)
atype = input.int(4, minval=1, maxval=11, title="1=SMA, 2=EMA, 3=WMA, 4=HullMA, 5=VWMA, 6=RMA, 7=TEMA, 8=T3, 9=Ehlers Super Smoother, 10=Ehlers EMA Smoother, 11=XEMA")
factorT3 = input.float(0.7, title="Tilson T3 Factor", minval=0)
emaSmooth = input.int(4, title="Ehlers EMA Smoother", minval=1)
doma2 = input(false, title="Enable 2nd Moving Average")
len2 = input.int(50, title="2nd MA Length", minval=1)
atype2 = input.int(1, minval=1, maxval=8, title="Type of 2nd MA")
sfactorT3 = input.float(0.7, title="2nd T3 Factor", minval=0)
colorChange = input(true, title="Change Color Based On Direction?")
smoothColor = input.int(1, minval=1, maxval=10, title="Color Smoothing")
// === Moving Average Calculations ===
hma(src, len) => ta.wma(2 * ta.wma(src, len / 2) - ta.wma(src, len), math.round(math.sqrt(len)))
t3(src, len, factor) =>
gd = ta.ema(src, len) * (1 + factor) - ta.ema(ta.ema(src, len), len) * factor
ta.ema(ta.ema(gd, len), len)
ehlersSS(src, lower) =>
a1 = math.exp(-math.pi * math.sqrt(2) / lower)
coeff2 = 2 * a1 * math.cos(math.sqrt(2) * math.pi / lower)
coeff3 = -a1 * a1
coeff1 = (1 - coeff2 - coeff3) / 2
var float filt = na
filt := coeff1 * (src + nz(src , src)) + coeff2 * nz(filt , src) + coeff3 * nz(filt , src)
ehlersEmaSmoother(sig, smoothK, smoothP) =>
ehlersSS(ta.ema(sig, smoothK), smoothP)
ma = atype == 1 ? ta.sma(src, len) :
atype == 2 ? ta.ema(src, len) :
atype == 3 ? ta.wma(src, len) :
atype == 4 ? hma(src, len) :
atype == 5 ? ta.vwma(src, len) :
atype == 6 ? ta.rma(src, len) :
atype == 7 ? ta.ema(ta.ema(ta.ema(src, len), len), len) :
atype == 8 ? t3(src, len, factorT3) :
atype == 9 ? ehlersSS(src, len) :
ehlersEmaSmoother(src, len, emaSmooth)
ma2 = atype2 == 1 ? ta.sma(src, len2) :
atype2 == 2 ? ta.ema(src, len2) :
atype2 == 3 ? ta.wma(src, len2) :
atype2 == 4 ? hma(src, len2) :
atype2 == 5 ? ta.vwma(src, len2) :
atype2 == 6 ? ta.rma(src, len2) :
atype2 == 7 ? ta.ema(ta.ema(ta.ema(src, len2), len2), len2) :
t3(src, len2, sfactorT3)
out1 = request.security(syminfo.tickerid, useCurrentRes ? timeframe.period : resCustom, ma)
out2 = request.security(syminfo.tickerid, useCurrentRes ? timeframe.period : resCustom, ma2)
// === Color and Plotting ===
ma_up = out1 >= out1
ma_down = out1 < out1
col = colorChange ? (ma_up ? color.lime : color.red) : color.blue
col2 = colorChange ? (ma_up ? color.lime : color.red) : color.white
plot(out1, title="Multi-Timeframe Moving Avg", color=col, linewidth=2)
plot(doma2 ? out2 : na, title="2nd Multi-Timeframe Moving Avg", color=col2, linewidth=2)
// === Alerts ===
alertcondition(ma_up, title='BUY', message='MA Uptrend')
alertcondition(ma_down, title='SELL', message='MA Downtrend')
RSI Zones (50-60, 30-40) srinath//@version=5
indicator(title="RSI Zones (50-60, 30-40)", shorttitle="RSI Zones", overlay=false)
// RSI Length
len = input.int(14, minval=1, title="RSI Length")
// Overbought/Oversold Zone Levels
overboughtTop = input.int(60, minval=1, maxval=99, title="Overbought Zone Top")
overboughtBottom = input.int(50, minval=1, maxval=99, title="Overbought Zone Bottom")
oversoldTop = input.int(40, minval=1, maxval=99, title="Oversold Zone Top")
oversoldBottom = input.int(30, minval=1, maxval=99, title="Oversold Zone Bottom")
// Calculate RSI
rsiValue = ta.rsi(close, len)
// Zone Conditions
inOverboughtZone = rsiValue >= overboughtBottom and rsiValue <= overboughtTop
inOversoldZone = rsiValue >= oversoldBottom and rsiValue <= oversoldTop
// Plot RSI
plot(rsiValue, title="RSI", color=color.gray)
// Plot Zone Lines
hline(overboughtTop, "Overbought Top", color=color.red, linestyle=hline.style_dotted)
hline(overboughtBottom, "Overbought Bottom", color=color.red, linestyle=hline.style_dotted)
hline(oversoldTop, "Oversold Top", color=color.blue, linestyle=hline.style_dotted)
hline(oversoldBottom, "Oversold Bottom", color=color.blue, linestyle=hline.style_dotted)
// Background Highlighting
bgcolor(inOverboughtZone ? color.new(color.red, 90) : na, title="Overbought Zone Background")
bgcolor(inOversoldZone ? color.new(color.blue, 90) : na, title="Oversold Zone Background")
Dual MA CrossoverThis script does the following:
1. We define the indicator with the name “Dual MA Crossover” and set it to overlay on the chart.
2. Two user inputs are created for the fast and slow moving average lengths, with default values of 10 and 100 respectively.
3. We calculate the simple moving averages (SMA) using the `ta.sma()` function.
4. The moving averages are plotted on the chart using different colors.
5. Crossover and crossunder conditions are detected using `ta.crossover()` and `ta.crossunder()` functions.
6. Labels are created at the crossover points:
• A “BUY” label is placed below the candle when the fast MA crosses above the slow MA.
• A “SELL” label is placed above the candle when the fast MA crosses below the slow MA.
7. The labels are set to have white text as requested, with green background for buy signals and red for sell signals.
BTC Scalping StrategyStrategy Foundation
Triple-Layer Confirmation System
EMA Crossover (12-period vs 26-period)
RSI Momentum Filter (14-period)
Trend Filter (50-period EMA)
Price Action (Close > Open for longs, Close < Open for shorts)
Volatility Adaptation
Uses ATR (14-period) for dynamic:
Position sizing
Stop loss (1.2x ATR)
Take profit (2.5x A
1302911to je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je mojeto je moje
Pro 100x Futures StrategySingle-Line Calls: Having each strategy.exit call on a single line reduces the chance of Pine Script misinterpreting line breaks.
Removed Trailing Parameters: By removing trail_points and trail_offset, the function call is simpler. You can reintroduce them once it compiles without error.
Consistent Indentation: Pine Script can be picky about indentation, especially after if statements.
EMA365 Cross// Einfacher EMA-Cross Indikator mit Indikation der Crosses auf EMA-Linie und am Chart-Bottom
ema_01_len = input.int(10, title='Ema 1', minval=1)
ema_02_len = input.int(20, title='Ema 2', minval=1)
ema_03_len = input.int(50, title='Ema 3', minval=1)
Bitcoin Liquidity Breakout with ICT StrategiesBitcoin Liquidity Breakout with ICT Strategies
a one of many scripts developed by our engineers .
Check the results for yourself
BB ATR Fractal MMThe Bollinger Bands + ATR with Fractal indicator is a powerful combination of Bollinger Bands, ATR (Average True Range), and Fractal to help identify market volatility and potential entry/exit points on the chart.
Bollinger Bands help to assess the market’s volatility by calculating upper and lower bands based on the simple moving average (SMA) and standard deviation. It’s an excellent tool for identifying overbought and oversold conditions.
ATR (Average True Range) is used to measure market volatility. It helps determine how much the price is moving, and it can be used to adjust the Bollinger Bands, creating bands that reflect the current volatility more accurately.
Fractal helps to identify peaks and troughs in the market, supporting decision-making by highlighting potential reversal points. Fractals mark regions where price may reverse direction, making it easier to spot possible trade opportunities.
How to Use:
Bollinger Bands Upper and Lower Bands: These bands help to identify overbought or oversold conditions. If the price breaks above the upper band, the market may be overbought. If the price breaks below the lower band, the market may be oversold.
ATR: It indicates the volatility level of the market. When the market shows large volatility (ATR increases), the Bollinger Bands expand to reflect higher price swings.
Fractal: Arrows appear at the market’s peaks and troughs, helping identify entry points for buying (at fractal lows) or selling (at fractal highs). These signals can help you make trading decisions based on potential price reversals.
Aj's DikFat Adjusted ADXRAj's DikFat Adjusted ADXR
This indicator is designed to plot the Average Directional Index (ADX) and Average Directional Movement Rating (ADXR) on the chart. The ADX and ADXR are both used to measure the strength of a trend in the market. The script allows you to customize several parameters, including the ADX Length and the Moving Average Method used for smoothing the directional movement indicators.
Key Features:
- ADX Length : Defines the number of periods over which the ADX is calculated. This value can be adjusted by the user to suit different trading styles and timeframes.
- Moving Average Method : Choose between several smoothing methods, including Simple Moving Average (SMA), Exponential Moving Average (EMA), Wilder's Moving Average, Weighted Moving Average (WMA), Hull Moving Average (HMA), or a Super Smooth Moving Average.
- Directional Indicators : The script calculates the +DI and -DI, which represent the positive and negative directional indicators respectively. These are then used to calculate the ADX.
- ADXR : The ADXR is calculated as the average of the current ADX value and the ADX value from 14 periods ago, providing a more smoothed representation of the trend strength.
How Traders Use ADX and ADXR:
- ADX : A rising ADX indicates an increasing trend strength, while a falling ADX suggests a weakening trend. A value above 25 is often considered an indication of a strong trend.
- ADXR : This indicator smooths the ADX over time, helping traders identify persistent trends. The ADXR can help filter out noise and provide a clearer picture of the trend's health.
Please note that this script and its indicators are designed to be used as tools for analysis, not as guarantees of market outcomes. Adjustments to the moving average method or ADX length can change the behavior of the indicators based on market conditions.
Fractals with Flexible Visuals and Auto HTFPurpose:
This indicator displays fractals, including significant ones, with enhanced visual
flexibility and new visualization modes.
Functionality:
- Regular Fractals of Current Timeframe: **
Displays standard fractals based on the current chart timeframe.
- Significant Fractals: **
Recognizes significant fractals through a combination of apexes from the current
timeframe and a higher timeframe (HTF).
- Fractal Filtering: **
- Please note that this option makes some fractals dissapear, but someone finds this
to be useful.
- Fractal filtering has been made separate for Regular and Significant fractals.
- HH/LL Labels: **
HH/LL and LH/HL labels are now available separately for Regular and Significant
fractals.
- Automatic HTF Switching for Significant Fractals:
Added automatic HTF thresholds, removing the need to set HTF manually when changing
the chart's timeframe.
- Marker Relocation Modes:
- Mode 0:0
The fractal appears on the bar when it is recognized, not where it forms. This
mode assists traders who want to observe recognition in real-time when developing
strategies with fractals.
- Mode 1:1
The fractal appears on the previous bar when it is recognized, not where it forms.
- Mode 2:2 (General)
The fractal appears two bars back, where it is recognized, not when.
- Other additional Modes for Significant Fractals:
May be good for experimenting with Significant fractals. The first number
indicates bars back for the current timeframe; the second number indicates
bars back for the higher timeframe.
Other modes may assist with additional filtering or be suitable for specific
pairs or timeframes.
- Visual Adjustments:
Added user settings to customize visuals according to preferences.
Acknowledgment:
This indicator's functionality has been refactored from Fractals V9 by Ricardo
Santos (with gratitude to him):
()
'RSFractals' is not used as a name prefix, reflecting that this version lacks the
Zigzag and Pattern functionalities present in 'RSFractals'. If the original author
prefers a different naming convention, they may contact me, and I will gladly make
the adjustment.
AMG Supply and Demand ZonesSupply and Demand Zones Indicator
This indicator identifies and visualizes supply and demand zones on the chart to help traders spot key areas of potential price reversals or continuations. The indicator uses historical price data to calculate zones based on high/low ranges and a customizable ATR-based fuzz factor.
Key Features:
Back Limit: Configurable look-back period to identify zones.
Zone Types: Options to display weak, untested, and turncoat zones.
Customizable Parameters: Adjust fuzz factor and visualization settings.
Usage:
Use this indicator to enhance your trading strategy by identifying key supply and demand areas where price is likely to react.
You can customize this further based on how you envision users benefiting from your indicator. Let me know if you'd like to add or adjust anything!
Bullish Reversal Bar Strategy [Skyrexio]Overview
Bullish Reversal Bar Strategy leverages the combination of candlestick pattern Bullish Reversal Bar (description in Methodology and Justification of Methodology), Williams Alligator indicator and Williams Fractals to create the high probability setups. Candlestick pattern is used for the entering into trade, while the combination of Williams Alligator and Fractals is used for the trend approximation as close condition. Strategy uses only long trades.
Unique Features
No fixed stop-loss and take profit: Instead of fixed stop-loss level strategy utilizes technical condition obtained by Fractals and Alligator or the candlestick pattern invalidation to identify when current uptrend is likely to be over (more information in "Methodology" and "Justification of Methodology" paragraphs)
Configurable Trading Periods: Users can tailor the strategy to specific market windows, adapting to different market conditions.
Trend Trade Filter: strategy uses Alligator and Fractal combination as high probability trend filter.
Methodology
The strategy opens long trade when the following price met the conditions:
1.Current candle's high shall be below the Williams Alligator's lines (Jaw, Lips, Teeth)(all details in "Justification of Methodology" paragraph)
2.Price shall create the candlestick pattern "Bullish Reversal Bar". Optionally if MFI and AO filters are enabled current candle shall have the decreasing AO and at least one of three recent bars shall have the squat state on the MFI (all details in "Justification of Methodology" paragraph)
3.If price breaks through the high of the candle marked as the "Bullish Reversal Bar" the long trade is open at the price one tick above the candle's high
4.Initial stop loss is placed at the Bullish Reversal Bar's candle's low
5.If price hit the Bullish Reversal Bar's low before hitting the entry price potential trade is cancelled
6.If trade is active and initial stop loss has not been hit, trade is closed when the combination of Alligator and Williams Fractals shall consider current trend change from upward to downward.
Strategy settings
In the inputs window user can setup strategy setting:
Enable MFI (if true trades are filtered using Market Facilitation Index (MFI) condition all details in "Justification of Methodology" paragraph), by default = false)
Enable AO (if true trades are filtered using Awesome Oscillator (AO) condition all details in "Justification of Methodology" paragraph), by default = false)
Justification of Methodology
Let's explore the key concepts of this strategy and understand how they work together. The first and key concept is the Bullish Reversal Bar candlestick pattern. This is just the single bar pattern. The rules are simple:
Candle shall be closed in it's upper half
High of this candle shall be below all three Alligator's lines (Jaw, Lips, Teeth)
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
Fractals, another tool by Bill Williams, help identify potential reversal points on a price chart. A fractal forms over at least five consecutive bars, with the middle bar showing either:
Up Fractal: Occurs when the middle bar has a higher high than the two preceding and two following bars, suggesting a potential downward reversal.
Down Fractal: Happens when the middle bar shows a lower low than the surrounding two bars, hinting at a possible upward reversal.
Traders often use fractals alongside other indicators to confirm trends or reversals, enhancing decision-making accuracy.
How do these tools work together in this strategy? Let’s consider an example of an uptrend.
When the price breaks above an up fractal, it signals a potential bullish trend. This occurs because the up fractal represents a shift in market behavior, where a temporary high was formed due to selling pressure. If the price revisits this level and breaks through, it suggests the market sentiment has turned bullish.
The breakout must occur above the Alligator’s teeth line to confirm the trend. A breakout below the teeth is considered invalid, and the downtrend might still persist. Conversely, in a downtrend, the same logic applies with down fractals.
How we can use all these indicators in this strategy? This strategy is a counter trend one. Candle's high shall be below all Alligator's lines. During this market stage the bullish reversal bar candlestick pattern shall be printed. This bar during the downtrend is a high probability setup for the potential reversal to the upside: bulls were able to close the price in the upper half of a candle. The breaking of its high is a high probability signal that trend change is confirmed and script opens long trade. If market continues going down and break down the bullish reversal bar's low potential trend change has been invalidated and strategy close long trade.
If market really reversed and started moving to the upside strategy waits for the trend change form the downtrend to the uptrend according to approximation of Alligator and Fractals combination. If this change happens strategy close the trade. This approach helps to stay in the long trade while the uptrend continuation is likely and close it if there is a high probability of the uptrend finish.
Optionally users can enable MFI and AO filters. First of all, let's briefly explain what are these two indicators. The Awesome Oscillator (AO), created by Bill Williams, is a momentum-based indicator that evaluates market momentum by comparing recent price activity to a broader historical context. It assists traders in identifying potential trend reversals and gauging trend strength.
AO = SMA5(Median Price) − SMA34(Median Price)
where:
Median Price = (High + Low) / 2
SMA5 = 5-period Simple Moving Average of the Median Price
SMA 34 = 34-period Simple Moving Average of the Median Price
This indicator is filtering signals in the following way: if current AO bar is decreasing this candle can be interpreted as a bullish reversal bar. This logic is applicable because initially this strategy is a trend reversal, it is searching for the high probability setup against the current trend. Decreasing AO is the additional high probability filter of a downtrend.
Let's briefly look what is MFI. The Market Facilitation Index (MFI) is a technical indicator that measures the price movement per unit of volume, helping traders gauge the efficiency of price movement in relation to trading volume. Here's how you can calculate it:
MFI = (High−Low)/Volume
MFI can be used in combination with volume, so we can divide 4 states. Bill Williams introduced these to help traders interpret the interaction between volume and price movement. Here’s a quick summary:
Green Window (Increased MFI & Increased Volume): Indicates strong momentum with both price and volume increasing. Often a sign of trend continuation, as both buying and selling interest are rising.
Fake Window (Increased MFI & Decreased Volume): Shows that price is moving but with lower volume, suggesting weak support for the trend. This can signal a potential end of the current trend.
Squat Window (Decreased MFI & Increased Volume): Shows high volume but little price movement, indicating a tug-of-war between buyers and sellers. This often precedes a breakout as the pressure builds.
Fade Window (Decreased MFI & Decreased Volume): Indicates a lack of interest from both buyers and sellers, leading to lower momentum. This typically happens in range-bound markets and may signal consolidation before a new move.
For our purposes we are interested in squat bars. This is the sign that volume cannot move the price easily. This type of bar increases the probability of trend reversal. In this indicator we added to enable the MFI filter of reversal bars. If potential reversal bar or two preceding bars have squat state this bar can be interpret as a reversal one.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2024.12.31. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 50%
Maximum Single Position Loss: -5.29%
Maximum Single Profit: +29.99%
Net Profit: +5472.66 USDT (+54.73%)
Total Trades: 103 (33.98% win rate)
Profit Factor: 1.634
Maximum Accumulated Loss: 1231.15 USDT (-8.32%)
Average Profit per Trade: 53.13 USDT (+0.94%)
Average Trade Duration: 76 hours
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 4h ETH/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
Strategie Bollinger Bands buy & sellMiddle Band (Basis): Calculated using a Simple Moving Average (SMA) over a user-defined period.
Upper Band: The middle band plus the standard deviation of the price multiplied by a user-defined multiplier.
Lower Band: The middle band minus the standard deviation of the price multiplied by the same multiplier.
User Inputs:
Length: The number of periods used for the SMA and standard deviation (default: 20).
Deviation: The multiplier for the standard deviation to calculate the upper and lower bands (default: 2.0).
Buy and Sell Signals:
Buy Signal: Generated when the price crosses above the lower band, indicating a potential oversold condition.
Sell Signal: Generated when the price crosses below the upper band, indicating a potential overbought condition.
Visual Markers:
Buy Signals: Displayed below the price bars as green labels with the text "BUY."
Sell Signals: Displayed above the price bars as red labels with the text "SELL."
The Bollinger Bands (upper, middle, and lower) are plotted directly on the price chart for easy visualization.
How to Use the Script:
Customize Parameters:
Modify the length and deviation inputs to adapt to different market conditions or timeframes.
Interpret Signals:
A BUY signal indicates a possible reversal or upward movement from the lower band.
A SELL signal suggests a potential price decline from the upper band.
Combine with Other Indicators:
While effective in certain conditions, this strategy performs better when combined with other technical tools, such as RSI or MACD, to confirm trends and avoid false signals.
Limitations:
This script assumes that price will revert to the mean, which may not hold during strong trends or highly volatile conditions.
It is not a standalone trading system and should be backtested and optimized before applying to real trading.
Williams BBDiv Signal [trade_lexx]📈 Williams BBDiv Signal — Improve your trading strategy with accurate signals!
Introducing Williams BBDiv Signal , an advanced trading indicator designed for a comprehensive analysis of market conditions. This indicator combines Williams%R with Bollinger Bands, providing traders with a powerful tool for generating buy and sell signals, as well as detecting divergences. It is ideal for traders who need an advantage in detecting changing trends and market conditions.
🔍 How signals work
— A buy signal is generated when the Williams %R line crosses the lower Bollinger Bands band from bottom to top. This indicates that the market may be oversold and ready for a rebound. They are displayed as green triangles located under the Williams %R graph. On the main chart, buy signals are displayed as green triangles labeled "Buy" under candlesticks.
— A sell signal is generated when the Williams %R line crosses the upper Bollinger Bands band from top to bottom. This indicates that the market may be overbought and ready for a correction. They are displayed as red triangles located above the Williams %R chart. On the main chart, the sell signals are displayed as red triangles with the word "Sell" above the candlesticks.
— Minimum Bars Between Signals
The user can adjust the minimum number of bars between the signals to avoid false signals. This helps to filter out noise and improve signal quality.
— Mode "Wait for Opposite Signal"
In this mode, buy and sell signals are generated only after receiving the opposite signal. This adds an additional level of filtering and helps to avoid false alarms.
— Mode "Overbought and Oversold Zones"
A buy signal is generated only when Williams %R is below the -80 level (Lower Band). A sell signal is generated only when Williams %R is above -20 (Upper Band).
📊 Divergences
— Bullish divergence occurs when Williams%R shows a higher low while price shows a lower low. This indicates a possible upward reversal. They are displayed as green lines and labels labeled "Bull" on the Williams %R chart. On the main chart, bullish divergences are displayed as green triangles labeled "Bull" under candlesticks.
— A bearish divergence occurs when Williams %R shows a lower high, while the price shows a higher high. This indicates a possible downward reversal. They are displayed as red lines and labels labeled "Bear" on the Williams %R chart. On the main chart, bearish divergences are displayed as red triangles with the word "Bear" above the candlesticks.
— 🔌Connector Signal🔌 and 🔌Connector Divergence🔌
It allows you to connect the indicator to trading strategies and test signals throughout the trading history. This makes the indicator an even more powerful tool for traders who want to test the effectiveness of their strategies on historical data.
🔔 Alerts
The indicator provides the ability to set up alerts for buy and sell signals, as well as for divergences. This allows traders to keep abreast of important market developments without having to constantly monitor the chart.
🎨 Customizable Appearance
Customize the appearance of Williams BBDiv Signal according to your preferences to make the analysis more convenient and visually pleasing. In the indicator settings section, you can change the colors of the buy and sell signals, as well as divergences, so that they stand out on the chart and are easily visible.
🔧 How it works
— The indicator starts by calculating the Williams %R and Bollinger Bands values for a certain period to assess market conditions. Initial assumptions are introduced for overbought and oversold levels, as well as for the standard deviation of the Bollinger Bands. The indicator then analyzes these values to generate buy and sell signals. This classification helps to determine the appropriate level of volatility for signal calculation. As the market evolves, the indicator dynamically adjusts, providing information about the trend and volatility in real time.
Quick Guide to Using Williams BBDiv Signal
— Add the indicator to your favorites by clicking on the star icon. Adjust the parameters, such as the period length for Williams %R, the type of moving average and the standard deviation for Bollinger Bands, according to your trading style. Or leave all the default settings.
— Adjust the signal filters to improve the quality of the signals and avoid false alarms, adjust the filters in the "Signal Settings" section.
— Turn on alerts so that you don't miss important trading opportunities and don't constantly sit at the chart, set up alerts for buy and sell signals, as well as for divergences. This will allow you to keep abreast of all key market developments and respond to them in a timely manner, without being distracted from other business.
— Use signals. They will help you determine the optimal entry and exit points for your positions. Also, pay attention to bullish and bearish divergences, which may indicate possible market reversals and provide additional trading opportunities.
— Use the 🔌Connector🔌 for deeper analysis and verification of the effectiveness of signals, connect it to your trading strategies. This will allow you to test signals throughout the trading history and evaluate their accuracy based on historical data. Include the indicator in your trading strategy and run testing to see how buy and sell signals have worked in the past. Analyze the test results to determine how reliable the signals are and how they can improve your trading strategy. This will help you make better informed decisions and increase your trading efficiency.
Trend Trader-Remastered StrategyOfficial Strategy for Trend Trader - Remastered
Indicator: Trend Trader-Remastered (TTR)
Overview:
The Trend Trader-Remastered is a refined and highly sophisticated implementation of the Parabolic SAR designed to create strategic buy and sell entry signals, alongside precision take profit and re-entry signals based on marked Bill Williams (BW) fractals. Built with a deep emphasis on clarity and accuracy, this indicator ensures that only relevant and meaningful signals are generated, eliminating any unnecessary entries or exits.
Please check the indicator details and updates via the link above.
Important Disclosure:
My primary objective is to provide realistic strategies and a code base for the TradingView Community. Therefore, the default settings of the strategy version of the indicator have been set to reflect realistic world trading scenarios and best practices.
Key Features:
Strategy execution date&time range.
Take Profit Reduction Rate: The percentage of progressive reduction on active position size for take profit signals.
Example:
TP Reduce: 10%
Entry Position Size: 100
TP1: 100 - 10 = 90
TP2: 90 - 9 = 81
Re-Entry When Rate: The percentage of position size on initial entry of the signal to determine re-entry.
Example:
RE When: 50%
Entry Position Size: 100
Re-Entry Condition: Active Position Size < 50
Re-Entry Fill Rate: The percentage of position size on initial entry of the signal to be completed.
Example:
RE Fill: 75%
Entry Position Size: 100
Active Position Size: 50
Re-Entry Order Size: 25
Final Active Position Size:75
Important: Even RE When condition is met, the active position size required to drop below RE Fill rate to trigger re-entry order.
Key Points:
'Process Orders on Close' is enabled as Take Profit and Re-Entry signals must be executed on candle close.
'Calculate on Every Tick' is enabled as entry signals are required to be executed within candle time.
'Initial Capital' has been set to 10,000 USD.
'Default Quantity Type' has been set to 'Percent of Equity'.
'Default Quantity' has been set to 10% as the best practice of investing 10% of the assets.
'Currency' has been set to USD.
'Commission Type' has been set to 'Commission Percent'
'Commission Value' has been set to 0.05% to reflect the most realistic results with a common taker fee value.