Midnight FX Percentage CalcPercentage calculator for traders
Whenever you are trading now you can see the percentage you will win or loose per trade
Penunjuk Bill Williams
BTC 4H 综合策略趋势过滤:
仅当MA金叉(20周期上穿60周期)且MACD柱状图转正时,才考虑多头信号
反向逻辑用于空头信号
震荡信号增强:
在趋势信号基础上,要求价格触及布林带下轨(超卖)且RSI<30才会触发买入
同理,价格触及布林带上轨(超买)且RSI>70触发卖出
动态风险管理:
使用ATR计算动态止损(1.5倍ATR)
止盈设置为固定3倍ATR(可改为移动止盈)
Ultimate fairas OilJenis trader saham berikutnya adalah intraday yang melakukan aktivitas perdagangan jual beli saham dalam hari yang sama keesokan harinya atau maksimal dalam jangka waktu tiga hari. Memang benar rentan waktu perdagangan intraday lebih lama daripada scalping, namun strategi ini masih masuk dalam kategori jangka pendek
Swing trading adalah strategi perdagangan saham yang dilakukan dalam jangka waktu beberapa hari hingga minggu. Trader menggunakan strategi ini untuk mendapatkan keuntungan dari perubahan harga saham.
Cara kerja swing trading
Trader membeli saham ketika harga mengalami koreksi atau pembalikan sementara
Trader mempertahankan posisinya untuk beberapa hari atau minggu
Trader menjual saham kembali ketika pergerakan harga sudah sesuai keinginan
Risiko swing trading
Fluktuasi harga saham dalam waktu semalam
Kemungkinan tidak terjualnya saham
Dipengaruhi oleh volatilitas pasar
Tingginya biaya transaksi
Risiko overnight dan weekend, di mana harga bisa gap dan membuka sesi berikutnya dengan harga yang sangat berbeda
Tips swing trading
Gunakan analisis teknikal untuk mengidentifikasi perubahan harga saham dan peluang trading
Pilih saham dengan likuiditas dan volatilitas yang tinggi
Pilih saham dengan nilai kapitalisasi pasar yang besar atau large cap
Tentukan kapan baiknya membeli dan menjual saham
Tetapkan risk/reward ratio berdasarkan stop-loss dan profit target
FAIRAS OIL SWINGSwing trading adalah strategi perdagangan saham yang dilakukan dalam jangka waktu beberapa hari hingga minggu. Trader menggunakan strategi ini untuk mendapatkan keuntungan dari perubahan harga saham.
Cara kerja swing trading
Trader membeli saham ketika harga mengalami koreksi atau pembalikan sementara
Trader mempertahankan posisinya untuk beberapa hari atau minggu
Trader menjual saham kembali ketika pergerakan harga sudah sesuai keinginan
Risiko swing trading
Fluktuasi harga saham dalam waktu semalam
Kemungkinan tidak terjualnya saham
Dipengaruhi oleh volatilitas pasar
Tingginya biaya transaksi
Risiko overnight dan weekend, di mana harga bisa gap dan membuka sesi berikutnya dengan harga yang sangat berbeda
Tips swing trading
Gunakan analisis teknikal untuk mengidentifikasi perubahan harga saham dan peluang trading
Pilih saham dengan likuiditas dan volatilitas yang tinggi
Pilih saham dengan nilai kapitalisasi pasar yang besar atau large cap
Tentukan kapan baiknya membeli dan menjual saham
Tetapkan risk/reward ratio berdasarkan stop-loss dan profit target
fairas Gold ScalpingStrategi trading emas dapat dilakukan dengan memperhatikan pergerakan nilai dolar AS, karena nilai dolar AS sering dikaitkan dengan harga emas.
Strategi trading emas
Saat diprediksi nilai dolar AS akan menurun, maka trader akan memasang posisi buy XAU/USD.
Emas dianggap sebagai tempat berlindung yang paling aman, biasanya mampu bertahan terhadap gejolak pasar dan mempertahankan nilainya dalam periode penurunan ekonomi.
Trading emas secara online
Trading emas secara online adalah perdagangan secara virtual tanpa melibatkan perpindahan aset secara fisik.
Transaksi yang dilakukan lebih simpel, aman, dan hemat biaya.
Waktu terbaik trading emas
Waktu emas paling banyak diperdagangkan adalah sekitar pukul 15.00 – 23.00 (GMT+3).
Perdagangan emas digital
Transaksi logam mulia digital itu sah dan halal.
MUI membolehkan transaksi jual beli emas digital.
fairas Gold ScalpingStrategi price action adalah strategi perdagangan yang didasarkan pada analisis pergerakan harga aset keuangan.
Penjelasan
Price action adalah analisis teknis yang berfokus pada hubungan harga pasar saat ini dengan harga masa lalu.
Price action berbeda dengan sebagian besar analisis teknis lainnya karena tidak bergantung pada nilai "bekas" dari riwayat harga.
Price action lebih memahami inti perdagangan daripada menggunakan pengenalan pola grafik atau menerapkan indikator teknis.
Studi tentang price action membantu memahami pergerakan harga dan memiliki jeda alami.
Price action membantu memahami hubungan harga pasar saat ini dengan harga masa lalu atau terkini.
fairas Gold ScalpingStrategi price action adalah strategi perdagangan yang didasarkan pada analisis pergerakan harga aset keuangan.
Penjelasan
Price action adalah analisis teknis yang berfokus pada hubungan harga pasar saat ini dengan harga masa lalu.
Price action berbeda dengan sebagian besar analisis teknis lainnya karena tidak bergantung pada nilai "bekas" dari riwayat harga.
Price action lebih memahami inti perdagangan daripada menggunakan pengenalan pola grafik atau menerapkan indikator teknis.
Studi tentang price action membantu memahami pergerakan harga dan memiliki jeda alami.
Price action membantu memahami hubungan harga pasar saat ini dengan harga masa lalu atau terkini.
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!
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.
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)
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! 💬
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
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.