TSI w SuperTrend decision - Strategy [presentTrading]This strategy aims to improve upon the performance of Traidngview's newly published "Trend Strength Index" indicator by incorporating the SuperTrend for better trade execution and risk management. Enjoy :)
█ Introduction and How it is Different
The "TSI with SuperTrend Decision - Strategy" combines the Trend Strength Index (TSI) with SuperTrend indicators to determine entry and exit points. Unlike traditional strategies that rely solely on one indicator, this method leverages the strengths of both TSI and SuperTrend to provide a more nuanced and adaptive trading strategy.
This dual approach allows for capturing trends more effectively, especially in volatile markets.
BTCUSD 8h LS Performance
█ Strategy, How it Works: Detailed Explanation
🔶 Trend Strength Index (TSI)
The TSI is a momentum oscillator that shows both the direction and strength of a trend. It is calculated by comparing the price movement with the bar index over a specified period. The formula for TSI is as follows:
```
TSI = (PC / |PC|)
where:
PC = Change in price over the period
```
In this strategy, TSI is calculated using the closing prices and a default period of 64 bars. The TSI values help identify overbought and oversold conditions, providing signals for potential market reversals.
🔶 SuperTrend Indicator
The SuperTrend is a trend-following indicator based on the average true range (ATR). It helps in identifying the direction of the market trend. The SuperTrend calculation involves:
```
SuperTrend = HLC3 ± (Factor * ATR)
where:
HLC3 = (High + Low + Close) / 3
Factor = User-defined multiplier
ATR = Average True Range over a period
```
The SuperTrend settings in this strategy include a length of 10 bars and a factor of 3.0.
Last Bull Cycle of BTC
🔶 Entry and Exit Conditions
The strategy uses the TSI and SuperTrend together to determine entry and exit points:
- Long Entry: When the SuperTrend indicates a downward trend (st.d < 0) and the TSI is above the oversold level (-0.241).
- Long Exit: When the SuperTrend indicates an upward trend (st.d > 0) and the TSI is below the overbought level (0.241).
- Short Entry: When the SuperTrend indicates an upward trend (st.d > 0) and the TSI is below the overbought level (0.241).
- Short Exit: When the SuperTrend indicates a downward trend (st.d < 0) and the TSI is above the oversold level (-0.241).
█ Trade Direction
The strategy allows users to select the trade direction through the `tradeDirection` input. The options are:
- Both: Enables both long and short trades.
- Long: Enables only long trades.
- Short: Enables only short trades.
█ Default Settings
- TSI Length: 64
- SuperTrend Length: 10
- SuperTrend Factor: 3.0
- Trade Direction: Both
- Take Profit (%): 30.0
- Stop Loss (%): 20.0
Impact of Default Settings
- TSI Length: A longer TSI period smooths out noise but may lag in identifying trends. A shorter period is more responsive but can generate false signals.
- SuperTrend Length: A shorter length provides quicker signals but can be prone to whipsaws. A longer length is more reliable but may delay entries and exits.
- SuperTrend Factor: A higher factor increases the distance of the SuperTrend from the price, reducing sensitivity to minor price fluctuations.
- Trade Direction: Allows flexibility in trading strategies by enabling both long and short trades based on market conditions.
- Take Profit and Stop Loss: These settings manage risk by automatically closing trades at predefined profit or loss levels. Higher percentages provide larger potential gains but also higher risk.
مؤشر القوى الحقيقية
Athena Momentum Squeeze - Short, Lean, and Mean This is a very profitable strategy focusing on 15 minute intervals on the Micro Nasdaq Futures contracts. CME_MINI:MNQH2023
As this contract only keeps positions for on average about an hour risk is managed. At a profit factor of 3.382 with a max drawdown of $123 from January 1st to February 15. Looking back to Dec 2019 still maintains a profit factor of 1.3.
See backtesting: www.screencast.com
2019 backtesting: www.screencast.com
Based on the classic Lazy Bear Oscillator Squeeze with a number of modifications from ADX, MAs and adding fibonacci levels.
We like keeping strategies simple yet powerful, no completely where you can't understand your own trades.
Our team is always modifying and improving the strategy. Always open to collaborating on improving as there is no perfect strategy. www.screencast.com
Macro Score - TSI-BasedA "macro score", as defined here, is created by giving various weights to different signals and adding them together to get one smooth score. Positive or negative values are assigned to each of the signals depending on if the statement is true or false (e.g. DPO > 0: +1, DPO < 0: -1). This manner of strategy allows for a subset of the available signals to be present at one time as opposed to every technical signal having to be active in order for a long/short signal to trigger.
This strategy has the signals and weights pre-determined in the code. Heaviest weights have been given to various TSI (True Strength Index) signals, including a crossover/crossunder of TSI signal and TSI value, a threshold for the TSI Signal (above or below 0), and a crossover/crossunder of the CMO (Chande Momentum Oscillator) and the TSI signal line. Additionally, there are thresholds for DPO (Detrended Price Oscillator, above or below 0), Jurik Volatility Bands (above or below 0), and Stoch RSI (above or below 50). These three signals hold a lighter weight than the three TSI signals.
The macro score itself is printed in an underlay as a white line that goes between -10 and 10 for this strategy. In addition to the macro score line, a red momentum line (sourced by the macro score itself) has been included. A crossover/crossunder of the macro score and the macro momentum line is included into the long/short signal syntax in addition to a threshold for the macro score (-6/6).
Take profit, stop loss, and trailing percentages are also included, found at the bottom of the Input tab under “TT and TTP” as well as “Stop Loss”. Make sure to understand the TP/SL ratio that you desire before use, as the desired hit rate/profitability percentage will be affected accordingly. This strategy does NOT guarantee future returns. Apply caution in trading regardless of discretionary or algorithmic. Understand the concepts of risk/reward and the intricacies of each strategy choice before utilizing them in your personal trading.
Profitview Settings:
If you wish to utilize Profitview’s automation system, find the included “Profitview Settings” under the Input tab of the strategy settings menu. If not, skip this section entirely as it can be left blank. Options will be “OPEN LONG TITLE”, “OPEN SHORT TITLE”, “CLOSE LONG TITLE”, and “CLOSE SHORT TITLE”. If you wished to trade SOL, for example, you would put “SOL LONG”, “SOL SHORT”, “SOL CLOSE LONG”, and “SOL CLOSE SHORT” in these areas. Within your Profitview extension, ensure that your Alerts all match these titles. To set an alert for use with Profitview, go to the “Alerts” tab in TradingView, then create an alert. Make sure that your desired asset and timeframe are currently displayed on your screen when creating the alert. Under the “Condition” option of the alert, select the strategy, then select the expiration time. If using TradingView Premium, this can be open-ended. Otherwise, select your desired expiration time and date. This can be updated whenever desired to ensure the strategy does not expire. Under “Alert actions”, nothing necessarily needs to be selected unless so desired. Leave the “Alert name” option empty. For the “Message”, delete the generated message and replace it with {{strategy.order.alert_message}} and nothing else.
HULLTSIBOTDo you like TSI indicator?
Do you like HMA indicator?
The all new, HULLTSIBOT indicator!
About:
TSI indicator was on a space mission to mine other planets and then the crew stumbled upon a bunch of HMA indicator eggs. In the darkness of the slime room they found, There was a suddenly a bunch of failing and swearing and machinegun fire muzzle flashes, then all fell silent.
from the back shadow mist stepped forward a TSI indicator, but its eyes were bloodshot and it did not look the same...
The rescue ship found the TSI indicator motionless but still with a heartbeat....
a few days went past, the TSI indicator layed in the medic bay,
A medic noticed a bulge in the abdomen, that started to move!
The alien lifeform burst through the stomach of the TSI indicator and flew at the medic, covering the face and overpowering the new victim with ease...
Quickly it spread throughout the entire rescue ships crew, with many new alien lifeforms searching every corner for a new host.
The rescue ship flew on, able to land with autopilot as programmed for in emergencies, Thus the HULLTSIBOT was introduced to the humans world...
planet earth
Risk Reduction Ultimate TemplateThis is a template not actually meant for trading. I picked two random oscillators. This is a template meant to turn into a live trading strategy, however.
It's literally just a specialized take profit/stop loss system. It is to ensure your bot doesn't make any bad moves that you wouldn't have manually. The code should be pretty well annotated. Putting this into my scripts has made them much better. I will work on a Multiple Trigger template next.
TSI HMA CCIHi!
This strategy has TSI and CCI indicators with the CCI being based on a HMA instead of the Price.
There is a number of conditions that must combine to create buy or sell signals, but it is basically a couple of MA crossovers.
The strategy opens new orders on each candle if the conditions are met, Either direction, so it is hedging.
It wont open new orders if there is a floating loss, and so is constantly attempting to hold a floating profit (drawup instead of drawdown)
But It has a StopLoss (set by user) for closing of losing orders, and it closes all orders in basket style when account is in profit to users set amount target profit.
Low commission set to simulate swap but Forex pairs generally dont have commission like the crypto exchanges do. So if you use this on cryptos, remember to increase the commission to your brokers amount.
Crypto users will likely find that because this opens so many orders the commission could erase its profits.
So i recommend this for Forex only, and perhaps, only NZDUSD 4H chart. other pairs, change settings for.
The strategy has settings for testing on target time spans, so you could test it on just Jan-Feb 2020 for example, if you want, or from Jan 2020 to present day.
Have Fun! Open Script for copy/paste/edit/publish your own version :)
Ichimoku with MACD/ CMF/ TSI This is a strategy made from ichimoku cloud , together with MACD, Chaiking Money FLOW and True Strenght Index.
It can be adapted to any timeframe and any type of financial markets.
The idea behind its very simple,
We combine the long / short strategy from ichimoku, like cross between lines and below/above cloud together with histogram from MACD for positive/negative level. We use the same criteria for TSI and CMF, to check if its above or below 0 level.
Based on that we have a long or a short entry. The exit happens when the next options triggers, like for example we had long signal, we exit when we receive the short signal and viceversa.
It can be adapted with a risk management to apply a tp/sl level.
For any suggestion or details , let me know.
TRM StrategyThis is a strategy version of the "True Relative Movement" script:
It is virtually identical to the original script, except now you can back test different conditions and parameters.
TRM has 3 different conditions:Buy (Blue Bars), Hold/Take Profit (Gray Bars), and Sell (Pink Bars).
This script is only coded for Long only condition. It will exit the position when there is a sell signal, no take profit parameters are coded.
The example backtest results shown are on $AAPL with a starting Capital of 10k, with each trade investing 10% of capital. I cannot show results vs buy and hold (meaning re-investing 100% of capital) as this is against house rules. However, I HIGHLY encourage you to experiment with different trade parameters, time frames, symbols and settings for TRM. You will find that certain time frames perform better under different TSI and RSI settings. The "Slower paced trader" can use the "Slow settings" for TRM ( Instructions embedded in the settings window). This will produce less signals ect.... I am personally, constantly finding different settings that work for different ETF's, symbols ect...
As a discretionary trader, it is important to have a system that has an "edge". That is what the script is meant for... finding an edge to help you make sound trading decisions and help you manage risk accordingly.
Enjoy, and please DO NOT hesitate to ask me any questions.
TSI CCI Hull with profit$$$This is a modified version of @SeaSide420 TSI CCI Hull with profits exit on long and short order
ORIGINAL SCRIPT:
/// /// feel free to edit/improve and comment
HMA_ATR_TSIA combination of signals trigger this strategy.
HMA crossovers (short period & long period) -Hull moving average-
ATR (smoothed with HMA) -Average true range-
TSI -True strength index-
The final close price is not known until right at the end of the bar.
This means that the indicator is constantly “repainting” during the bar.
You will see that indicators are constantly moving with each tick received
Use Open instead, the value is set and does not change even after refreshing the page.
An attempt to reduce repainting.
RSI TSI StrategyRSI & TSI combination, with Hull MA for a center Line.
Order entry with either RSI TSI or Hull MA
Experimental strategy for possible use as bot
Hull_TSI Strategy v420Hull and TSI combination.
experimenting with settings for 5 minute chart (default settings)
but can be use on any pair/timeframe
Hull_TSI Strategy v3True Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
this version uses 3 Hull MA's as well as the TSI value crossovers above or below the upper/lower lines
This version is the closest to the API bot featured at gekkoplus.com
Hull_TSI bot is competing in the competition
" Gekko Plus is hosting a strategy contest. Submit the best performing Gekko strategy and win 0.1 BTC! "
15 Nov 2018: Strategy contest start
10 Dec 2018: Strategy contest end
12 Dec 2018: Contest evaluation, announcement of winners!
Hull_TSI Strategy v2True Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
this version uses only the crossover of the TSI values
Hull_TSI StrategyTrue Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
increase the values for increased timeframes i found good on 1hour chart 700,700,700 (instead of 420)
True Strength Indicator BTCUSD 2HScript based on True Strength Index (TSI) and RSI
A technical momentum indicator that helps traders determine overbought and oversold conditions of a security by incorporating the short-term purchasing momentum of the market with the lagging benefits of moving averages. Generally a 25-day exponential moving average (EMA) is applied to the difference between two share prices, and then a 13-day EMA is applied to the result, making the indicator more sensitive to prevailing market conditions.
!!! IMPORTANT IN ORDER TO AVOID REPAITING ISSUES
!!! USE Chart resolution >= resCustom parameter, suggestion 2H
Yellow zones indicates that you can claim position for better profits even before a claim confirmation.
Dark zones indicates areas where RSI shows overbought and oversold conditions.
BTCUSD