Kioseff Trading - AI-Powered Strategy Optimizer Introducing the Kioseff Trading AI-Powered Strategy Optimizer
Optimize and build your trading strategy with ease, no matter your experience level. The Kioseff Trading AI-Powered Strategy Optimizer allows traders to efficiently test and refine strategies with thousands of different profit targets and stop loss settings. Integrated with TradingView's backtester, this tool simplifies strategy optimization, strategy testing, and alert setting, enabling you to enhance your strategy with AI-driven insights.
Key Features:
Comprehensive Testing : Simultaneously test thousands of profit targets and stop losses to fine-tune your strategy.
Dual Strategy Optimization : Adjust and optimize both long and short strategies for balanced performance.
AI Integration : Elevate your strategy with heuristic-based adaptive learning, turning it into a smart, AI-assisted system.
Detailed Analysis : View critical metrics like profit factor, win rate, max drawdown, and equity curve, presented in a strategy script format.
Customizable Alerts : Set alerts for the best version of your strategy.
Flexible Risk Management : Optimize various stop loss types, including profit targets, limit orders, OCO orders, trailing stops, and fixed stops.
Targeted Goals : Choose optimization goals like highest win rate, maximum net profit, or most efficient profit.
Indicator Compatibility : Integrate any strategy/indicator, whether it’s your creation, a favorite author’s, or any public TradingView indicator.
Accessible Design : Navigate a user-friendly interface suitable for traders of all skill levels. No code required.
Precision Lock-In : “Lock” your optimal profit target or stop loss to drill down into precision testing of other variables.
How it works
It's important to remember that merely having the AI-Powered Strategy Optimizer on your chart doesn't automatically provide you with the best strategy. You need to follow the AI's guidance through an iterative process to discover the optimal settings for your strategy.
The Trading Strategy Optimizer is a versatile tool tailored for both non-coding traders and seasoned algorithmic trading professionals. Let's start with no-code-required instructions on how to use the optimizer.
Instructions: How To Optimize Your Strategy Without Code
1. Build your strategy in the settings
The image above shows explanations for each key setting.
Note: This example uses the RSI indicator to initiate a long trade whenever it dips below the 30 mark.
Ensure that the indicator you wish to optimize is already applied to your chart . This enables the Trading Strategy Optimizer to interact with the indicator and finetune profit targets and stop losses effectively.
Because the indicator is plotted on the chart I can access the indicator with the Trading Strategy Optimizer and optimize profit targets and stop losses for it.
2. Leverage AI Recommendations
Optimization Prompt: After you load your strategy, the tool advises you on new TP and SL levels that could be more profitable.
When your strategy is set, the tool gives you tips for where to set your profit goal (TP) and your stop loss to help you optimize your strategy. It'll tell you if there's a better range for these settings based on past results.
Follow Suggestions: Keep updating your TP and SL according to the tool's suggestions until it says "Best Found".
Final Result: The last image shows the best settings found by the indicator.
(Optional Step 3)
3. Lock the profit target or stop loss to further fine tune your strategy
Continue following the AI’s suggestion until “Best Found” is displayed.
Note: you can select lock either your stop loss or profit target for fine tuning. For this demonstration we will lock our profit target.
Code-Required Instructions (Optional)
You can backtest more code-intensive strategies, such as harmonic patterns, traditional chart patterns, candlestick patterns, Elliot wave, etc., by coding the entry condition in your own script and loading it into the Trading Strategy Optimizer. Let's dial in on how to achieve this!
1. You must create an integer variable in your script with an initial value of "0".
2. Define your entry condition in the code. Once complete, assign the value "1" to the variable you created if the entry condition is fulfilled.
3. Plot your variable.
4. Select the plotted variable in the settings for the Trading Strategy Optimizer
The image above shows a coded entry condition for the linear regression channel (which can be any indicator). When price crosses under and closes below the lower line our variable "strategyEntryVariable" is assigned the value "1".
The Trading Strategy Optimizer will treat this change in value from "0" to "1" as an entry signal and enter long/short up to 1000 times at the price where the entry condition was fulfilled.
5. Test Your Strategy
The image above shows the completion of the process! Keep applying the steps we described. Stick with the AI's recommendations until you see “Best Found” show up.
By following these instructions, you can build, test, and optimize almost any trading indicator or strategy!
So, just note that the Trading Strategy Optimizer considers a change in value of a plotted variable from "0" to "1" as an entry signal! So long as you follow this rule you should be able to test and optimize any conceivable, Pine Script compatible strategy!
AI Mode
AI Mode incorporates Heuristic-Based Adaptive Learning to fine-tune trading strategies in a continuous manner. This feature consists of two main components:
Heuristic-Based Decision Making: The algorithm evaluates multiple versions of your strategy using specific metrics such as Profit and Loss (PNL), Win Rate, and Most Efficient Profit. These metrics act as heuristics to assist the algorithm in identifying suitable profit targets and stop losses for trade execution.
Online Learning: The algorithm updates the performance evaluations of each strategy based on incoming market data. This enables the system to adapt to current market conditions.
Incorporating both heuristic-based decision-making and online learning, this feature aims to provide a framework for trading strategy optimization.
Settings
AI Mode Aggressiveness:
Description: The "AI Mode Aggressiveness" setting allows you to fine-tune the AI's trading behavior. This setting ranges from "Low" To "High, with higher aggressiveness indicating a more assertive trading approach.
Functionality: This feature filters trading strategies based on a proprietary evaluation method. A higher setting narrows down the strategies that the AI will consider, leaning towards more aggressive trading. Conversely, a lower setting allows for a more conservative approach by broadening the pool of potential strategies.
Adaptive Learning Aggressiveness:
Description: When Adaptive Learning is enabled, the "Adaptive Learning Aggressiveness" setting controls how dynamically the AI adapts to market conditions using selected performance metrics.
Functionality: This setting impacts the AI's responsiveness to shifts in strategy performance. By adjusting this setting, you can control how quickly the AI moves away from strategies that may have been historically successful but are currently underperforming, towards strategies that are showing current promise.
Additional Settings
Optimization
Trading system optimization is immensely advantageous when executed with prudence.
Technical-oriented, mechanical trading systems work when a valid correlation is methodical to the extent that an objective, precisely-defined ruleset can consistently exploit it. If no such correlation exists, or a technical-oriented system is erroneously designed to exploit an illusory correlation (absent predictive utility), the trading system will fail.
Evaluate results practically and test parameters rigorously after discovery. Simply mining the best-performing parameters and immediately trading them is unlikely a winning strategy. Put as much effort into testing strong-performing parameters and building an accompanying system as you would any other trading strategy. Automated optimization involves curve fitting - it's the responsibility of the trader to validate a replicable sequence or correlation and the trading system that exploits it.
Cari dalam skrip untuk "profit"
Kioseff Trading - AI-Optimized RSIAI-Optimized RSI
Introducing AI-Optimized RSI: a streamlined solution for traders of any skill level seeking to rapidly test and optimize RSI. Capable of analyzing thousands of strategies, this tool cuts through the complexity to identify the most profitable, reliable, or efficient approaches.
Paired with TradingView's native backtesting capabilities, the AI-Optimized RSI learns from historical performance data. Set up is easy for all skill levels, and it makes fine-tuning trading alerts and RSI straightforward.
Features
Purpose : Uncover optimal RSI settings and entry levels with precision. Say goodbye to random guesses and arbitrary indicator use—this tool provides clear direction based on data.
Target Performance : You set the goal, and AI-RSI seeks it out, whether it's maximizing profits, efficient trading, or achieving the highest win rate.
AI-Powered : With intelligent AI recommendations, the tool dynamically fine-tunes your RSI approach, steering you towards ideal strategy performance.
Rapid Testing : Evaluate thousands of RSI strategies.
Dual Direction : Perfect both long and short RSI strategies with equal finesse.
Deep Insights : Access detailed metrics including profit factor, PnL, win rate, trade counts, and more, all within a comprehensive strategy script.
Instant Alerts : Set alerts and trade.
Full Customization : Test and optimize all RSI settings, including cross levels, profit targets and stop losses.
Simulated Execution : Explore the impact of limit orders and other trade types through simulation.
Integrative Capability : Combine your own custom indicators or others from the TradingView community for a personalized optimization experience.
Flexible Timeframes : Set your optimization and backtesting to any date range.
Key Settings
The image above shows explanations for a list of key settings for the optimizer.
Direction : This setting controls trade direction: Long or Short.
Entry Condition : Define RSI entry: Select whether to trigger trades on RSI crossunders or crossovers.
RSI Lengths Range : Choose the range of RSI periods to test and find the best one.The AI will find the best RSI period for you.
RSI Cross Range : Set the range for RSI levels where crosses trigger trade signals. The AI will find the best level for you.
Combinations : Select how many RSI strategies to compare.
Optimization Type : Choose the goal for optimization and the AI: profit, win rate, or efficiency.
Profit Target : Set your profit target with this setting.
Stop Loss : Decide your maximum allowable loss (stop loss) per trade.
Limit Order : Specify whether to include limit orders in the strategy.
Stop Type : Choose your stop strategy: a fixed stop loss or a trailing stop.
How to: Find the best RSI for trading
It's important to remember that merely having the AI-Optimized RSI on your chart doesn't automatically provide you with the best strategy. You need to follow the AI's guidance through an iterative process to discover the optimal RSI settings and strategy.
1.Starting Your Strategy Setup
Begin by deciding your goals for each trade: your profit target and stop loss. You'll also choose how to manage your stops – whether they stay put (fixed) or move with the price (trailing), and whether you want to exit trades at a specific price (limit orders). Keep the initial settings for RSI lengths and cross ranges at their default to give the tool a broad testing field. The AI's guidance will refine these settings to pinpoint the most effective ones through a process of comprehensive testing.
The image above shows our chart prior to any optimization efforts.
Note: the settings shown above in the key settings section will be used to start our demonstration.
2. Follow AI’s suggestions
Optimization Prompt: After loading your strategy, the indicator will prompt you to change the RSI length range and RSI level range to a better performing range.
Continue changing the RSI length range and RSI level range to match the indicator's suggestions until "Best Found" is displayed!
The image above shows results after we applied the tool’s suggestions. New suggestions have appeared, and we will continue to apply them.
Continue to adjust settings as recommended by the optimizer. If no better options are found, the optimizer will suggest increasing the number of combinations. Repeat this process until the optimizer indicates that the optimal setting has been identified.
Success! With the "Best Found" notification, an optimized RSI is now active. The AI will keep refining the strategy based on ongoing performance, ensuring continuous optimization.
AI Mode
AI Mode incorporates Heuristic-Based Adaptive Learning to fine-tune trading strategies in a continuous manner. This feature consists of two main components:
Heuristic-Based Decision Making: The algorithm evaluates multiple RSI-based trading strategies using specific metrics such as Profit and Loss (PNL), Win Rate, and Most Efficient Profit. These metrics act as heuristics to assist the algorithm in identifying suitable strategies for trade execution.
Online Learning: The algorithm updates the performance evaluations of each strategy based on incoming market data. This enables the system to adapt to current market conditions.
Incorporating both heuristic-based decision-making and online learning, this feature aims to provide a framework for trading strategy optimization.
Settings
AI Mode Aggressiveness:
Description: The "AI Mode Aggressiveness" setting allows you to fine-tune the AI's trading behavior. This setting ranges from “Low” to “High”, with “High” indicating a more assertive trading approach.
Functionality: This feature filters trading strategies based on a proprietary evaluation method. A higher setting narrows down the strategies that the AI will consider, leaning towards more aggressive trading. Conversely, a lower setting allows for a more conservative approach by broadening the pool of potential strategies.
Adaptive Learning Aggressiveness:
Description: When Adaptive Learning is enabled, the "Adaptive Learning Aggressiveness" setting controls how dynamically the AI adapts to market conditions using selected performance metrics.
Functionality: This setting impacts the AI's responsiveness to shifts in strategy performance. By adjusting this setting, you can control how quickly the AI moves away from strategies that may have been historically successful but are currently underperforming, towards strategies that are showing current promise.
Optimization
Trading system optimization is immensely advantageous when executed with prudence.
Technical-oriented, mechanical trading systems work when a valid correlation is methodical to the extent that an objective, precisely-defined ruleset can consistently exploit it. If no such correlation exists, or a technical-oriented system is erroneously designed to exploit an illusory correlation (absent predictive utility), the trading system will fail.
Evaluate results practically and test parameters rigorously after discovery. Simply mining the best-performing parameters and immediately trading them is unlikely a winning strategy. Put as much effort into testing strong-performing parameters and building an accompanying system as you would any other trading strategy. Automated optimization involves curve fitting - it's the responsibility of the trader to validate a replicable sequence or correlation and the trading system that exploits it.
Channels Strategy [JoseMetal]============
ENGLISH
============
- Description:
This strategy is based on Bollinger Bands / Keltner Channel price "rebounds" (the idea of price bouncing from one band to another).
The strategy has several customizable options, which allows you to refine the strategy for your asset and timeframe.
You can customize settings for ALL indicators, Bollinger Bands (period and standard deviation), Keltner Channel (period and ATR multiplier) and ATR (period).
- AVAILABLE INDICATORS:
You can pick Bollinger Bands or Keltner Channels for the strategy, the chosen indicator will be plotted as well.
- CUSTOM CONDITIONS TO ENTER A POSITION:
1. Price breaks the band (low below lower band for LONG or high above higher band for SHORT).
2. Same as 1 but THEN (next candle) price closes INSIDE the bands.
3. Price breaks the band AND CLOSES OUT of the band (lower band for LONG and higher band for SHORT).
4. Same as 3 but THEN (next candle) price closes INSIDE the bands.
- STOP LOSS OPTIONS:
1. Previous wick (low of previous candle if LONG and high or previous candle if SHORT).
2. Extended band, you can customize settings for a second indicator with larger values to use it as STOP LOSS, for example, Bollinger Bands with 2 standard deviations to open positions and 3 for STOP LOSS.
3. ATR: you can pick average true ratio from a source (like closing price) with a multiplier to calculate STOP LOSS.
- TAKE PROFIT OPTIONS:
1. Opposite band (top band for LONGs, bottom band for SHORTs).
2. Moving average: Bollinger Bands simple moving average or Keltner Channel exponential moving average .
3. ATR: you can pick average true ratio from a source (like closing price) with a multiplier to calculate TAKE PROFIT.
- OTHER OPTIONS:
You can pick to trade only LONGs, only SHORTs, both or none (just indicator).
You can enable DYNAMIC TAKE PROFIT, which updates TAKE PROFIT on each candle, for example, if you pick "opposite band" as TAKE PROFIT, it'll update the TAKE PROFIT based on that, on every single new candle.
- Visual:
Bands shown will depend on the chosen indicator and it's settings.
ATR is only printed if used as STOP LOSS and/or TAKE PROFIT.
- Recommendations:
Recommended on DAILY timeframe , it works better with Keltner Channels rather than Bollinger Bands .
- Customization:
As you can see, almost everything is customizable, for colors and plotting styles check the "Style" tab.
Enjoy!
============
ESPAÑOL
============
- Descripción:
Esta estrategia se basa en los "rebotes" de precios en las Bandas de Bollinger / Canal de Keltner (la idea de que el precio rebote de una banda a otra).
La estrategia tiene varias opciones personalizables, lo que le permite refinar la estrategia para su activo y temporalidad favoritas.
Puedes personalizar la configuración de TODOS los indicadores, Bandas de Bollinger (periodo y desviación estándar), Canal de Keltner (periodo y multiplicador ATR) y ATR (periodo).
- INDICADORES DISPONIBLES:
Puedes elegir las Bandas de Bollinger o los Canales de Keltner para la estrategia, el indicador elegido será mostrado en pantalla.
- CONDICIONES PERSONALIZADAS PARA ENTRAR EN UNA POSICIÓN:
1. El precio rompe la banda (mínimo por debajo de la banda inferior para LONG o máximo por encima de la banda superior para SHORT).
2. Lo mismo que en el punto 1 pero ADEMÁS (en la siguiente vela) el precio cierra DENTRO de las bandas.
3. El precio rompe la banda Y CIERRA FUERA de la banda (banda inferior para LONG y banda superior para SHORT).
4. Igual que el 3 pero ADEMÁS (siguiente vela) el precio cierra DENTRO de las bandas.
- OPCIONES DE STOP LOSS:
1. Mecha anterior (mínimo de la vela anterior si es LONGy máximo de la vela anterior si es SHORT).
2. Banda extendida, puedes personalizar la configuración de un segundo indicador con valores más extensos para utilizarlo como STOP LOSS, por ejemplo, Bandas de Bollinger con 2 desviaciones estándar para abrir posiciones y 3 para STOP LOSS.
3. ATR: puedes elegir el average true ratio de una fuente (como el precio de cierre) con un multiplicador para calcular el STOP LOSS.
- OPCIONES DE TAKE PROFIT:
1. Banda opuesta (banda superior para LONGs, banda inferior para SHORTs).
2. Media móvil: media móvil simple de las Bandas de Bollinger o media móvil exponencial del Canal de Keltner .
3. ATR: se puede escoger el average true ratio de una fuente (como el precio de cierre) con un multiplicador para calcular el TAKE PROFIT.
- OTRAS OPCIONES:
Puedes elegir operar sólo con LONGs, sólo con SHORTs, ambos o ninguno (sólo el indicador).
Puedes activar el TAKE PROFIT DINÁMICO, que actualiza el TAKE PROFIT en cada vela, por ejemplo, si eliges "banda opuesta" como TAKE PROFIT, actualizará el TAKE PROFIT basado en eso, en cada nueva vela.
- Visual:
Las bandas mostradas dependerán del indicador elegido y de su configuración.
El ATR sólo se muestra si se utiliza como STOP LOSS y/o TAKE PROFIT.
- Recomendaciones:
Recomendada para temporalidad de DIARIO, funciona mejor con los Canales de Keltner que con las Bandas de Bollinger .
- Personalización:
Como puedes ver, casi todo es personalizable, para los colores y estilos de dibujo comprueba la pestaña "Estilo".
¡Que lo disfrutes!
PIVOT STRATEGY [INDIAN MARKET TIMING]
A Back-tested Profitable Strategy for Free!!
A PIVOT INTRADAY STRATEGY for 5 minute Time-Frame , that also explains the time condition for Indian Markets
The Timing can be changed to fit other markets, scroll down to "TIME CONDITION" to know more.
The commission is also included in the strategy .
The basic idea is when ,
1) Price crosses above ema1 ,indicated by pivot highest line in green color .
2) Price crosses below ema1 ,indicated by pivot lowest line in red color .
3) Candle high crosses above pivot highest , is the Long condition .
4) Candle low crosses below pivot lowest , is the Short condition .
5) Maximum Risk per trade for the intraday trade can be changed .
6) Default_qty_size is set to 60 contracts , which can be changed under settings → properties → order size .
7) ATR is used for trailing after entry, as mentioned in the inputs below.
// ═════════════════════════//
// ————————> INPUTS <————————— //
// ═════════════════════════//
Leftbars —————> Length of pivot highs and lows
Rightbars —————> Length of pivot highs and lows
Price Cross Ema —————> Added condition
ATR LONG —————> ATR stoploss trail for Long positions
ATR SHORT —————> ATR stoploss trail for Short positions
RISK —————> Maximum Risk per trade for the day
The strategy was back-tested on RELIANCE ,the input values and the results are mentioned under "BACKTEST RESULTS" below .
// ═════════════════════════ //
// ————————> PROPERTIES<——————— //
// ═════════════════════════ //
Default_qty_size ————> 60 contracts , which can be changed under settings
↓
properties
↓
order size
// ═══════════════════════════════//
// ————————> TIME CONDITION <————————— //
// ═══════════════════════════════//
The time can be changed in the script , Add it → click on ' { } ' → Pine editor→ making it a copy [right top corner} → Edit the line 25 .
The Indian Markets open at 9:15am and closes at 3:30pm .
The 'time_cond' specifies the time at which Entries should happen .
"Close All" function closes all the trades at 3pm, at the open of the next candle.
To change the time to close all trades , Go to Pine Editor → Edit the line 103 .
All open trades get closed at 3pm , because some brokers don't allow you to place fresh intraday orders after 3pm .
NSE:RELIANCE
// ═══════════════════════════════════════════════ //
// ————————> BACKTEST RESULTS ( 128 CLOSED TRADES )<————————— //
// ═══════════════════════════════════════════════ //
INPUTS can be changed for better back-test results.
The strategy applied to NIFTY ( 5 min Time-Frame and contract size 60 ) gives us 60% profitability y , as shown below
It was tested for a period a 6 months with a Profit Factor of 1.45 ,net Profit of 21,500Rs profit .
Sharpe Ratio : 0.311
Sortino Ratio : 0.727
The graph has a Linear Curve with consistent profits .
The INPUTS are as follows,
1) Leftbars ————————> 3
2) Rightbars ————————> 5
3) Price Cross Ema ——————> 150
4) ATR LONG ————————> 2.7
5) ATR SHORT ———————> 2.9
6) RISK —————————> 2500
7) Default qty size ——————> 60
NSE:RELIANCE
Save it to favorites.
Apply it to your charts Now !!
↓
FOLLOW US FOR MORE !
Thank me later ;)
Short Swing Bearish MACD Cross (By Coinrule)This strategy is oriented towards shorting during downside moves, whilst ensuring the asset is trading in a higher timeframe downtrend, and exiting after further downside.
This script can work well on coins you are planning to hodl for long-term and works especially well whilst using an automated bot that can execute your trades for you. It allows you to hedge your investment by allocating a % of your coins to trade with, whilst not risking your entire holding. This mitigates unrealised losses from hodling as it provides additional cash from the profits made. You can then choose to hodl this cash, or use it to reinvest when the market reaches attractive buying levels. Alternatively, you can use this when trading contracts on futures markets where there is no need to already own the underlying asset prior to shorting it.
ENTRY
This script utilises the MACD indicator accompanied by the Exponential Moving Average (EMA) 450 to enter trades. The MACD is a trend following momentum indicator and provides identification of short-term trend direction. In this variation it utilises the 11-period as the fast and 26-period as the slow length EMAs, with signal smoothing set at 9.
The EMA 450 is used as additional confirmation to prevent the script from shorting when price is above this long-term moving average. Once price is above the EMA 450 the script will not open any shorts - preventing the rule from attempting to short uptrends. Due to this, this strategy is ideal for setting and forgetting.
The script will enter trades based on two conditions:
1) When the MACD signals a bearish cross. This occurs when the EMA 11 crosses below the EMA 26 within the MACD signalling the start of a potential downtrend.
2) Price has closed below the EMA 450. Price closing below this long-term EMA signals that the asset is in a sustained downtrend. Price breaking above this could indicate a bullish strength in which shorting would not be profitable.
EXIT
This script utilises a set take-profit and stop-loss from the entry of the trade. The take profit is set at 8% and the stop loss of 4%, providing a risk reward ratio of 2. This indicates the script will be profitable if it has a win ratio greater than 33%.
Take-Profit Exit: -8% price decrease from entry price.
OR
Stop-Loss Exit: +4% price increase from entry price.
Based on backtesting results across a selection of assets, the 45-minute and 1-hour timeframes are the best for this strategy.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
The backtesting data was recorded from December 1st 2021, just as the market was beginning its downtrend. We therefore recommend analysing the market conditions prior to utilising this strategy as it operates best on weak coins during downtrends and bearish conditions, however the EMA 450 condition should mitigate entries during bullish market conditions.
Swing Trader-Pro V2The strategy- what is it?
This indicator is designed from a theory created by myself in order to distinguish a correction from an impulse. This comes down to the ability to compare "x" range of candles to "y" range of candles and highlight key differences to then correctly portray that the most recent move in price will be (or is) a correction.
Following this theory, we all understand that corrections don't go with the trend right? So this means at some point, there is a high probability of a rejection somewhere in this most recent move, that will ultimately push price higher or lower as it continues back with the trend. Therefore, through extensive quantitative research and back-testing, we are able to highlight areas of high-probability rejections within these supposed corrections.
How does it work?
Firstly, we need to establish a high and low point (using pivots ) that help us decide what the state is of the recent move between the high and low (we call this "point A" and "point B"). So we can only consider whether the recent move in price was an impulse or a correction until the move from "point B" to "point C" is made. But before that, once we have identified "Point A" and "point B", we use 2 (supposedly) strong levels which help integrate a box onscreen and thus, indicate this area of high liquidity. This box will continue to adjust according to the change of pivots (if price keeps creating HH's & HL's or LH's & LL's depending on market trend). But if we establish a strong high and low and price stays within this range, then the box will remain in place.
The default color of the box is red; the only time the color of the box will change is when:
- Price retraces from the high/low back to the box (price has to touch the box)
AND
-If any of our confirmations indicate a successful correction based on our theory.
So the box color varies:
- Red = very weak (or) no entry = no confirmations were made
- Yellow = weak entry = some but not all confirmations were made
- Green = strong entry = all confirmations have indicated that the move from "point B" to "point C" (remember that "point C" is where the box is) is a correction when compared with the move from "point A" to "point B"
These confirmations are all validated on the same candle during live candle activity (not when the candle has closed on the box). As this happens, the confirmations will determine the state of entry quality as soon as price touches the box.
In this time, we will see a new orange label highlighting what indicators have confirmed a successful correction and what haven't.
The label shows the different confirmation indicators in which we have provided different names (as this is the secret we intend to keep). So we have:
- "CC"
- "B1/B2"
- "B3"
Usually, we will see either an "OK" or "NOT OK" next to each confirmation indicator. This just tells us whether they have confirmed or not. Please note that this "point C" label does not stay permanently, regardless of the state of entry quality. The label will in fact stay on the screen until the next box has been generated, which is usually a few candles after the entry has been triggered.
Entries, SL's and TP's
This indicator shows the user an area of high-probability rejection. So in terms of specifying a precise entry, you're completely free to enter on the following:
- the moment price touches the box (depending on what color it is of course)
- the other end of the box (if you would like to catch a "sniper entry")
- or if price pierces the entire box and is still green, you can wait to see if price comes back through the box (which indicates a false breakout).
As for Stop-losses, i would recommend:
- Long entries: set your SL at the recent low (this should be "point A")
- Short entries: set your SL to the recent high (this should be "point A" as well, because if you're switching from the "long entry" setting to the "short entry" setting, the indicator labels flip around and are the opposite of what they are for long entries).
For Take profits, this is entirely up to the user. Because some entries will allow you to have great RR ratios depending on how you manage the active trades. Some recommendations below:
- Set TP to "point B" pivot
- Use trailing stop function or something similar if available
- Add other indicators such as the RSI and close when price reaches key levels
- When price shows signs of exhaustion or early stages of reversal then just close
Additional information and recommendations
- This works on any time frame and on any financial market, whether you prefer Forex, stocks, crypto, commodities , etc.
- In regards to trade direction, you can change in the settings to look for either long or short positions in the market. I would recommend using it in favor of the overall trend of the markets because you will find a lot better entries. Although, this does work against the trend at times as well. Additionally, this tool also works in consolidating markets which is beneficial.
- After becoming used to the script, i would say to apply it twice to your screen and have one looking for Long entries and the other looking for Short entries.
- As the user, you have the ability to remove the labels in the parameter settings (because it does look quite messy onscreen, especially if you have both long and short entries on at the same time). I would only personally show the labels when price hits the current box to see what confirmations have been identified.
- I will also provide the best parameters to use. You will only need one set of parameters for each long and short setting, as these parameters are universal for any time frame and any financial market.
FIRST UPDATE
After extensive back testing using our first version, we found that in fact, there are some great opportunities being wasted as the entry box stays red. This is due to some series of market structure that don't always fit our theory of continuations within the market. We found that although our theory is accurate, the amount of times the market fits this is more rare than times when price follows sequences. When we look for sequences in the market instead of specifying differences between impulses and corrections, we actually see areas of serious repetitiveness, thanks to how our indicator initially generates. Not how it confirms. So, understanding this new theory through one component of our previous indicator, we are still able to keep boxes at the same area yet accurately confirm more profitable entries external to our full previous strategy.
Moving towards the practical side of things:
-Make sure "add extra confirmation" parameter is selected, as this will allow the indicator to search for more valid entries rather than just our normal confirmations. (this is a tick box).
- Default parameters are already set for both C1 and C2
In a simple sense, this update is added to find more confirmations to turn more red boxes into green boxes based on other theories outside of our original one. How we do this exactly is part of the mystery.
SECOND UPDATE
- Fibonacci based moving average: using elements of the Fibonacci sequence and its relevance to being a hot-spot in price activity, we have integrated this into a moving average which is stronger than your usual MA. Here, you will notice it showing stronger signs of rejecting price, especially when trending. Hence, this is extremely useful to implement into your strategy as part of the trend identification. When price is consolidating, depending on how volatile or close-in the waves are during these periods, the FMA is similar to your typical MA, so therefore not so good. But the overall intention of this is to enhance your conclusion to whether price is trending and whether price is bullish or bearish.
- This is now a strategy, not just an indicator: So now we can choose from a huge variety of parameters in accordance to what ones work best with what pair, or time frame. The typical parameters to change would be the entry points, stop losses and take profits. We have also added in a "SL to entry" option. ALL PARAMETERS ARE FIBONACCI LEVELS AS THIS MAKES IT UNIVERSAL TO ANY PAIR/ TIME FRAME.
- Move the entry boxes : So this is very useful for certain pairs and mainly to help the user understand key sequences on a quantitative level. Sometimes we can notice that pairs spike higher than the typical entry (0.618) so we have allowed flexibility to the point where you can alter the box appearance to either the 0.618 level (default), 0.786 and the 0.9 level.
- Back-testing: Now the user can back-test the strategy and see the performance within any financial market you add this to! Please note that according to the strategy, once a trade is placed, it wont enter any more trades when the current one is still active. I have requested to change this, but it is out of our development team's reach. However, this doesn't discredit what the system can help you achieve, as you will still be able to find profitable parameters within the financial markets.
Strategy default properties
Backtest start: this date is when you would like to start the backtest, however, the indicator will go as far as the data can be read
Backtest end: choose your date to end the back test.
Trade session: choose the trading session you want this strategy to work on.
Filter by session: you can filter the backtested results depending on whether you want the strategy to take trades within the chosen trading session.
Filter by Fibonacci moving average: select this if you would like for the back tested results to consider whether the valid trade setups are in accordance to what the FMA displays (Bullish or Bearish). This is deselected.
Fibonacci Moving Average Timeframe: here you can select what timeframe you would like the FMA to work on, default is the “same as chart” button/ option.
TraderDirection: choose whether you would like LONG or SHORT entries for the indicator to find.
Max risk per trade: choose the risk setting per trade, i would suggest lowering this to 1% ((MODERATOR) This is the default setting!)
EntryFib: choose between the options as to where you would like the strategy to enter positions, the default is the 0.618 zone which is the closest side of the box to price. You will also see that when you choose to change this, the boxes on your screen will move accordingly. A very helpful function!
StopFib: choose your Stop Loss based on the same Fibonacci level as what you choose for your entry, remember that the higher the fib level, the higher (or safer) your Stop Loss is from price spiking. It all comes down to preference.
TakeProfitFib: choose your Take Profit based on the same Fibonacci level as what you choose for your entry, remember that the lower the fib level, the higher your Take Profit is again, It all comes down to preference.
BreakevenFib: the default setting is on “disabled” however when you select a certain Fibonacci level, once price reaches there during the active trade, your Stop Loss will be set to entry, this function is designed to stop volatile price fluctuations rendering your in-profit trade result to hitting your Stop Loss and losing when it closes out.
MACD/RVSI/Stoch/RSI/EXP(Drawdown)I have been trying for several months to get a script to work on the 1min and this one gives some good backtest results. This script will also work on higher timeframes however, I've not extensively tested on higher timeframes. My aim was to get results on about 20 crypto coins then run the 1min bots in parallel looking for small frequent profits across all the coins. If you would like me to try and fit backtest results to any coin or pair on any timeframe please do get in touch anytime.
It's based on several indicators which are combined and then a newish way for the stop loss to implement based on an exponential rising which limits the time in each trade unless the price moves in the direction of the trade. The other useful feature is drawdown minimization which previously made all of my 1minute bot attempts non-practical due to differences between backtesting and actually running the bot(s) live.
Its possible at the top to paste in strategy comments which can be used through web-hooks for auto trading bots. Leaving these blank just defaults to the pre-programmed comments that provide some indication of why a trade was exited.
It is possible to select for Short and/or Long trades. Note however, that there are exponential markers on the charts for both long and short trades in any setting. I found that this way the bot worked well with regards to timing.
The next part of the user interface settings gets a bit tricky so try and use the sample parameters provided below. For example, select a crypto coin then try some of the options below until a reasonable backtest result in obtained (or select the best from the parameter groups tested) then move down the settings interface to optimise with the remaining settings.
So 'Use MACD/RVSI', 'RSI clause' and 'Use Stochastic' are set to true for the below sample settings (1min timeframe).
MACD/RVSI Confluence Resolution (1min, 2min, 5min, 10min, 1hour)
Timeframe RSI (1min, 2min, 3min, 15min, 1hour)
FastStoch, SlowStoch (1min, 45min: 5min, 30min: 1min, 1hour: 5min, 1hour)
Eg. for FTX:ETHPERP (MACD/RVSI Confluence Resolution=1hour, Timeframe RSI= 1min, FastStoch = 1min, SlowStoch = 45min)
Setting the timings is tricky - there is a lot going on. Have a look at the chart and select/deselect the options. The MACD/RVSI Confluence Resolution shows red and green vertical regions on the chart background. The Timeframe RSI colors the candle bodies red and green. These go green if the RSI crossed over 31% or red in the RSI crossed under 69%. The MACD/RVSI Confluence Resolution is explained in more detail in one of my other scripts. Then the Slow Stoch colors above and below the price action with red or green lines depending if on an uptrend or downtrend (approximately). Where there is also an up/down trend on the faster timeframe stoch there are vertical shaded fill regions between the slow stop above/below lines.
With all the above conditions selected to represent the data (looking at strategy backtest results whilst adjusting) there is a reasonable approximation to a credible trade.
So once an ok backtest result is obtained by selecting timing settings. Its ontot the Stop Ramp Settings. This is an exponential line which rises rapidly after a period of time thus exiting the trade or going upwards with the trade. It kind of limits the maximum time a trade will stay in position which forms part of the timing aspect of this bot. Look at the chart exponential red lines and adjust the settings, along with the backtest results to select a good timing.
Then its the Drawdown Catcher and the Take Profit Setting. Start with the drawdown catcher disabled i.e. set to zero. Put in a conservative Take Profit, for example if a Take Profit at 6% gives the best backtest results, go for 4% to account for differences between backtest results and actual live bot performance.
Then start to increase the Drawdown Catcher. This shades a lime region where the bot will not enter a trade. I found that with most trades using this bot, if the price action moved in the direction of the trade (long or short) at the onset - this gave most of the good results (high probability of positive trade). Also if a trade entered at the start price and when south, the accumilated drawdown from these failing trades made all previous 1min bot attempt non=profitable in practice (even with good backtest results). The exp timing and also this drawdown reduction strategies seem to be the thing which makes this approach credible.
Try to go for settings that give a very high change of positive trade. For example, an 85% profitable trades will probably provide say 55% positive trades in practice as its always highly possible to just fit the parameters to the exact position/trade timings - and in reality going forwards these don't play out the same. Also a Profit Factor of 2 is about the minimum I would accept - again this provides for example a Profit Factor of 1.2 in practive.
However all being said - I think its possible with this bot on the 1min across lots of coins - with regularly updating settings - to make profits. (Not financial advice)
Please do get in touch if you would like me to fit this bot to anytimeframe to any trade.
MoonFlag PhD
Scalping Dips On Trend (by Coinrule)Coinrule's Community is an excellent source of inspiration for our trading strategies.
In these months of Bull Market, our traders opted mostly on buy-the-dips strategies, which resulted in great returns recently. But there has been an element that turned out to be the cause for deep division among the Community.
Is it advisable or not to use a stop-loss during a Bull Market?
This strategy comes with a large stop-loss to offer a safer alternative for those that are not used to trade with a downside protection.
Entry
The strategy buys only when the price is above the Moving Average 50 , making it less risky to buy the dip, which is set to 2%.
The preferred time frame is 1-hour.
The stop-loss is set to be quite loose to increase the chances of closing the trade in profit, yet protecting from unexpected larger drawdowns that could undermine the allocation's liquidity.
Exit
Stop loss: 10%
Take Profit: 3%
In times of Bull Market, such a trading system has a very high percentage of trades closed in profit (ranging between 70% to 80%), which makes it still overall profitable to have a stop-loss three times larger than the take profit.
Pro tip: use a larger stop-loss only when you expect to close in profit most of the trades!
The strategy assumes each order to trade 30% of the available capital and opens a trade at a time. A trading fee of 0.1% is taken into account.
Pinescript v4 - The Holy Grail (Trailing Stop)After studying several other scripts, I believe I have found the Holy Grail! (Or perhaps I've just found a bug with Tradingview's Pinescript v4 language) Anyhow, I'm publishing this script in the hope that someone smarter than myself could shed some light on the fact that adding a trailing stop to any strategy seems to make it miraculously...no that's an understatement...incredulously, stupendously, mind-bendingly profitable. I'm talking about INSANE profit factors, higher than 200x, with drawdowns of <10%. Sounds too good to be true? Maybe it is...or you could hook it up to your LIVE broker, and pray it doesn't explode. This is an upgraded version of my original Pin Bar Strategy.
Recommended Chart Settings:
Asset Class: Forex
Time Frame: H1
Long Entry Conditions:
a) Exponential Moving Average Fan up trend
b) Presence of a Bullish Pin Bar
c) Pin Bar pierces the Exponential Moving Average Fan
Short Entry Conditions:
a) Exponential Moving Average down trend
b) Presence of a Bearish Pin Bar
c) Pin Bar pierces the Exponential Moving Average Fan
Exit Conditions:
a) Trailing stop is hit
b) Moving Averages cross-back (optional)
c) It's the weekend
Default Robot Settings:
Equity Risk (%): 3 //how much account balance to risk per trade
Stop Loss (x*ATR, Float): 0.5 //stoploss = x * ATR, you can change x
Stop Loss Trail Points (Pips): 1 //the magic sauce, not sure how this works
Stop Loss Trail Offset (Pips): 1 //the magic sauce, not sure how this works
Slow SMA (Period): 50 //slow moving average period
Medium EMA (Period): 18 //medium exponential moving average period
Fast EMA (Period): 6 //fast exponential moving average period
ATR (Period): 14 // average true range period
Cancel Entry After X Bars (Period): 3 //cancel the order after x bars not triggered, you can change x
Backtest Results (2019 to 2020, H1, Default Settings):
AUDUSD - 1604% profit, 239.6 profit factor, 4.9% drawdown (INSANE)
NZDUSD - 1688.7% profit, 100.3 profit factor, 2.5% drawdown
GBPUSD - 1168.8% profit, 98.7 profit factor, 0% drawdown
USDJPY - 900.7% profit, 93.7 profit factor, 4.9% drawdown
USDCAD - 819% profit, 31.7 profit factor, 8.1% drawdown
EURUSD - 685.6% profit, 26.8 profit factor, 5.9% drawdown
USDCHF - 1008% profit, 18.7 profit factor, 8.6% drawdown
GBPJPY - 1173.4% profit, 16.1 profit factor, 7.9% drawdown
EURAUD - 613.3% profit, 14.4 profit factor, 9.8% drawdown
AUDJPY - 1619% profit, 11.26 profit factor, 9.1% drawdown
EURJPY - 897.2% profit, 6 profit factor, 13.8% drawdown
EURGBP - 608.9% profit, 5.3 profit factor, 9.8% drawdown (NOT TOO SHABBY)
As you can clearly see above, this forex robot is projected by the Tradingview backtester to be INSANELY profitable for all common forex pairs. So what was the difference between this strategy and my previous strategies? Check my code and look for "trail_points" and "trail_offset"; you can even look them up in the PineScript v4 documentation. They specify a trailing stop as the exit condition, which automatically closes the trade if price reverses against you.
I however suspect that the backtester is not properly calculating intra-bar price movement, and is using a simplified model. With this simplfied approach, the trailing stop code becomes some sort of "holy grail" generator, making every trade entered profitable.
Risk Warning:
This is a forex trading strategy that involves high risk of equity loss, and backtest performance will not equal future results. You agree to use this script at your own risk.
Hint:
To get more realistic results, and *maybe* overcome the intrabar simulation error, change the settings to: "Stop Loss Trail Points (pips)": 100
I am not sure if this eradicates the bug, but the entries and exits look more proper, and the profit factors are more believable.
Low volatility Buy w/ TP & SL (Coinrule)The compression of volatility usually leads to expansion. When the breakout comes, it can ignite strong trends. One way to catch a coin trading in an accumulation area is to spot three moving averages with values close to each other. The strategy uses a combination of Moving Averages to spot the best time to buy a coin before its breakout.
Buy Condition
The MA200 is greater than the MA100
The MA50 is greater than the MA100
According to backtesting results, the 1-hour time frame is the best to run this strategy.
Sell Condition
Take Profit: the price increases 8% from the entry price
Stop Loss: the price drops 4% from the entry price
The strategy has a profitability of 40-60% (depending on the market conditions). Having a ratio of two between Take profit and Stop Loss helps keeping the strategy profitable in the long term.
Kairos [Backtester]Kairos bot looks for the opportune time to buy low and sell high at targets
It provides signals to open and close trades, and indicates favorable positions for a stop loss and profit taking
The Kairos bot can be used on any chart and on any time frame
---BACKTESTER---
Using the backtester script the user can look at a chart's history between selected dates to find optimal bot settings and optimal time frames
The backtester is based on general percentages for profit taking as indicated below:
-------------T1 T2 T3 T4 T5 T6 CLOSE
1 Target: 50% 50%
2 Targets: 50% 25% 25%
3 Targets: 40% 30% 20% 10%
4 Targets: 40% 25% 20% 10% 5%
5 Targets: 35% 25% 20% 10% 5% 5%
6 Targets: 30% 25% 20% 10% 5% 5% 5%
ie: If 2 targets are selected:
- 50% of investment will be taken at target 1
- 25% of investment will be taken at target 2
- and the remainder 25% will be taken when the trade is closed on a close signal
However, it is up to the user's own risk appetite to determine where and how much profit to take
Note that the backtester does not have any on screen indicators other than OPEN and CLOSE, however profit taking can be indicated by ticking the Style -> Trades on Chart tick box on the settings userform
---SIGNALS---
The signals script can be used for automation and can indicate up to 6 potential Profit Targets, as well as a Stop Loss based on how many bars back needs to be taken into consideration
The signals (Open/Close) can be automated using TradingView alerts, however the Stop Loss and Profit Taking are only indicators and are for the users own interpretation
The user does not have to place a Stop Loss or take profit at the Targets if so wished, the bot can be used to simply buy on an OPEN signal and sell on a CLOSE signal, however, the backtester will indicate that it is far more profitable to take profits.
It is advised to take profits just below indicated Targets as these are potentially high selling zones and price action can sometimes turn down just short of these targets.
---INVITE-ONLY SCRIPT---
This is an invite-only script, so if you would like to try out Kairos Bot, send me a message
kiska clouds backtest editionkiska clouds: crypto twitter's next cloud meme
Crypto is a fast-paced, highly-volatile asset, therefore, many traditional strategies are thrown out of the window when applied to cryptocurrency markets. In trading, there are only two things known for sure: price and volume . Price and volume data is then manipulated using various math equations in an effort to discover patterns and/or make predictions. kiska clouds are no different.
The kiska clouds are a simple crossover strategy. The clouds are different because of the unique averages being used and the embedded momentum indicator .
To use the clouds is simple:
When the green line crosses above the pink line, you buy/long.
When the green line crosses below the pink line, you sell/short.
The clouds are indicative of the trend's momentum. Using the power of math, the larger the cloud indicates a higher amount of buying/selling pressure. As the cloud thins, momentum is slowing, and the trend may be reversing.
At the time of testing, the strategy had a profitability of 54.55% accuracy with 1133.41% net profit. While I think this could be automated into a bot, adding a human element with stop losses and further analysis will significantly improve the accuracy/profitability.
This indicator is the backtest version of the kiska clouds (). For a trial or to purchase this indicator, send me a message on Twitter @moonkiska or here on TradingView. You will be granted a 2-3 day trial period to the backtesting strategy.
Renkomonster, v. 5.0RenkoMonster Elite
A radical redesign of our other approaches, RenkoMonster uses deep algorithmic and pattern tracking against standard systems to produce trade logic with the quietest, most actionable, signal-to-noise certainty. Designing around the right parameters brings the best results, and for investment instruments, that means focusing on market-mirroring mathematics that produce profits. Note, however, that focus on profits also means building an engine that maximizes for return, not some abstract percentage of right guesses. RenkoMonster is therefore built to enter every high-probability trade, then evaluate ongoing metrics to stay with a winner as long as possible, but also recognizing the need to exit quickly as soon as high-probability failure signals arise. The result: consistent winning trades, but, more importantly, immense profit-to-loss ratios that bring a superior payoff. RenkoMonster keeps you in the game to catch the huge runs that bring the big returns. (see Results Chart below) A premium trading system for the discerning investor seeking robust, effortless results across a range of asset classes, contact us for a free trial to test RenkoMonster on your favorite charts.
Results Chart
The backtests below show 1-year returns against a Buy and Hold (B+H) approach for 40 of the world’s top traded instruments (as measured by price volume or similar indicator). The RenkoMonster system was run on the top 10 instruments in four major markets: Equities, ETFs, Cryptocurrencies, and Forex. All tests were on a 30min chart, set to Renko “Traditional” blocks (because TradingView does not support realtime alerts from ATR-based charts). Block size was set proportionately to price to give the instrument positive results, but there was no “cherry-picking”. (In fact, changing time frames would have produced even better returns in some cases, but it seemed best to use a consistent measure.) Subscribers to the system receive a full, step-by-step breakdown on how to customize the parameters to get the best from their favorite markets.
(For each instrument, you see listed its Symbol (name), Profit % (annual return using RenkoMonster), Winning Trade % (being “right”), ProfitFactor (Ratio of money won to money lost), Max Draw Down % (point of worst % loss during the year), and B+H (how much the asset would have returned with no trades, via "buy-and-hold" )...)
RenkoMonste
Settings: 30 min, Traditional Renko box, over 1 year (June 1, 2018 - June 1, 2019)
EQUITIES
Symbol._.Profit Profit %._.Trade %._.Pf Max DrDn._.B + H
AMZN._.._.9,935._.._.._.._.66._.._..9.4._.._.._.1._.._.._.7
AAPL._.._.._318._.._.._.._.54._.._.._7.4._.._.._.2._.._.._.5
TSLA._.._32,777._.._.._.._.60._.._.._7.8._.._.._.2._.._.(-38)
FB._.._.._.._371._.._.._.._.46._.._.._5.4._.._.._.3._.._..(-7)
BABA._.._.._671._.._.._.._.55._.._.._6.3._.._.._.2._.._.(-23)
BYND._.._.._499._.._.._.._.67._.._..24._.._.._.._1._.._.140
MSFT._.._.._.271._.._.._.._.52._.._.._6.5._.._.._.2._.._..28
AMD._.._.._..539._.._.._.._.48._.._.._4.1._.._...13._.._.._0
NFLX._.._..8,695._.._.._.._.57._.._.._.7.4._.._.._2._.._.(-5)
BA._.._.._.1,448._.._.._.._..57._.._.._7.9._.._.._1._.._..97
ETFs
Symbol._.Profit %._.Trade %._.Pf._.Max DrDn._.B + H
SPY._.._.._.775._.._..66._.._..9.7._.._.1._.._.._.4
QQQ._.._.2,918._.._..66._.._.11._.._..1._.._.._.5
EEM._.._.._.463._.._..60._.._..7.1._.._.1._.._.._0
IWM._.._..2,060._.._..62._.._..9.1._.._.1._.._.(-3)
HYG._.._.._..18._.._..45._.._..2.2._.._.1._.._.._0.5
EWZ._.._.10,426._.._..62._...11._.._.._1._.._..26
LQD._.._.._..12._.._.._45._.._.2.3._.._.1._.._.._6
EFA._.._.._.236._.._.._52._.._.6.2._.._.1._.._..(-7)
FXI._.._.._..900._.._.._62._.._.8.3._.._.1._.._.(-15)
XLF._.._.._..393._.._...60._.._.6.8._.._.1._.._..(-3)
CRYPTOCURRENCIES
Symbol._.._.Profit %._.._.Trade %._.Pf._.Max DrDn._.B + H
BTC/USD._.100 million._.._.58._.._.12._.._.2._.._.._.(-8)
ETH/USD._.232 million._.._.54._.._..6.2._..4._.._.._(-54)
XRP/USD._.840 million._.._.52._.._..7._.._.4._.._.._(-21)
LTC/USD._.14 million._.._..51._.._..6.5._..5._.._.._..13
BCH/USD._.17 million._.._.51._.._..6._.._15._.._.._.(-5)
EOS/USD._.5 million._.._..49._.._..5.3._.._7._.._.._..13
BNB/USDT._.4 billion._.._..56._...15._.._..4.._.._.._128
BSV/USD._.299,000._.._.._.67._..109._.._..2._.._.._.(-8)
XLM/USD._.94 billion._.._..64._.._11._.._..3._.._.._..34
ADA/USD._.647,000._.._.._75._.._34._.._..1._.._.._.._3
FOREX PAIRS
Symbol._.._.Profit %._.Trade %._.Pf._.Max DrDn._.B + H
EUR/USD._.._.17._.._.._.37._.._.1.5._.._.2._.._.._.(-4)
USD/JPY._.._..9._.._.._..34._.._.1.2._.._.3._.._.._.(-1)
AUD/USD._.._.35._.._.._.45._.._.2.1._.._.2._.._.._.10
USD/CAD._.._.13._.._.._.35._.._.1.4._.._.3._.._.._..3
GBP/USD._.._.46._.._.._.38._.._.1.8._.._.3._.._.._.(-5)
NZD/USD._.._.39._.._.._.50._.._.2.6._.._.1._.._.._.(-6)
GBP/JPY._.._.66._.._.._.39._.._.1.9._.._.2._.._.._.(-6)
EUR/JPY._.._.25._.._.._.45._.._.2.1._.._.3._.._.._.(-5)
AUD/JPY._.._.65._.._.._.36._.._.1.9._.._.2._.._.._(-10)
EUR/GBP._.._.25._.._.._.45._.._.2.1._.._.3._.._.._..0.1
The 15 Minutes SlingShot System StrategyUse this strategy on the 15 Minutes timeframe for maximum profit. Even if the profitability is less than 60%, the profit factor is still above 5 for minimum losses which make it very profitable. The strategy is based on the SlingShot System Study.
Cyatophilum Trend Indicator [BACKTEST][STRATEGY]HOW IT WORKS
Based on my Cyatophilum Trend Indicator, this Strategy performs simple Buy and Sell orders when an alert from the Indicator triggers. The goal is to find the best Time Frame and Trend Parameter in order to make the most profit. The indicator turns the candles green for a Long trade/Buy and red for a Short trade/Sell.
ABOUT THE STRATEGY
The Net Profit (Gross profit - Gross loss) is calculated with a commission of 0.05% on each order.
Each trade is made with 1 BTC : The backtest buys 1 BTC and sells 1 BTC.
It clearly outperforms the Buy & Hold line, meaning it is more profitable to use this strategy than to just hold Bitcoin.
If you decided to Short or Long, profits can be higher, but trade at your own risk.
To use this strategy on a BTC market (for trading altcoins), change the default Order Size from 1 Contract to 100% of Equity.
MY PERSONNAL ADVICE
This is a Trend Indicator, meaning the least profitable trades are made during flat markets. Keep an eye on News and Volume to indentify a possible breakout and avoid trades during those flat periods. Do not trade during a Triangle since the commissions will rekt you.
Get This Indicator Today!
Purchase at blockchainfiesta.com
NOTE
If you purchase the Indicator you will get both the Alert Setup and the Backtest Strategy.
Find, discuss and request more backtesting on my discord!
discord.gg
CryptoMatt MT GainTrading StratThis project is focusing on the percent of profitability. Being consistently profitable is much easier on the mind when using a service to trade for you. Gains are still solid, but will continue this project to keep tweaking to be consistently profitable.
[NG] Strategy: CryptoMine - v1 - Low Drawdown - Beats Buy&Hold!So, I created this strategy that works on BTCUSD 0.28% pair along with almost all ALT-BTC pairs, and ALT-USD pairs (i.e. the cryptosphere). Here are some of the considerations I had when creating this script:
- Should work on BTCUSD 0.28% , along with most ALT-BTC and ALT-USD pairs without modifying strategy parameters for individual pairs.
- Should work with several timeframes, esp -0.67% . 15m-4hr timeframes. Better if the parameters are adjusted for these timeframes, automatically.
- Should have a small MaxDrawdown. Arguably <50% for cryptos.
- Should beat buy and hold profits for the pair.
- Should have multiple modes for switching between: Higher Returns vs Lower Drawdowns, multiple Long/Short versions - one which allows me to do margin trading by using the short calls (so, LONG, SHORT and FLAT), and another one where I can use the short calls by exiting out of the market and entering when the short call ends (so, LONG and SHORT only).
- Should have proper risk management built-in. Moreover, TakeProfit and StopLoss will be defined at a fixed 20% each, which is reasonable for crypto markets. Most strategies I see on tradingview fail on this count.
After several weeks of building such a script, and testing it successfully on multiple pairs - here are the results. :)
ETHBTC
=======================================================================================
Mode 1 (LONG and SHORT only)
--------------------------------------
First Trade: 2015-08-10 09:30, Final Profit: 1474649.65%, Drawdown: 66.21%, PF: 2.149, Trades: 1059
--------------------------------------
Mode 2 (LONG, SHORT and FLAT positions)
First Trade: 2015-08-14 05:30, Final Profit: 715274.55%, Drawdown: 36.34%, PF: 2.806, Trades: 589
BTCUSD 0.28%
=======================================================================================
Mode 1 (LONG and SHORT only)
--------------------------------------
First Trade: 2015-01-03 21:30, Final Profit: 28944.04%, Drawdown: 44.87%, PF: 1.353, Trades: 1222
--------------------------------------
Mode 2 (LONG, SHORT and FLAT positions)
First Trade: 2015-01-11 13:30, Final Profit: 22522.28%, Drawdown: 27.77%, PF: 1.877, Trades: 669
NANOBNB
=======================================================================================
Mode 1 (LONG and SHORT only)
--------------------------------------
First Trade: 2018-02-04 23:30, Final Profit: 365.5%, Drawdown: 39.4%, PF: 1.967, Trades: 51
--------------------------------------
Mode 2 (LONG, SHORT and FLAT positions)
First Trade: 2015-01-11 13:30, Final Profit: 236.91%, Drawdown: 25.62%, PF: 3.692, Trades: 25
NOTE: I will not be sharing access to this script, since market saturation is a real thing. Send me an email at menikhguptacom - if you are really interested in this script.
TL Breakout + SR + Pro Logic [STRATEGY v8.5] IndicatorEdge By SGTired of chasing false breakouts and trading low-quality reversal signals? The TL Breakout Pattern Score Pro is a definitive, institutional-grade trading strategy that combines dynamic trendline analysis with a powerful candlestick scoring engine.
This is not just another breakout indicator. It is a complete, backtestable system designed to identify a high-probability breakout, wait patiently for a retest of the broken structure, and only then enter a trade if confirmed by a high-scoring candlestick pattern. It’s a systematic approach built for discipline, precision, and robust risk management.
Key Features
🛡️ Dual Analysis Modes: Switch between two powerful analysis methods with a single click:
Diagonal Trendlines: Automatically draws and extends swing-based trendlines, identifies the breakout, and creates a "retest zone."
Horizontal S/R Channels: Identifies classic support and resistance channels based on a defined lookback period, trading breakouts and retests of these key horizontal levels.
🔟 Dynamic Pattern Scoring Engine: This is the "Pro Logic." The strategy doesn't just find patterns; it scores them. It quantifies the strength of reversal patterns like the Engulfing, Morning/Evening Star, and Hammer. A trade is only triggered if the pattern's score meets your minimum threshold.
⚙️ Professional Risk & Trade Management:
Risk-Based Position Sizing: Automatically calculates the correct position size for every trade based on your chosen risk percentage and the stop loss distance.
Partial Take Profits: Secures profits at a primary target (TP1) while leaving the rest of the position to run.
Move to Breakeven & Trailing Stop: After TP1 is hit, the stop loss is moved to breakeven, and an intelligent ATR-based trailing stop activates to lock in gains as the trend continues.
🚦 Intelligent Market Filters: The strategy is designed to stay flat in poor conditions.
BBW Squeeze Filter: Avoids entries during periods of low-volatility consolidation.
ATR Volatility Filter: Ensures the market has enough movement to be worth trading.
Volume & EMA Trend Filters: Confirms that volume and the long-term trend are in your favor before committing to a trade.
📊 The "Story" Dashboard: The on-screen dashboard tells you everything you need to know in a single glance: Is the market tradable? What is the current pattern score? How is the backtest performing (Net Profit, Profit Factor, Win Rate)?
How the Strategy Works: The 4-Step Logic
This strategy is built on a patient, four-step process:
Structure Break: The system first identifies a valid breakout of either a diagonal trendline or a horizontal support/resistance level.
Wait for Retest: Instead of chasing the breakout, it creates a "retest zone" around the broken structure and patiently waits for price to return.
Pattern Confirmation: When price enters the retest zone, the strategy activates its pattern scoring engine. It looks for a high-quality, high-scoring reversal pattern that confirms the retest is holding.
Execute & Manage: Only if the pattern score is high enough, the strategy enters a trade with a pre-calculated position size, stop loss, and multiple take-profit targets.
How to Use This Strategy
Select Analysis Mode: Choose between "Diagonal Trendlines" or "Horizontal S/R Channels" based on the current market structure.
Backtest: Use the Strategy Tester to analyze the performance on your preferred asset and timeframe. This is a powerful tool for understanding the strategy's historical behavior.
Review the Dashboard: The dashboard provides real-time feedback on the market conditions and pattern strength. A green "ACTIVE" status and a high pattern score are ideal.
Adjust Risk: The most important setting is your "Risk % Per Trade." Adjust this according to your personal risk tolerance.
Disclaimer: This tool is for educational and analytical purposes only. All trading involves substantial risk, and the author, IndicatorEdge By SG, is not liable for any financial losses incurred. Past performance and backtest results are not indicative of future results. Please trade responsibly.
- Trading Bot – Dynamic RSI (Professional) - Robot Strategy -1. General Concept and Philosophy
This strategy was designed for systematic traders and work especially well on short timeframes (1 to 5 minutes), who seek to capture trend reversal movements with a high degree of confirmation. The goal is not to follow the trend, but to identify precise entry points in oversold or overbought zones, and then to exit the position dynamically to adapt to changing market conditions.
The originality of Trading Bot Dynamic RSI lies not in a single indicator, but in the intelligent fusion of several concepts:
Dynamic RSI bands for both entries and exits .
A triple confirmation filter to secure trade entries.
A fully parameterizable design ready for automation .
2. Originality at the Core of the Strategy: Key Features
Dynamic Exits on RSI Bands: This is a main original feature of this script. Unlike traditional strategies that use fixed Take-Profits and Stop-Losses, this one uses an exit RSI band, calculated with parameters independent of the entry ones. This allows the strategy to:
Adapt to Volatility: In a volatile market, the exit band will move further away, allowing for the capture of larger moves. In a ranging market, it will tighten to secure smaller gains.
Optimize Profits: The exit occurs when momentum genuinely fades, not at an arbitrary price level, thus maximizing the potential of each trade.
Triple Confirmation Filter for Precise Entries: To avoid false signals, each entry is validated by the convergence of three distinct conditions:
The base signal is generated when the price reaches an overbought or oversold zone, materialized by an RSI band calculated directly on the chart.
The WaveTrend oscillator must also be in an extreme zone, confirming that the short-term momentum is ready for a reversal.
Finally, the StochRSI must validate that the RSI itself is in an overbought or oversold condition, adding an extra layer of security.
"Automation Ready" Design: The strategy was developed with automation in mind.
Customizable Alert Messages: All messages for entries and exits (Long/Short) can be formatted to be compatible with automated trade execution platforms.
Precise Capital Management: The position size calculation can be set as a fixed amount (e.g., 100 USDT), a percentage of the total capital, or of the available capital, and includes leverage. These parameters are crucial for a trading bot.
3. Detailed Operation
Entry Logic: A position is opened only if the following three conditions are met:
The market price touches (or closes below/above) the entry RSI band (lower for a buy, upper for a sell).
The WaveTrend indicator is in the oversold zone (for a buy) or overbought zone (for a sell).
The Stochastic RSI indicator is also in the oversold zone (for a buy) or overbought zone (for a sell).
The order is placed as a limit order on the RSI band, allowing for execution at the best possible price.
Exit Logic: The primary exit is dynamic.
For a Long position, the trade is closed when the price reaches the upper exit RSI band.
For a Short position, the trade is closed when the price reaches the lower exit RSI band.
Optionally, a percentage-based Stop-Loss and Take-Profit can be activated for more traditional risk management, although the dynamic exit is the recommended default mechanism.
4. Ease of Use and Customization
Despite its internal complexity, the strategy is designed to be user-friendly :
Clear Settings Panel: Parameters are grouped by function (Long Entry, Long Exit, Quantity, etc.), and each option comes with an explanatory tooltip.
Integrated Display: All key information (performance, current settings) is displayed in clean and discreet tables directly on the chart, allowing you to see at a glance how the strategy is configured.
Total Flexibility: Although default settings are provided, every parameter (RSI lengths, levels, filters) can be adjusted to optimize the strategy on any asset (cryptocurrencies, Forex, indices...) and any timeframe.
5. Detailed Guide to User Settings
A comprehensive set of parameters
To offer you complete control and maximum flexibility, the strategy exposes a comprehensive set of parameters. Here is an overview of what you can customize:
Trading Mode and Display
Trading Mode: Choose to enable only long positions ("Long Only"), only short positions ("Short Only"), or both simultaneously ("Long and Short").
Display: Manage the information panels on the chart. You can opt for a full display, a minimal window showing the profit, or hide all information for a clean chart.
Filters Smoothing (StochRSI K)
Filters Smoothing: This key parameter adjusts the smoothing of the Stochastic RSI. A lower value will make the filter more responsive, generating more signals. A higher value will make it smoother, generating fewer but potentially more reliable signals.
LONG Position Settings
Long Only mode
Entry: Define the RSI length and Oversold level that draw the lower band for long position entries.
Exit: Independently configure the RSI length and Overbought level that draw the upper band for the dynamic position exit.
Options: Optionally enable a percentage-based Take-Profit and/or Stop-Loss.
SHORT Position Settings
Short Only Mode
Entry: Define the RSI length and Overbought level for the upper entry band for short positions.
Exit: Independently configure the RSI length and Oversold level for the lower dynamic exit band.
Options: Just like for long positions, you can enable a percentage-based Take-Profit and/or Stop-Loss.
Quantity and Leverage
Quantity Type: Calculate your position size in three ways: as a fixed cash amount, as a percentage of available capital, or as a percentage of the total account balance.
Amount: Specify the dollar amount or percentage to commit per trade.
Leverage: Set the leverage to be applied. This is crucial for automation.
Backtest Period
Backtest Period: Enable this option to limit the strategy's calculations to a specific time period. This is a powerful tool for testing performance under particular market conditions.
Bot Alert Messages
Bot Alert Messages: This section is dedicated to automation. Customize the exact text messages that will be sent by TradingView alerts for each event (enter long, exit long, etc.).
Other Settings (Advanced - Optional)
Other Settings: This section allows experienced users to fine-tune the confirmation engine. You can adjust the parameters of the WaveTrend and Stochastic RSI oscillators in detail.
Spread Calculator (Informative Only)
Spread Calculator: This handy tool helps you estimate the actual fees of your exchange to run a much more realistic backtest. This panel has no impact on the trading logic itself.
Disclaimer
This strategy provides signals based on past market conditions. Past performance is not indicative of future results. Trading involves risk, and it is the responsibility of each user to manage their risk appropriately. It is strongly recommended to conduct thorough backtests and to understand the functioning of each parameter before using this strategy in live conditions or automating it. Take into account transaction fees, spread, and slippage, which can impact real results.
TTE Elite Market SignalsWelcome to TTE Elite Market Signals Your very own personal trading assistant
Trading today demands more than intuition—it requires exclusive access to elite-level market intelligence and the discipline to act on high-probability signals. Every professional trader seeks that decisive advantage: the clarity and confidence that separates consistent profitability from market uncertainty. The financial markets show no mercy, demanding precision, logic, and strategy grounded in institutional-grade analysis.
Human judgment, while powerful, can be compromised by fatigue and emotion, leading to costly trading errors. This is precisely where TTE Elite Market Signals excels. Our sophisticated platform combines proven trading methodologies with advanced signal generation technology, delivering market intelligence that empowers you to identify optimal entry and exit opportunities while maintaining complete control over your trading decisions.
Revolutionary Signal Intelligence
TTE Elite Market Signals features adaptive learning technology that evolves with market conditions. It continuously refines its analysis, helping you identify higher-probability setups while providing the market intelligence needed for superior risk management.
Elite Analysis Modes
Our platform adapts its signal generation to match market personalities:
- Institutional Flow Mode (MM-hybrid): Identifies manipulation patterns and tracks smart money movement with exclusive institutional-grade precision
- Momentum Adaptive Mode: Rapidly adjusts analysis when volatility and momentum shift
- Conservative Precision Mode: Steady, risk-conscious signals for consistent performance
- Adaptive Intelligence Mode: Self-refining system that enhances signal quality over time from past trades (long term of use)
Comprehensive Signal Intelligence
TTE Elite Market Signals integrates multiple sophisticated analytical systems:
- Volume Profile analysis for exclusive institutional-level market insights
- Pattern recognition enhanced by machine learning algorithms
- Intelligent exit timing that identifies optimal profit-taking opportunities
- Protection against market manipulation tactics
- Position sizing guidance that scales with trading success
- Fibonacci based reversal logic
Perfect for Your Trading Evolution
Experienced traders appreciate our sophisticated market intelligence and institutional-grade analytics that provide genuine competitive advantages.
Developing traders benefit from intelligent signal analysis that handles complex market calculations while teaching professional-level market interpretation and risk management principles via visuals on chart and descriptive panel.
All timeframes supported—from scalping to swing trading, TTE Elite Market Signals adapts to your preferred trading style via several user input selections.
Two Elite Service Modes
1. Signal Intelligence Mode: Real-time market signals with AI-driven analysis and detailed trade rationale
2. Alert Precision Mode: High-probability setup notifications with comprehensive market context and risk parameters
The Exclusive Learning Advantage
What makes TTE Elite Market Signals exceptional: it maintains a comprehensive trade memory and identifies the highest-probability signals, adapts to changing volatility patterns, and continuously refines(does not repaint) its analysis to enhance your profit potential and trading accuracy.
Built-in Professional Protection
- Advanced manipulation detection safeguards against institutional market maker(MM) tactics
- Intelligent risk assessment adjusts signal confidence based on market conditions
- Progressive scaling guidance maximizes winners while minimizing losses(educational)
- Comprehensive oversight with customizable risk parameters
Experience the Elite Difference
TTE gives you visuals on the chart of past trades and live metrics results to see what actually work and what fails, to minimize unrealistic expectations. Just sit back and watch sophisticated algorithms work tirelessly on your behalf, identifying opportunities that others miss and alerting you as signals are generated. Transforming the stressful, emotional battlefield of trading into a systematic analytical approach.
Let the System Do the Heavy Lifting
While others struggle with analysis paralysis and emotional decision-making, you'll have access to signals that have already processed hundreds of data points, identified institutional patterns, and calculated optimal risk-reward scenarios for a far less stressful trading experience.
What Elite Traders Should Know
TTE Elite Market Signals represents cutting-edge signal generation technology designed for serious market education and skill development, but it is not a black box, nor perfect for all markets. It must be adjusted to yield optimal results. While our advanced capabilities and institutional-grade features provide significant analytical advantages, trading success requires discipline and proper execution. Markets evolve, and optimal results demand understanding of signal context.
Success with TTE Elite Market Signals comes from mastering our analytical modes and using the proper entry types such as breakout entry, machine learning(ML) entry etc, utilizing and selecting the most effective risk control to optimize it, and maintaining disciplined risk management.
Join the Elite Trading Revolution
This isn't just another signal service—it equips you with the tools to do proper market analysis displaying price movement and volume profile designed for serious traders who understand that consistent profitability comes from discipline, superior market intelligence and proper interpretation, not luck.
Trade smart, stay profitable, and achieve trading excellence.
Best TTE Settings
Trade Entry Types:
1st Best Breakout Entry(out perform all others when used alone)
2nd Best ML Entry by itself or + Pattern Entry Combined
Risk Management:
ATR Multiplier 2
Enable Master Size Control
Master Size Mode
Max Risk Per Trade % 2.5
Max Multiplier Cap 1.5
Enable Growth Scaling
Growth Scaling Mode-set to Time Based or Performance
Risk Management System- set to Hybrid
Enable ML System
ML Mode-set to Auto or Quantum Learning
ML Application Strategy-set to Universal All Entries
Enable Trend Continuation
Mode- Set to Standard
Independent Entry-stays unchecked(off)
Best Performing Instruments on TTE (will update list as more are adjusted and tested)
NVDA
AMD
AMZN
TSLA
SPY
QQQ
PLTR
Recovery Zone Hedging [Starbots]Recovery Zone Hedging Strategy — Advanced Adaptive Hedge Recovery System
This strategy introduces an innovative zone-based hedge recovery approach tailored to TradingView’s single-direction trading model. Designed for serious traders and professionals, it combines multiple technical indicators with dynamic position sizing and adaptive take-profit mechanisms to manage drawdowns and maximize recovery efficiency.
How Recovery Zones Are Calculated
The strategy defines recovery zones as a configurable percentage distance from the last executed trade price. This percentage can be adjusted to suit different market volatility environments — wider zones for volatile assets, tighter zones for stable ones. When price moves into a recovery zone against the open position, the strategy places a hedge trade in the opposite direction to help recoup losses.
Dynamic Take-Profit Calculation
Take-profit targets are not fixed. Instead, they increase dynamically based on any accumulated losses from previous hedge trades. For example, if your initial target is 2%, but you have a $5 loss from prior hedges, the next take-profit target adjusts upward to cover both the loss and your profit goal, ensuring the entire hedge sequence closes in net profit.
Originality & Value
Unlike traditional hedging or recovery scripts that rely on static stop losses and fixed trade sizing, this strategy offers:
- Dynamic Hedge Entry Zones: Uses configurable percentage-based recovery zones that adapt to price volatility, allowing precise placement of hedge trades at meaningful reversal levels.
- Multi-Indicator Signal Fusion: Integrates MACD and Directional Movement Index (DMI) signals to confirm trade entries, improving signal accuracy and reducing false triggers.
- Exponential Position Sizing: Each hedge trade’s size grows exponentially using a customizable multiplier, accelerating loss recovery while carefully balancing capital usage.
- Adaptive Take-Profit Logic: The take-profit target adjusts dynamically based on accumulated losses and profit margins, ensuring that the entire hedge sequence closes with a net gain.
- Capital Usage Monitoring: A built-in dashboard tracks real-time equity consumption, preventing over-leveraging by highlighting critical capital thresholds.
- Fail-Safe Exit Mechanism: An optional forced exit beyond the last hedge zone protects capital in extreme market scenarios.
This strategy’s layered design and adaptive mechanisms provide a unique and powerful tool for traders seeking robust recovery systems beyond standard hedge or martingale methods.
How Components Work Together
- Entry Signals: The script listens for MACD line crossovers and DMI directional crosses to open an initial trade.
- Recovery Zones: If the market moves against the initial position, the strategy calculates a recovery zone a set percentage away and places a hedge trade in the opposite direction.
- Position Scaling: Each subsequent hedge trade increases in size exponentially according to the hedge multiplier, designed to recover all previous losses plus a profit.
- Take-Profit Target: Rather than a fixed target, the TP level is dynamically calculated considering current drawdown and desired profit margin, ensuring the entire hedge sequence closes profitably.
- Cycle Management: Trades alternate direction following the recovery zones until profit is realized or a maximum hedge count is reached. If needed, a forced stop-out limits risk exposure.
Key Benefits for Professional Traders
- Enhanced Risk Management: Real-time capital usage visualization helps maintain safe exposure levels.
- Strategic Hedge Recovery: The adaptive recovery zones and exponential sizing accelerate loss recoupment more efficiently than traditional fixed-step systems.
- Multi-Indicator Confirmation: Combining MACD and DMI reduces false signals and improves hedge timing accuracy.
- Versatility: Suitable for multiple timeframes and asset classes with adjustable parameters.
- Comprehensive Visuals: On-chart recovery zones, hedge levels, dynamic take-profits, and equity usage tables enable informed decision-making.
Recommended Settings & Use Cases
- Initial Position Size: 0.1–1% of account equity
- Recovery Zone Distance: 2–5% price movement
- Hedge Multiplier: 1.5–1.85x growth per hedge step
- Max Hedge Steps: 5–10 for controlled risk exposure
Ideal for trending markets where price retracements create viable recovery opportunities. Use caution in sideways markets to avoid extended hedge sequences.
Important Notes
- TradingView’s single-direction model means hedging is simulated via alternating trades.
- Position sizes grow rapidly—proper parameter tuning is essential to avoid over-leveraging.
This script is designed primarily for professional traders seeking an advanced, automated hedge recovery framework, offering superior capital efficiency and loss management.
Game Theory Trading StrategyGame Theory Trading Strategy: Explanation and Working Logic
This Pine Script (version 5) code implements a trading strategy named "Game Theory Trading Strategy" in TradingView. Unlike the previous indicator, this is a full-fledged strategy with automated entry/exit rules, risk management, and backtesting capabilities. It uses Game Theory principles to analyze market behavior, focusing on herd behavior, institutional flows, liquidity traps, and Nash equilibrium to generate buy (long) and sell (short) signals. Below, I'll explain the strategy's purpose, working logic, key components, and usage tips in detail.
1. General Description
Purpose: The strategy identifies high-probability trading opportunities by combining Game Theory concepts (herd behavior, contrarian signals, Nash equilibrium) with technical analysis (RSI, volume, momentum). It aims to exploit market inefficiencies caused by retail herd behavior, institutional flows, and liquidity traps. The strategy is designed for automated trading with defined risk management (stop-loss/take-profit) and position sizing based on market conditions.
Key Features:
Herd Behavior Detection: Identifies retail panic buying/selling using RSI and volume spikes.
Liquidity Traps: Detects stop-loss hunting zones where price breaks recent highs/lows but reverses.
Institutional Flow Analysis: Tracks high-volume institutional activity via Accumulation/Distribution and volume spikes.
Nash Equilibrium: Uses statistical price bands to assess whether the market is in equilibrium or deviated (overbought/oversold).
Risk Management: Configurable stop-loss (SL) and take-profit (TP) percentages, dynamic position sizing based on Game Theory (minimax principle).
Visualization: Displays Nash bands, signals, background colors, and two tables (Game Theory status and backtest results).
Backtesting: Tracks performance metrics like win rate, profit factor, max drawdown, and Sharpe ratio.
Strategy Settings:
Initial capital: $10,000.
Pyramiding: Up to 3 positions.
Position size: 10% of equity (default_qty_value=10).
Configurable inputs for RSI, volume, liquidity, institutional flow, Nash equilibrium, and risk management.
Warning: This is a strategy, not just an indicator. It executes trades automatically in TradingView's Strategy Tester. Always backtest thoroughly and use proper risk management before live trading.
2. Working Logic (Step by Step)
The strategy processes each bar (candle) to generate signals, manage positions, and update performance metrics. Here's how it works:
a. Input Parameters
The inputs are grouped for clarity:
Herd Behavior (🐑):
RSI Period (14): For overbought/oversold detection.
Volume MA Period (20): To calculate average volume for spike detection.
Herd Threshold (2.0): Volume multiplier for detecting herd activity.
Liquidity Analysis (💧):
Liquidity Lookback (50): Bars to check for recent highs/lows.
Liquidity Sensitivity (1.5): Volume multiplier for trap detection.
Institutional Flow (🏦):
Institutional Volume Multiplier (2.5): For detecting large volume spikes.
Institutional MA Period (21): For Accumulation/Distribution smoothing.
Nash Equilibrium (⚖️):
Nash Period (100): For calculating price mean and standard deviation.
Nash Deviation (0.02): Multiplier for equilibrium bands.
Risk Management (🛡️):
Use Stop-Loss (true): Enables SL at 2% below/above entry price.
Use Take-Profit (true): Enables TP at 5% above/below entry price.
b. Herd Behavior Detection
RSI (14): Checks for extreme conditions:
Overbought: RSI > 70 (potential herd buying).
Oversold: RSI < 30 (potential herd selling).
Volume Spike: Volume > SMA(20) x 2.0 (herd_threshold).
Momentum: Price change over 10 bars (close - close ) compared to its SMA(20).
Herd Signals:
Herd Buying: RSI > 70 + volume spike + positive momentum = Retail buying frenzy (red background).
Herd Selling: RSI < 30 + volume spike + negative momentum = Retail selling panic (green background).
c. Liquidity Trap Detection
Recent Highs/Lows: Calculated over 50 bars (liquidity_lookback).
Psychological Levels: Nearest round numbers (e.g., $100, $110) as potential stop-loss zones.
Trap Conditions:
Up Trap: Price breaks recent high, closes below it, with a volume spike (volume > SMA x 1.5).
Down Trap: Price breaks recent low, closes above it, with a volume spike.
Visualization: Traps are marked with small red/green crosses above/below bars.
d. Institutional Flow Analysis
Volume Check: Volume > SMA(20) x 2.5 (inst_volume_mult) = Institutional activity.
Accumulation/Distribution (AD):
Formula: ((close - low) - (high - close)) / (high - low) * volume, cumulated over time.
Smoothed with SMA(21) (inst_ma_length).
Accumulation: AD > MA + high volume = Institutions buying.
Distribution: AD < MA + high volume = Institutions selling.
Smart Money Index: (close - open) / (high - low) * volume, smoothed with SMA(20). Positive = Smart money buying.
e. Nash Equilibrium
Calculation:
Price mean: SMA(100) (nash_period).
Standard deviation: stdev(100).
Upper Nash: Mean + StdDev x 0.02 (nash_deviation).
Lower Nash: Mean - StdDev x 0.02.
Conditions:
Near Equilibrium: Price between upper and lower Nash bands (stable market).
Above Nash: Price > upper band (overbought, sell potential).
Below Nash: Price < lower band (oversold, buy potential).
Visualization: Orange line (mean), red/green lines (upper/lower bands).
f. Game Theory Signals
The strategy generates three types of signals, combined into long/short triggers:
Contrarian Signals:
Buy: Herd selling + (accumulation or down trap) = Go against retail panic.
Sell: Herd buying + (distribution or up trap).
Momentum Signals:
Buy: Below Nash + positive smart money + no herd buying.
Sell: Above Nash + negative smart money + no herd selling.
Nash Reversion Signals:
Buy: Below Nash + rising close (close > close ) + volume > MA.
Sell: Above Nash + falling close + volume > MA.
Final Signals:
Long Signal: Contrarian buy OR momentum buy OR Nash reversion buy.
Short Signal: Contrarian sell OR momentum sell OR Nash reversion sell.
g. Position Management
Position Sizing (Minimax Principle):
Default: 1.0 (10% of equity).
In Nash equilibrium: Reduced to 0.5 (conservative).
During institutional volume: Increased to 1.5 (aggressive).
Entries:
Long: If long_signal is true and no existing long position (strategy.position_size <= 0).
Short: If short_signal is true and no existing short position (strategy.position_size >= 0).
Exits:
Stop-Loss: If use_sl=true, set at 2% below/above entry price.
Take-Profit: If use_tp=true, set at 5% above/below entry price.
Pyramiding: Up to 3 concurrent positions allowed.
h. Visualization
Nash Bands: Orange (mean), red (upper), green (lower).
Background Colors:
Herd buying: Red (90% transparency).
Herd selling: Green.
Institutional volume: Blue.
Signals:
Contrarian buy/sell: Green/red triangles below/above bars.
Liquidity traps: Red/green crosses above/below bars.
Tables:
Game Theory Table (Top-Right):
Herd Behavior: Buying frenzy, selling panic, or normal.
Institutional Flow: Accumulation, distribution, or neutral.
Nash Equilibrium: In equilibrium, above, or below.
Liquidity Status: Trap detected or safe.
Position Suggestion: Long (green), Short (red), or Wait (gray).
Backtest Table (Bottom-Right):
Total Trades: Number of closed trades.
Win Rate: Percentage of winning trades.
Net Profit/Loss: In USD, colored green/red.
Profit Factor: Gross profit / gross loss.
Max Drawdown: Peak-to-trough equity drop (%).
Win/Loss Trades: Number of winning/losing trades.
Risk/Reward Ratio: Simplified Sharpe ratio (returns / drawdown).
Avg Win/Loss Ratio: Average win per trade / average loss per trade.
Last Update: Current time.
i. Backtesting Metrics
Tracks:
Total trades, winning/losing trades.
Win rate (%).
Net profit ($).
Profit factor (gross profit / gross loss).
Max drawdown (%).
Simplified Sharpe ratio (returns / drawdown).
Average win/loss ratio.
Updates metrics on each closed trade.
Displays a label on the last bar with backtest period, total trades, win rate, and net profit.
j. Alerts
No explicit alertconditions defined, but you can add them for long_signal and short_signal (e.g., alertcondition(long_signal, "GT Long Entry", "Long Signal Detected!")).
Use TradingView's alert system with Strategy Tester outputs.
3. Usage Tips
Timeframe: Best for H1-D1 timeframes. Shorter frames (M1-M15) may produce noisy signals.
Settings:
Risk Management: Adjust sl_percent (e.g., 1% for volatile markets) and tp_percent (e.g., 3% for scalping).
Herd Threshold: Increase to 2.5 for stricter herd detection in choppy markets.
Liquidity Lookback: Reduce to 20 for faster markets (e.g., crypto).
Nash Period: Increase to 200 for longer-term analysis.
Backtesting:
Use TradingView's Strategy Tester to evaluate performance.
Check win rate (>50%), profit factor (>1.5), and max drawdown (<20%) for viability.
Test on different assets/timeframes to ensure robustness.
Live Trading:
Start with a demo account.
Combine with other indicators (e.g., EMAs, support/resistance) for confirmation.
Monitor liquidity traps and institutional flow for context.
Risk Management:
Always use SL/TP to limit losses.
Adjust position_size for risk tolerance (e.g., 5% of equity for conservative trading).
Avoid over-leveraging (pyramiding=3 can amplify risk).
Troubleshooting:
If no trades are executed, check signal conditions (e.g., lower herd_threshold or liquidity_sensitivity).
Ensure sufficient historical data for Nash and liquidity calculations.
If tables overlap, adjust position.top_right/bottom_right coordinates.
4. Key Differences from the Previous Indicator
Indicator vs. Strategy: The previous code was an indicator (VP + Game Theory Integrated Strategy) focused on visualization and alerts. This is a strategy with automated entries/exits and backtesting.
Volume Profile: Absent in this strategy, making it lighter but less focused on high-volume zones.
Wick Analysis: Not included here, unlike the previous indicator's heavy reliance on wick patterns.
Backtesting: This strategy includes detailed performance metrics and a backtest table, absent in the indicator.
Simpler Signals: Focuses on Game Theory signals (contrarian, momentum, Nash reversion) without the "Power/Ultra Power" hierarchy.
Risk Management: Explicit SL/TP and dynamic position sizing, not present in the indicator.
5. Conclusion
The "Game Theory Trading Strategy" is a sophisticated system leveraging herd behavior, institutional flows, liquidity traps, and Nash equilibrium to trade market inefficiencies. It’s designed for traders who understand Game Theory principles and want automated execution with robust risk management. However, it requires thorough backtesting and parameter optimization for specific markets (e.g., forex, crypto, stocks). The backtest table and visual aids make it easy to monitor performance, but always combine with other analysis tools and proper capital management.
If you need help with backtesting, adding alerts, or optimizing parameters, let me know!
NOMANOMA Adaptive Confidence Strategy —
What is NOMA?
NOMA is a next-generation, confidence-weighted trading strategy that fuses modern trend logic, multi-factor market structure, and adaptive risk controls—delivering a systematic edge across futures, stocks, forex, and crypto markets. Designed for precision, adaptability, and hands-off automation, NOMA provides actionable trade signals and real-time alerts so you never miss a high-conviction opportunity.
Key Benefits & Why Use NOMA?
Trade With Confidence, Not Guesswork:
NOMA combines over 11 institutional-grade confirmations (market structure, order flow, volatility, liquidity, SMC/ICT concepts, and more) into a single “confidence score” engine. Every trade entry is filtered through customizable booster weights, so only the strongest opportunities trigger.
Built-In Alerts:
Get instant notifications on all entries, take-profits, trailing stop events, and exits. Connect alerts to your mobile, email, or webhook for seamless automation or just peace of mind.
Advanced Position Management:
Supports up to 5 separate take-profit levels with adjustable quantities, plus dynamic and stepwise trailing stops. Protects your gains and adapts exit logic to market movement, not just static targets.
Anti-Chop/No Trade Zones:
Eliminate low-probability, sideways market conditions using the “No Chop Zone” filter, so you only trade in meaningful, trending environments.
Full Market Session Control:
Restrict trades to custom sessions (e.g., New York hours) for added discipline and to avoid overnight risk.
— Ideal for day traders and prop-firm requirements.
Multi-Asset & Timeframe Support:
Whether you trade micro futures, stocks, forex, or crypto, NOMA adapts its TP/SL logic to ticks, pips, or points and works on any timeframe.
How NOMA Works (Feature Breakdown)
1. Adaptive Trend Engine
Uses a custom NOMA line that blends classic moving averages with dynamic momentum and a proprietary “Confidence Momentum Oscillator” overlay.
Visual trend overlay and color fill for easy chart reading.
2. Multi-Factor Confidence Scoring
Each trade is scored on up to 11 confidence “boosters,” including:
Market Manipulation & Accumulation (detects smart money traps and true range expansions)
Accumulation/Distribution (AD line)
ATR Volatility Rank (prioritizes trades when volatility is “just right”)
COG Cross (center of gravity reversal points)
Change of Character/Break of Structure (CHoCH/BOS logic, SMC/ICT style)
Order Blocks, Breakers, FVGs, Inducements, OTE (Optimal Trade Entry) Zones
You control the minimum score required for a trade to trigger, plus the weight of each factor (customize for your asset or style).
3. Smart Trade Management
Step Take-Profits:
Up to 5 profit targets, each with individual contract/quantity splits.
Step Trailing Stop:
Trail your stop with a ratcheting logic that tightens after each TP is hit, or use a fully dynamic ATR-based trail for volatile markets.
Kill-Switch:
Instant trailing stop logic closes all open contracts if price reverses sharply.
4. Session Filter & Cooldown Logic
Restricts trading to key sessions (e.g., NY open) to avoid low-liquidity or dead zones.
Cooldown bars prevent “overtrading” or rapid re-entries after an exit.
5. Chop Zone Filter
Optionally blocks trades during flat/choppy periods using a custom “NOMA spread” calculation.
When enabled, background color highlights no-trade periods for clarity.
6. Real-Time Alerts
Receive alerts for:
Trade entries (long & short, with confidence score)
Every take-profit target hit
Trailing stop exits or full position closes
Easy setup: Create alerts for all conditions and get notified instantly.
Customization & Inputs
TP/SL Modes: Choose between manual, ATR-multiplied, or hybrid take-profit and trailing logic.
Position Sizing: Fixed contracts/quantity per trade, with customizable splits for scaling out.
Session Settings: Restrict to any time window.
Confidence Engine: User-controlled weights and minimum score—tailor for your asset.
Risk & Volatility Filters: ATR length/multiplier, min/max range, and more.
How To Use
Add NOMA to your chart.
Customize your settings (session, TPs, confidence scores, etc.).
Set up TradingView alerts (“Any Alert() function call”) to receive notifications.
Monitor trade entries, profit targets, and stops directly on your chart or in your inbox.
Adjust confidence weights as you optimize for your favorite asset.
Pro Tips
Start with default settings—they are optimized for NQ micro futures, 15m timeframe.
Increase the minimum confidence score or weights for stricter filtering in volatile or low-liquidity markets.
Adjust your take-profit and trailing stop settings to match your trading style (scalping vs. swing).
Enable “No Chop Zone” during sideways conditions for cleaner signals.
Test in strategy mode before trading live to dial in your risk and settings.
Disclaimer
This script is for educational and research purposes only. No trading system guarantees future results.
Performance will vary by symbol, timeframe, and market regime—always test settings and use at your own risk. Not investment advice.
If alerts or strategy entries are not triggering as expected, try lowering the minimum confidence score or disabling certain boosters.
This will come with a user manual please do not hesitate to message me to gain access. TO THE MOON AND BEYOND