Alprof Strategyyou can get strategy by TS this strategy you can get a entry point
you can get strategy by TS this strategy you can get a entry point
you can get strategy by TS this strategy you can get a entry point
you can get strategy by TS this strategy you can get a entry point
you can get strategy by TS this strategy you can get a entry point
you can get strategy by TS this strategy you can get a entry point
Bill Williams Göstergeleri
Score Panel All Indicators (No ADX)Score Panel Indicator User Guide
This document explains how to use and interpret the custom Pine Script indicator named "Score Panel All Indicators (No ADX)" that you can use on the TradingView platform.
1. Introduction
This indicator combines various technical analysis indicators into a single panel to visualize the overall market strength and direction with a score between 0 and 100. Additionally, it displays this total score as a direction line on the chart and gives special weight to volume movement. Its purpose is to help you make faster and more informed trading decisions by eliminating the need to track multiple indicators simultaneously.
2. Adding the Indicator to TradingView
Open Pine Editor: Click on the "Pine Editor" tab at the bottom of the TradingView screen.
Paste the Code: Paste the Pine Script code provided to you (the code forming the basis of this document) into the Pine Editor.
Add to Chart: Click the "Add to Chart" button in the upper right corner of the editor.
The indicator will now be added to your chart, and a score panel will appear in the upper right corner, along with a direction line on the chart.
3. Parameters (Settings)
You can change the indicator's settings by clicking the gear icon (Settings) next to the indicator's name on the chart. Here are the main parameter groups:
Color Parameters
Red (Below 31): Color to be used when the score is below 31 (Default: Red).
Neutral Gray (31-50): Color to be used when the score is between 31 and 50 (Default: Gray).
Yellow (50-55): Color to be used when the score is between 50 and 55 (Default: Yellow).
Purple (55-65): Color to be used when the score is between 55 and 65 (Default: Purple).
Green (65-75): Color to be used when the score is between 65 and 75 (Default: Green).
Blue (Above 75): Color to be used when the score is above 75 (Default: Blue).
Calculation Periods
Calculation Period (Default): General default calculation period.
EMA/SMA/WMA/HMA Length: Separate period lengths for moving averages.
RSI/CCI/MACD/Stoch Lengths: Periods for momentum indicators (fast, slow, and signal MA lengths for MACD).
ATR/Bollinger Bands/ROC/Momentum Lengths: Periods for volatility and other momentum indicators.
SAR Start AF/Increment AF/Maximum AF: Acceleration factors for Parabolic SAR.
MFI/VWMA/DMI Lengths: Periods for Money Flow Index, Volume Weighted Moving Average, and Directional Movement Index.
Ichimoku Lengths/Displacement: Conversion, base, lagging span2, and displacement lengths for Ichimoku cloud.
KAMA/TEMA Lengths: Periods for Kaufman's Adaptive Moving Average and Triple Exponential Moving Average.
CCI (2)/Fractal/Gann/Force/VWMA (2)/DPO/PSAR (2) Lengths: Periods for additional indicators.
Volume Average Length: Average volume calculation period for the volume score.
Direction Line Smoothing Length: Determines how smooth the direction line will be (higher values mean a smoother line).
4. Interpreting the Score Panel
The panel in the upper right corner summarizes the current market situation:
DIRECTION: The large heading at the top shows the overall market direction:
UP: Uptrend.
DOWN: Downtrend.
WAIT: Neutral or indecisive market.
This direction is primarily determined by the volume score. If the volume score is outside specific thresholds (very high or very low), the direction is directly determined by volume. Otherwise, it is determined by the overall total score.
GROUP / SCORE: These columns categorize indicators into groups and show the average score for each group.
Score between 0-100: Each group's score is between 0 (strong SELL) and 100 (strong BUY).
Color Coding: Each group's score is color-coded according to the color ranges you defined above. This allows you to see at a glance which groups are trending upwards or downwards.
TOTAL SCORE: This is the average of all groups and represents the overall market strength. The background color of this score also changes dynamically according to the f_getColor function.
5. Interpreting the Direction Line
The line drawn on the chart shows the smoothedToplamSkor value. This line is a smoothed version of the total score, reflecting the general trend free from momentary fluctuations.
Line Color: The color of the line changes according to the color ranges you defined based on the smoothedToplamSkor value. This allows you to quickly understand the overall market trend by looking at the line's color.
Horizontal Threshold Lines: The chart includes dashed horizontal lines at levels 10, 35, 50, 65, and 100. These lines help you visually determine which range the score is in and, consequently, the market's direction (BUY, SELL, NEUTRAL).
100 (BUY Max): Maximum BUY level.
65 (BUY Threshold): BUY signal threshold.
50 (Neutral Midpoint): Neutral midpoint.
35 (SELL Threshold): SELL signal threshold.
10 (SELL Min): Minimum SELL level.
6. Customizing Colors and Smoothing
You can go to the indicator settings and select your desired color for each score range from the input.color parameters. Additionally, you can adjust how smooth the direction line will be by changing the Direction Line Smoothing Length parameter. A higher value means a smoother line, while a lower value means more detail.
7. Tips and Best Practices
Timeframe: It is important to adjust the indicator periods according to the timeframe you are using (e.g., 1-hour, 4-hour, daily). Different timeframes may show different market behaviors.
Combination: While this indicator is a powerful tool on its own, I always recommend using it in conjunction with your own trading strategy and other analysis methods.
Observation: Observing how the indicator reacts in different markets and timeframes will help you optimize its use.
Volume Priority: Remember the priority of the volume score on the overall direction. A low-volume decline or rise, even if other indicators signal "BUY" or "SELL," might result in a "WAIT" or opposite direction signal due to volume.
I hope this guide helps you use the indicator more efficiently. I wish you profitable trades!
combo EMAS Session [Indexprofx]🧠 Description:
This indicator highlights the New York and London trading sessions directly on the chart, offering a clear visual reference for intraday trading.
It is a complementary tool designed to work seamlessly with our main system: Intraday Signal.
✔️ Displays the most active market hours.
✔️ Enhances precision in entry and exit decisions.
✔️ Perfect for XAUUSD (Gold) traders and other high-volatility instruments.
🧠 Description:
This indicator plots three key Exponential Moving Averages (EMAs) to help traders identify market trends and potential entry/exit points with precision:
EMA 8 (Green) – Fast trend, useful for scalping or short-term signals
EMA 50 (Blue) – Mid-term trend filter
EMA 150 (Red) – Long-term bias and trend direction
It is part of the IndexProFX toolkit and integrates smoothly with other tools like Intraday Signal and Session Zones for enhanced confluence trading.
✔️ Clean structure
✔️ Easy-to-read color-coded EMAs
✔️ Supports scalping, day trading, and swing trading strategies
Capital Cash Line indicatorCapital Cash Line Indicator.
This indicator will give you a definition of entry and exit points and snr zones in the market.
We hope that this indicator will bring you a high income.
IB Breakout Strategy with Fib, CVD, and DivergenceEntry rules and signals- I wait for the 5min IB(initial balance) to form every session for eg-(first 5min candle of london session or ny session, marking top wick to bottom wick of first 5 min candle with a midpoint in that zone.Then look for CVD(cumulative volume delta) if it's alining with my analysis.I also mark previous session fib levels for scalp entries on .618 or .78 level.Also i do mark previous day VAH(value area high),VAL(value area low) and POC(point of control) for better understanding of direction.
Initial stop loss and take profit values-Initial stop loss varies from 200$ to 500$ and take profit varies from 250$ to 500$.
Number of contracts you plan to trade based on system stats and risk management-I plan to trade 1-2 contracts until i reach the safety net.Once safety net is achieved based on my entry level i decide the contract size which varies from 1-4 contracts.
Trade management and any trailing stop methods-I trail the stop once i feel like there's enough room for the trade.I manage the trade on the basis of strength of a candle, if its taking much time without strength i exit the trade.
ALRais Gold Indicator🔍 What Does the AlRais Gold Indicator Do?
The AlRais Gold Indicator is a custom technical analysis tool built for TradingView using Pine Script. It is designed to help traders identify high-probability buy and sell opportunities based on market structure, Fibonacci retracement levels, and dynamic stop loss and take profit targets.
⸻
🧠 Key Features of the AlRais Gold Indicator:
1. Trend Break Detection:
• The indicator detects when a trendline (based on highs and lows) is broken.
• After the trendline is broken, it waits for a retest of the broken level to confirm a potential entry zone.
2. Entry Zone (Buy/Sell Zone):
• When the trendline is broken and retested successfully:
• A Buy Zone is drawn (blue rectangle) if it’s a bullish breakout.
• A Sell Zone is drawn (red rectangle) for a bearish breakout.
• These zones are based on Fibonacci levels (50%–61.8%) and serve as optimal entry areas.
• Inside the zone, a label like “Buy Zone” or “Sell Zone” is displayed.
3. Dynamic Stop Loss (SL):
• A stop loss level is calculated dynamically:
• For buy setups: SL is placed just below the last swing low.
• For sell setups: SL is above the last swing high.
• A red label “SL” with the price appears at this level.
4. Take Profit Targets (TP1–TP4):
• The indicator automatically calculates four target levels based on Fibonacci
ALRais Gold Indicator🔍 What Does the AlRais Gold Indicator Do?
The AlRais Gold Indicator is a custom technical analysis tool built for TradingView using Pine Script. It is designed to help traders identify high-probability buy and sell opportunities based on market structure, Fibonacci retracement levels, and dynamic stop loss and take profit targets.
⸻
🧠 Key Features of the AlRais Gold Indicator:
1. Trend Break Detection:
• The indicator detects when a trendline (based on highs and lows) is broken.
• After the trendline is broken, it waits for a retest of the broken level to confirm a potential entry zone.
2. Entry Zone (Buy/Sell Zone):
• When the trendline is broken and retested successfully:
• A Buy Zone is drawn (blue rectangle) if it’s a bullish breakout.
• A Sell Zone is drawn (red rectangle) for a bearish breakout.
• These zones are based on Fibonacci levels (50%–61.8%) and serve as optimal entry areas.
• Inside the zone, a label like “Buy Zone” or “Sell Zone” is displayed.
3. Dynamic Stop Loss (SL):
• A stop loss level is calculated dynamically:
• For buy setups: SL is placed just below the last swing low.
• For sell setups: SL is above the last swing high.
• A red label “SL” with the price appears at this level.
4. Take Profit Targets (TP1–TP4):
• The indicator automatically calculates four target levels based on Fibonacci
Golden Zone SMC Trend Tablo + ZigzagTrend Table + Zigzag Indicator (Swing Logic, All Timeframes)
This is a comprehensive TradingView Pine Script indicator that combines trend analysis with zigzag pattern visualization across multiple timeframes.
Key Features:
1. Multi-Timeframe Trend Analysis:
Analyzes 8 different timeframes: 1M, 5M, 15M, 1H, 4H, Daily, Weekly, Monthly
Uses swing-based logic to determine trend direction
Calculates two types of trends: External (Ext) and Internal (Int) based on different swing lengths
2. Swing Direction Detection:
External trends use 5-period swing analysis
Internal trends use 3-period swing analysis
Determines "Long" or "Short" bias based on price position relative to swing highs/lows
Excludes inside bars from swing calculations for accuracy
3. Volatility Measurements:
Max MTG: Maximum volatility over 50 periods (highest-lowest range as percentage)
Current MTG: Current volatility over 10 periods
Color-coded display (red when volatility > 35%, green otherwise)
4. Visual Table Display:
Real-time table positioned at bottom-right corner
9 columns (timeframes) × 5 rows (metrics)
Color-coded trend directions (green for Long, red for Short)
Updates every 5 bars for performance optimization
5. Zigzag Pattern Overlay:
Draws continuous zigzag lines connecting swing highs and lows
Configurable period length (default: 5)
Maintains last 20 swing points for clean visualization
Orange-colored lines with 2-pixel width
6. Technical Implementation:
Uses request.security() for multi-timeframe data
Implements pivot high/low detection with ta.pivothigh() and ta.pivotlow()
Maintains historical swing data using arrays
Excludes inside bars from swing calculations
This indicator is particularly useful for traders who need a comprehensive view of market structure across multiple timeframes, combining trend analysis with pattern recognition in a single, easy-to-read dashboard format.
PROFIT PURIFY SL/TargetsEach level has its own colored line:
Entry: White
Stop Loss: Red
Target 1: Orange
Target 2: Yellow
Target 3: Green
Each level has clear price labels that appear at the signal bar
The lines will remain visible until the next trade signal occurs
For long positions, targets appear above entry and SL below
For short positions, targets appear below entry and SL above
RSI with Background Colorhis script implements a trading strategy based on an EMA (Exponential Moving Average) crossover, confirmed by the RSI (Relative Strength Index), and includes a built-in stop-loss and take-profit.
Williams Fractals with Style & Line Width Options (Aligned)Fractal indicator with the ability to adjust the size of the circle by adjusting the width!
ModelScopeSctipt for M7 teaching about WDRR and partials
Just turn it on and use
Showing day ranges, prev days highs and lows, daily models, partial models, partial box etc blab al bnafbapeiougfbapogubnaedgpuiohbsawepiguwaebGPIUBN AOEGN APEOUGNBAEpoúgfnjqae=úoiughnqae ÚOIHNEGÚOIAWEGNE
AGDAUIHJEAGOÍADEHGÚOÉA
Just turn it on and use
Showing day ranges, prev days highs and lows, daily models, partial models, partial box etc blab al bnafbapeiougfbapogubnaedgpuiohbsawepiguwaebGPIUBN AOEGN APEOUGNBAEpoúgfnjqae=úoiughnqae ÚOIHNEGÚOIAWEGNE
AGDAUIHJEAGOÍADEHGÚOÉA
Robbin hoodsomething good, this is ewrfiwevdcbdkjsdbvkj vasfdkjvsdvkjae dk;v asd vk;jsbdvkaeskv jkjsD v.kj awerekrv
FGIHow it Works
The FGI uses two main conditions to determine fear and greed:
Fear Zone: This condition is met when the current price is significantly lower than its recent highest price, relative to its standard deviation. This suggests that the market may be experiencing a rapid decline, indicating fear among participants. When active, it plots a pink candlestick below the price bars.
Greed Zone: This condition is met when the inverse of the current price is significantly lower than the inverse of its recent highest price, also relative to its standard deviation. In simpler terms, this means the price is significantly higher than recent averages, suggesting excessive buying or greed. When active, it plots a green candlestick above the price bars.
Customizable Settings:
Source: You can choose the price data (e.g., ohlc4 which is the average of open, high, low, and close) the indicator uses for its calculations.
High Period: This setting determines the look-back period for calculating the highest price.
Stdev Period: This setting defines the period used for calculating the standard deviation.
Average Type: You can select whether the indicator uses a Weighted Moving Average (WMA) or a Simple Moving Average (SMA) for its internal calculations.
Show Alert Circle: This option allows you to display a small circle on the chart when a fear or greed condition is triggered.
SMA Fecho na Máxima, Mínima e NormalLarry Williams' Strategy - Short Moving Average Channel
✅ Indicators used:
High SMA: 3 periods
Low SMA: 3 periods
30-period Closing SMA: used as a trend filter
EMA 5 20 DCema 5 to ema 20 Death Cross by APkhant. Ema 5 to Ema 20 Deathcross and price is under deathcross , should sell for aggressive trader mode and should wait , pull back and sell for conservative trader mode. this is for me, my first script.
上涨动能This indicator calculates and visualizes the difference between the 20-period EMA and the 120-period EMA, helping traders identify medium-term momentum shifts in price action.
What It Does:
✅ Calculates the difference: Diff=EMA20 − EMA120
✅ Plots a line representing this difference for clear trend tracking.
✅ Plots a histogram (colored bars): Green bars indicate the EMA20 is above EMA120, suggesting bullish momentum. Red bars indicate the EMA20 is below EMA120, suggesting bearish momentum.
✅ Includes a zero baseline for easy reference: When the value crosses above zero, it indicates a potential bullish shift. When it crosses below zero, it indicates a potential bearish shift.
How to Use:
✅Use this indicator to visualize trend momentum in your crypto, forex, or stock trading.
✅Combine with your entry/exit signals (e.g., RSI, volume spikes, price action levels) to refine your strategy.
✅A rising Diff suggests strengthening bullish momentum, while a falling Diff suggests strengthening bearish momentum.
Why It’s Useful:
✅ Filters noise by using EMA smoothing on both short and long periods.
✅ Helps identify momentum shifts early without being overly sensitive to short-term volatility.
✅ Easy to integrate into trend-following or pullback strategies.
Fair Value Gap [Custom]📌 FVG Indicator – Smart Money Concepts Tool
This script is based on Smart Money Concepts (SMC) and automatically detects and marks Fair Value Gaps (FVG) on the chart, helping traders identify unbalanced price areas left behind by institutional moves.
🧠 What is an FVG?
An FVG (Fair Value Gap) is the price gap formed when the market moves rapidly, leaving behind a candle range where no trading occurred — typically between Candle 1’s high and Candle 3’s low (in a three-candle pattern). These gaps often signal imbalance, created during structural breaks or liquidity grabs, and may act as retrace zones or entry points.
🛠 Features:
✅ Automatically detects and highlights FVG zones (high-low range)
✅ Differentiates between open (unfilled) and closed (filled) FVGs
✅ Adjustable timeframe settings (works best on 1H–4H charts)
✅ Option to toggle display of filled FVGs
✅ Great for identifying pullback entries, continuation zones, or reversal setups
💡 Recommended Use:
After BOS/CHoCH, watch for price to return to the FVG for entry
Combine with Order Blocks and liquidity zones for higher accuracy
Best used as part of an ICT or SMC-based trading system
KST Strategy [Skyrexio]Overview
KST Strategy leverages Know Sure Thing (KST) indicator in conjunction with the Williams Alligator and Moving average to obtain the high probability setups. KST is used for for having the high probability to enter in the direction of a current trend when momentum is rising, Alligator is used as a short term trend filter, while Moving average approximates the long term trend and allows trades only in its direction. Also strategy has the additional optional filter on Choppiness Index which does not allow trades if market is choppy, above the user-specified threshold. Strategy has the user specified take profit and stop-loss numbers, but multiplied by Average True Range (ATR) value on the moment when trade is open. The strategy opens only long trades.
Unique Features
ATR based stop-loss and take profit. Instead of fixed take profit and stop-loss percentage strategy utilizes user chosen numbers multiplied by ATR for its calculation.
Configurable Trading Periods. Users can tailor the strategy to specific market windows, adapting to different market conditions.
Optional Choppiness Index filter. Strategy allows to choose if it will use the filter trades with Choppiness Index and set up its threshold.
Methodology
The strategy opens long trade when the following price met the conditions:
Close price is above the Alligator's jaw line
Close price is above the filtering Moving average
KST line of Know Sure Thing indicator shall cross over its signal line (details in justification of methodology)
If the Choppiness Index filter is enabled its value shall be less than user defined threshold
When the long trade is executed algorithm defines the stop-loss level as the low minus user defined number, multiplied by ATR at the trade open candle. Also it defines take profit with close price plus user defined number, multiplied by ATR at the trade open candle. While trade is in progress, if high price on any candle above the calculated take profit level or low price is below the calculated stop loss level, trade is closed.
Strategy settings
In the inputs window user can setup the following strategy settings:
ATR Stop Loss (by default = 1.5, number of ATRs to calculate stop-loss level)
ATR Take Profit (by default = 3.5, number of ATRs to calculate take profit level)
Filter MA Type (by default = Least Squares MA, type of moving average which is used for filter MA)
Filter MA Length (by default = 200, length for filter MA calculation)
Enable Choppiness Index Filter (by default = true, setting to choose the optional filtering using Choppiness index)
Choppiness Index Threshold (by default = 50, Choppiness Index threshold, its value shall be below it to allow trades execution)
Choppiness Index Length (by default = 14, length used in Choppiness index calculation)
KST ROC Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #2 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #3 (by default = 20, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #4 (by default = 30, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #2 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #3 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #4 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST Signal Line Length (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
User can choose the optimal parameters during backtesting on certain price chart.
Justification of Methodology
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is KST, Williams Alligator, Moving Average, ATR and Choppiness Index.
The KST (Know Sure Thing) is a momentum oscillator developed by Martin Pring. It combines multiple Rate of Change (ROC) values, smoothed over different timeframes, to identify trend direction and momentum strength. First of all, what is ROC? ROC (Rate of Change) is a momentum indicator that measures the percentage change in price between the current price and the price a set number of periods ago.
ROC = 100 * (Current Price - Price N Periods Ago) / Price N Periods Ago
In our case N is the KST ROC Length inputs from settings, here we will calculate 4 different ROCs to obtain KST value:
KST = ROC1_smooth × 1 + ROC2_smooth × 2 + ROC3_smooth × 3 + ROC4_smooth × 4
ROC1 = ROC(close, KST ROC Length #1), smoothed by KST SMA Length #1,
ROC2 = ROC(close, KST ROC Length #2), smoothed by KST SMA Length #2,
ROC3 = ROC(close, KST ROC Length #3), smoothed by KST SMA Length #3,
ROC4 = ROC(close, KST ROC Length #4), smoothed by KST SMA Length #4
Also for this indicator the signal line is calculated:
Signal = SMA(KST, KST Signal Line Length)
When the KST line rises, it indicates increasing momentum and suggests that an upward trend may be developing. Conversely, when the KST line declines, it reflects weakening momentum and a potential downward trend. A crossover of the KST line above its signal line is considered a buy signal, while a crossover below the signal line is viewed as a sell signal. If the KST stays above zero, it indicates overall bullish momentum; if it remains below zero, it points to bearish momentum. The KST indicator smooths momentum across multiple timeframes, helping to reduce noise and provide clearer signals for medium- to long-term trends.
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.
The next indicator is Moving Average. It has a lot of different types which can be chosen to filter trades and the Least Squares MA is used by default settings. Let's briefly explain what is it.
The Least Squares Moving Average (LSMA) — also known as Linear Regression Moving Average — is a trend-following indicator that uses the least squares method to fit a straight line to the price data over a given period, then plots the value of that line at the most recent point. It draws the best-fitting straight line through the past N prices (using linear regression), and then takes the endpoint of that line as the value of the moving average for that bar. The LSMA aims to reduce lag and highlight the current trend more accurately than traditional moving averages like SMA or EMA.
Key Features:
It reacts faster to price changes than most moving averages.
It is smoother and less noisy than short-term EMAs.
It can be used to identify trend direction, momentum, and potential reversal points.
ATR (Average True Range) is a volatility indicator that measures how much an asset typically moves during a given period. It was introduced by J. Welles Wilder and is widely used to assess market volatility, not direction.
To calculate it first of all we need to get True Range (TR), this is the greatest value among:
High - Low
abs(High - Previous Close)
abs(Low - Previous Close)
ATR = MA(TR, n) , where n is number of periods for moving average, in our case equals 14.
ATR shows how much an asset moves on average per candle/bar. A higher ATR means more volatility; a lower ATR means a calmer market.
The Choppiness Index is a technical indicator that quantifies whether the market is trending or choppy (sideways). It doesn't indicate trend direction — only the strength or weakness of a trend. Higher Choppiness Index usually approximates the sideways market, while its low value tells us that there is a high probability of a trend.
Choppiness Index = 100 × log10(ΣATR(n) / (MaxHigh(n) - MinLow(n))) / log10(n)
where:
ΣATR(n) = sum of the Average True Range over n periods
MaxHigh(n) = highest high over n periods
MinLow(n) = lowest low over n periods
log10 = base-10 logarithm
Now let's understand how these indicators work in conjunction and why they were chosen for this strategy. KST indicator approximates current momentum, when it is rising and KST line crosses over the signal line there is high probability that short term trend is reversing to the upside and strategy allows to take part in this potential move. Alligator's jaw (blue) line is used as an approximation of a short term trend, taking trades only above it we want to avoid trading against trend to increase probability that long trade is going to be winning.
Almost the same for Moving Average, but it approximates the long term trend, this is just the additional filter. If we trade in the direction of the long term trend we increase probability that higher risk to reward trade will hit the take profit. Choppiness index is the optional filter, but if it turned on it is used for approximating if now market is in sideways or in trend. On the range bounded market the potential moves are restricted. We want to decrease probability opening trades in such condition avoiding trades if this index is above threshold value.
When trade is open script sets the stop loss and take profit targets. ATR approximates the current volatility, so we can make a decision when to exit a trade based on current market condition, it can increase the probability that strategy will avoid the excessive stop loss hits, but anyway user can setup how many ATRs to use as a stop loss and take profit target. As was said in the Methodology stop loss level is obtained by subtracting number of ATRs from trade opening candle low, while take profit by adding to this candle's close.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2025.05.01. 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: 60%
Maximum Single Position Loss: -5.53%
Maximum Single Profit: +8.35%
Net Profit: +5175.20 USDT (+51.75%)
Total Trades: 120 (56.67% win rate)
Profit Factor: 1.747
Maximum Accumulated Loss: 1039.89 USDT (-9.1%)
Average Profit per Trade: 43.13 USDT (+0.6%)
Average Trade Duration: 27 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 1h 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 Skyrexio commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation.