Crude Oil Indicator [SIDD]Crude Oil Indicator is giving two signal Bullish and Bearish . Bullish signal is used to take long trade and Bearish signal is used to close existing long trade and take new short trade and so on.
To get More signal of Bullish and Bearish user must enable More Signals check box that will check crossover and cross down of price close with Gaps.
I am using 2 ATR and one ADX and Gaps and VWMA to make signal profitable with 15 minutes 1 hr ,2hr,3hr,4hr chart time frame.
I have checked last few years data for back testing. Based on past performance it doesn't work well in 30 minute and 1 day chart time frame as results are not good in back testing. I have designed this indicator for Indian crude oil context though it can be used with other market as well.
1st ATR used to find trend with price crossover.
2nd ATR ADX is used to find the trend change details only. I have taken VWMA and ATR both to consider trend change.
Highlight Gap Up and Gap Down is used to know daily market opening gap up and gap down area. Gaps act as support and resistance .
VWMA Plotted as Blue line. Rising VWMA considered as uptrend and falling VWMA considered as downtrend.
Flat VWMA considered as no trend zone. In no trend zone every second third candles cross VWMA .
User must keep the default setting for getting better results as results are back tested. If setting changed then result may vary.
I have added here back tested performance user can see those results. I have added commission and slippage as well. Past year performance not guarantee for future years result so before taking any trade trader must take conscious decision.
This indicator is available on Subscription.
PM/ DM for more information about the script access.
Use the link below to obtain access to this indicator.
Search in scripts for "bear"
Combo Backtest 123 Reversal & Elder Ray (Bull Power) This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
Developed by Dr Alexander Elder, the Elder-ray indicator measures buying
and selling pressure in the market. The Elder-ray is often used as part
of the Triple Screen trading system but may also be used on its own.
Dr Elder uses a 13-day exponential moving average (EMA) to indicate the
market consensus of value. Bull Power measures the ability of buyers to
drive prices above the consensus of value. Bear Power reflects the ability
of sellers to drive prices below the average consensus of value.
Bull Power is calculated by subtracting the 13-day EMA from the day's High.
Bear power subtracts the 13-day EMA from the day's Low.
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
WARNING:
- For purpose educate only
- This script to change bars colors.
Banknifty-Direction-Bank-StocksBanknifty Direction Bank Stocks is indicator to give Banknifty future direction.
This Indicator is giving signal by taking 11 Major Indian Bank trend into consideration.
This indicator is giving two signal Bullish and Bearish .
Bullish signal can be used for long Banknifty and Bearish signal can be used to close existing Banknifty position and make new short side position and again when Bullish signal come then close existing short position and take new long position and so on.
There is zone area green zone and red zone and central line. Green zone is Bullish area and Red zone is Bearish area.
When ever green line cross over red line then Bullish signal generated and when ever green line cross under red line Bearish Signal generated.
Strong Bullish when Crossover is happening above central line and Strong Bearish when Cross under is happening below central line.
Many Thanks to LazyBear main author, I have used his wave trend function and modified that as per Banknifty index so that we can get better result.
User must keep the default setting for getting better results as results are back tested. If setting changed then result may vary.
I have added here back tested performance user can see those results. I have added commission and slippage as well.
This indicator is available on Subscription.
PM/DM for more information about the script access.
Use the link below to obtain access to this indicator
Nifty-Signal-SystemNifty-Signal-System is giving Bullish and Bearish signal for trade to buy and sell.
This signal system is mainly finding trend change and momentum change in the scripts.
There is two signal one Big triangle for Bullish and Bearish signal and another is arrow signal.
Arrow signals are generating for finding the continuation of trend.
Each arrow trader can do pyramiding with trend and close the trade whenever small red arrow come or bearish signal start and can take opposite side of the trade.
I have designed this signal system for NSE:NIFTY Index only.
Default Parameter are : Time Frame, ATR Period, ATR Multiplier, Look Back Period
Default parameter given on Input is giving optimum results if user want to change the setting results can vary.
With Strategy Tester i am able to give performance report. User can check the report .
I have mentioned order details with commission and slippages on each trades.
This signal is available on subscription. contact me or ping me for more details.
Trend Following IndicatorTrend Following Indicator is for following trend and being in trend till trend is not changed.
Each Bullish and Bearish signal you can add one more future or option lot and be in trade till bearish signal is not coming.
You can close Long trade i.e. Bullish pyramiding trade when you see there is small red arrows are there
and similarly when you are in Short trade you can pyramid with each Bearish signal and you can close the trade when small green arrow start coming.
Pros: This signal system is working in stocks and Index and Commodity and Currency.
Cons: Choppy market results are not good on that time you have to believe on small arrows for signals.
This signal is available on subscription. contact me or ping me for more details.
Relativity BULLS FUTURES 10X 1D AlgorithmHi,
This system is prepared only for leveraged markets and for Futures and CFD markets.
Leveraged processing apply to cryptocurrency contracts that are also subject to.
System parameters:
Timeframe = 1D (1 Day)
Leverage = 10x
Position Size = %1 (0.01) Each Trade
System features :
- It targets the Risk /Reward Ratio of 1/3 and above. (Risk/Reward Ratio >= 3 )
- If a Take Profit Point has come in a successful trade but the parameter conformity has not deteriorated, system continues the trade.
- In this way, you can catch strong long trends several times a year.
But it is strict as stop-loss and avoids large declines,whipsaws whenever possible.
- The system tries to avoid unnecessary processes as much as possible.
This means less commission and less sideways market.
- Since it takes advantage of the reverse market, it is suitable not only for long and short but only for long position, ie "bulls".
But this neutralizes unnecessary processes. (Short market direction, the system for bears will be published separately.)
- Stop-Loss points and Snow-take points are shown in red and green.
-However, if there is a small amount of follow-up available at the computer, it is recommended to put stop-loss only.
Because the system revises both stop-loss and take profit points according to the conditions formed.
Doing this in the right major long trend here allows you to be in trades.
-The system takes into account the risk and only opens transactions where the value corresponding to 10 leverage ratios is greater than the risk.
This provides as much protection from risk as possible.
-Alerts added.
About Backtest :
Since this system uses leveraged market, backtest results are not healthy.
But since it targets the 1/3 Risk Reward Rate (3.00),
we must look Ratio Avg Win/Loss and it must be over 0.5 because :
This ratio means: When we reach 33% of our correct trades in all our trades, we are at breakeven.
This is 100 - 33 = 66
33/66 = 0.5
So whenever this rate is over 0.5, we make a profit.
*** The fact that this ratio is over 0.70-1.00 in terms of securing ourselves because there is a maturity in the future indicates that we are doing
successful snowball trades.(Because future contracts have loss of maturity and end dates)
And we achieve success cumulatively.
Important Note : This system is prepared only for these parameters.
These parameters are designed for Futures and CFDs.
It doesn't work in spot markets.
NOTE :
The system has been prepared as a strategy to present success in a transparent manner.
Please check "Ratio Avg. Win / Loss" rates in backtests.
Important Note 2 -
Although the system revises the stop and take profit points in the required parameters, the most accurate place is when the signal comes.
It should be entered when the signal comes as much as possible and if this did not happen,
trade must be opened in the nearest bars after the signal comes.
Best regards.
[VBOSE]Astra Trend Trading (Nifty,Crude,Reliance)Astra Trend Trading Strategy is based on unique combination of WMA based Bollinger bands and INDIA VIX based Adaptive Moving Averages combination for trading NIFTY 50 Stocks, Global Indices, Commodity Futures and CFDs.
It Shows Bull/Bear Background (Green color or Red Color showing VIX and Bollinger based Trend Strength in that time period) customized with bollinger parameters.
Barcolors with WHITE Colour shows Trendless movements (Threshold <25)
Green Barcolor:BULL Powerful
RED Barcolor:BEAR Dominant
WHITE:TRENDLESS/SIDEWAYS
Highly Volatile Nifty Stocks like Reliance , HDFCBANK , BANKNIFTY Futures , NIFTY Futures , Crude Oil can be traded.
CRUDEOIL Traders can Change VIX to OVX
Intraday Scalpers use 3,5 and 15 min Time frame on heikenashi charts
Warning:Script changes bar colours and background colours
Default Order Settings:20% of Equity and 0.2% Commission
Buy BTC Helper - Buy SPOT, sell to USD (BTC-ETH) - By Che_TraderBuy BTC Helper - Buy SPOT, sell to USD (BTC-ETH) - By Che_Trader
The Buy Helper is specially designed for users who want to invest in BTC in the long term.
Usually you will make about 20-25 trades per year in spot trading.
You do not need a margin account or understand anything about trading.
Just follow the "BUY" and "To usd" signals to make sure you are on trend when BTC goes up but also take profit when BTC starts going down.
This simple tool has beaten the HOLD in all the years tested, also in bull trend or bear trend.
We'll develop this better.
*****************************************************************************************************************************************************************************
General stats from 2017 to 2020 are in the bottom, These are:
(**All data include 0.15% fees+slippage what is more than double the normal fees**)
- 8462% Gains (compound)
- 72 transactions
- 3.238 Profit Factor
- 18.58% Max drawdown
*****************************************************************************************************************************************************************************
The year-by-year analysis is very interesting:
*****************************************************************************************************************************************************************************
2017 HOLD result
+1254%
Buy helper 2017 results:
- +1214.5 % Gains
- 19 transactions
- 11% max drawdown
The 2017 profits are very similar, so you can expect similar win in next bull run.
This is something you'd expect, but it's hard to get in a bot.
*****************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************
2018 Hold Result
-71%
Buy helper 2018 results:
- +59% Gains
- 21 transactions
- 13.53% max drawdown
These results are particularly impressive. In a year in which BTC declined 72% and with a strategy of only LONG,
that is, without being able to take profit from the crashes,
we were able to finish the year with more than 59% of the money we made on the 2017 bull run.
*****************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************
2019 Hold Result
+94%
Buy helper 2019 results:
- +202% Gains
- 20 transactions
- 10.4% max drawdown
In 2019 with the buy helper you gained +100% the performance of hold BTC
*****************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************
2020 Hold Result (up to 04 may 2020)
+24.5%
Buy helper 2020 results:
- +39% Gains
- 11 transactions
- 15.43% max drawdown
In 2020 with the buy helper you gained +50% the performance of hold BTC
*****************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************
To get access, you can send me a PM here or at a link in the tradingview profile.
*****************************************************************************************************************************************************************************
Trend-following Strategy E v2.6 4H ETHBTCHi All,
Welcome to my first published Trend-following strategy for Ethereum, designed specifically for POLONIEX:ETHBTC on 4H due its long price history.
This script is based on my previously published scripts for bitcoin.
In order to set up Alerts for this strategy, I've created a second script called Trend-following Alert E v2.6 4H ETHBTC which you can find here:
Here you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.
You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.
As you can see from the backtest I've done my best to create a decent ROI with limited DD .
You can also run this backtest/strategy with '100% of equity' but I would advise against trading this as your risk will fundamentally increase.
With a constant order size this strategy should be quite safe to use.
Going from the results it's clear that this strategy excels during clear bull/bear trends but might suffer a little bit during market chop.
This is also where ROI tends to stagnate a little bit only then to take off again during a clear trend.
There are two inputs that can be modified on this strategy, however I think the current settings are optimal for this market on the 4H candle.
I've also added start and end dates to test specific time periods.
Please let me know if you have any questions.
Mean Reversion w/ Bollinger BandsThis is a more advanced version of my original mean reversion script.
It employs the famous Bollinger Bands.
This robot will buy when price falls below the lower Bollinger Band, and sell when price moves above the upper Bollinger Band.
I've only tested it on the S&P 500, though you could try it out on other assets to see the backtest performance.
During the recent COVID-19 bear market drop, it produced several buy signals on the S&P which I followed, and made some nice gains so far.
I still think this would make a better investing strategy (buy undervalued / sell over-valued), rather than a trading strategy.
I use this robot for my long term portfolio.
RSI Divergence Indicator strategyThis strategy is based on RSI divergence indicator.
RSI period setting 5
Go Long when Bull or Hidden Bull is shown
Exit when RSI goes above 75 OR when bear condition appears
Ichimoku with ADXMy first attempt at coding a strategy in pine script.
The strategy tests for a confluence of bull / bear signals and executes a trade when these are met.
It uses the ADX as a screen against fake breakouts.
ALLinOscillator v3.0 STRATEGYEach of my Allin Custom Indicators combined, ads to your understanding where the Market could go next. Each of them have their own purpose and set of rules.
You will weight gathered information to get a better understanding of when to ENTER or EXIT a position (SHORT or LONG).
First you need to find the right Indicator Settings and the best preforming TimeFrame for chosen crypto or fiat pair. You will do that with a "STRATEGY" Indicator. I chose either 3min TF for highly liquid assets or 15min TF for assets of low liquidity but you can choose whatever you want to up to 30min TF.
Do not stop until you find 80% or more Precent Profitable result (test different setting on different TF for best results) in Strategy Tester. You can backtest your Strategy with different settings and in different TimeFames to find the very best results for that pair.
BACKTESTING past results does not guarantee your future results. BACKTESTING is used to fine-tune your indicator.
Example: with a guitar tuner (Strategy Tester in our case) you fine-tune your guitar (our Indicators in our case) so you know what tone the guitar will produce when you hit a certain note ("in-tuned" visual interpretation of the Market in our case). It is normal to get a 100% Precent Profitable result from backtesting with very little Drawdown. More than 80% and low drawdown usually means Indicators is "in-tune".
CUSTOM INDICATOR TYPE: STRATEGY
SETUP
There are five different settings. To use them efficiently you need to understand what is their purpose and meaning.
"2nd", "3rd" and "4th" FIELD
All of my custom indicators use data from 4 different TimeFrames. First TimeFrame is the one you picked in TradingView. Now you need to set up the other three TimeFrames. To do that you need to click on the "Settings" icon on this indicator and change the "2nd", "3rd" and "4th" field. The preferred setting I use to start searching for the best performing set of Settings is 2-8-32 OR 3-9-27 OR 4-16-64 OR 5-20-80. Those numbers are multiplication of chosen TimeFrame.
Example: setting 2-8-32 on a 5-minute TimeFrame means it will gather data from 5min TF, 10min TF (5minX2), 40min TF (5minX8) and 160min TF (5minX32).
Smoother FIELD
This Field is used to average down all that data indicator it is gathering from the price chart. I use integers like for example 9, 18, 27, and any number in between. It is connected to volatility. High Volatility needs Low Number and vice versa.
Threshold FIELD
This Field is used to cancel down all the mini signal confirmations that are false due to an insignificant influence on future price movements. This number is usually best at 21. When you set all other Fields and get satisfying results you can still try and fine-tune it even more and get even better results.
HOW TO USE IT
First, you have to choose your TimeFrame. I choose either 3min TF for highly liquid assets and 15min TF for assets of low liquidity but you can choose whatever you want to up to 30min TF. Example: if you chose 30min TimeFrame and you fill the "4th" Field with the number "80", one of observed TF by the indicator will be "30minX80" or "2400min" or "40h" TimeFrame, so it is HUGE.
It always depends based on the nature of the actual pair you are looking at. If it is very volatile with a lot of volume, the market beat for this pair settings is very different from another pair with for example very little volume and low volatility. So you need to find the right Indicator Settings at the right TimeFrame for each pair you are following. You are basically tuning your Indicator like you would tune your guitar so you know what to expect before hitting those "strings" of yours.
Find the best performing setting and TimeFrame with help from a TradingView feature called "Strategy Tester". Get familiar with this feature. But rule of thumb is: everything more than 80% Precent Profitable result with Max Drawdown (negative yield from the worst closed position) lower or similar to AvgTrade is considered good enough tuning of my Indicators.
You need to reevaluate your best setting whenever your last trade gets a negative result or something big (whale manipulation) happens on the market. You need to re-tune your Indicator so it will be in tune with the Market again. Check and try to find better performing (better Precent Profitable result, lower Drawdown) settings periodically every few days to find your best yielding results.
CUSTOM INDICATOR: OSCILLATOR
HOW TO READ IT
GREEN AREA on the bottom and RED AREA on top are just like the oversold or overbought areas in RSI, CCI or SRSI and uses the same principle.
Example: when a WHITE wave line crosses-UP WHITE horizontal line in GREEN area it means that it is a LONG/BUY signal/confirmation. It needs to be confirmed with other confirmation signals in that same Indicator on in a "BULL&BEAR" Indicator to get better understanding that the price would not turn back down due to a false price move in UPWARDS direction.
GREEN or RED OSCILLATOR WAVE AREAS indicates the direction price is going and how strong the "force" behind the price move is.
Example: if WHITE LINE is over the RED/GREEN LINE the area turns GREEN and it is a LONG/BUY signal. When a shadow color is on the OTHER SIDE that means it is an added confirmation for a LONG/BUY position. When a SHADOW AREA is over the GREEN AREA and turns RED it usually means there are still forces pulling the price down.
Before making any decisions based on visualisation you should refresh the page. Indicator is very data sensitive and needs that very last data for the most accurate visual representation of the Market.
TITAN StrategyTitan Strategy it's a Volatility & price action indicator giving you the exact point of exit or stop or reversal
with 2 different lengths represent as 2-time frames to drive the trend and reversals during the bear market and the bull market
with one adjustable level of taking profit and one adjustable stop loss level.
Grate for swing trading and Bullrun recognition and scalp those short trade into the bear market
and there its 2 more timeframes or lengths for the short environments where titan will scalp short into the average true range
default settings are at 4% stop loss and 4% take profit
How to use :
Buy Signal: long condition
Sell Signal: Short condition
If you like to know how to apply to the service please send me a private msg
we have a full pdf guide that comes with indicator its will be provided to you for mentoring propose
thx for your time and support
Fianchetto v1Hello, I created this script last year I decided I would release it to the public. This script uses Moving Averages to attack or defend price action given the current conditions of the market. This strategy is ONLY for currencies I would NOT recommend using on any other markets. This strategy is wrong about 55% of the time so use at your own risk. This strategy has 2 main focuses, 1. Catching trends and riding trends 2. Defending Profits from a Trend, as a trend starts to form you want to make sure you can get the most juice out of the trend while also ensuring profit taking throughout the trend. This algorithm uses moving averages in a more creative way than just trading crossover's, we use a small MA to use it's direction of travel as a traffic light while using a bigger MA as a filter for our trade bias (bear or bull). Our Traffic light or small MA is what ensures we are defending profits as when the traffic light switches colors we close our trade even if our filter is still the same bias. This however does not mean we are done trading the current trend wave, We wait for our traffic light to switch back to the same bias as our filter to re-enter the trade. I will be updating this system as time goes on, if you have any questions or problems please pm me, QuantsGambit
Underworld Hunter Backtesting AlgorhitmThis strategy is built to prove the profitability of my Underworld Hunter indicator . It tests two different strategies. I won't be going into the calculation again since it is part of the original script. I just made a few adjustments.
First one is clearly visual. It plots slimmer twin-coloured lines now and has a different colour for every extreme level. Second is less obvious - I switched Relative Strength Index for Commodity Channel Index.
Extreme levels are as follows: green 100 -► 120, yellow 120 -► 140, orange 140 -► 160, red 160 -► 180 and purple above 180, I will have a special separate algorithm for testing optimal CCI levels someday, in this script, these values are only meant to help you with manual operations and do not influence results of the strategy in any way.
#Trending strategy
The trending strategy opens a position whenever the price leaves the bands and holds it until two consecutive bars are closed within the bands. The picture shows one winning position that hasn't yet been resulted. It also shows a few fakeouts. For this strategy, you want to keep the length below 110, the deviation should be below 2 and you probably want to play lower timeframes.
#Within the bands
The second strategy is pretty much the opposite. It opens a position when the price reaches outer bands and holds it until two consecutive bars are closed within the bands and current bar closes below previous bars low in case of long. It is working on hourly timeframes and you need higher length and deviation to succeed. The picture shows a few positions on EURUSD. Each of them is profitable but would be much higher if you closed it manually when it was time. You need to enable this strategy, which automatically disables the other one.
When using my script, you need to bear in mind that the first strategy doesn't detect optimal levels to close the price. A trend is often followed by a less volatile and boring correction which causes bands to shrink and lower your profits if you don't close manually as it will take longer till bands are reached.
On the other hand, second script literally has no stop-loss. As long as the price is outside the range, it will never close which will cause major drawdowns, unless you control the trade manually. CCI is here to help you with both.
I also recommend combining this with Market Profile (on TW, there is only Volume Profile, which can be used in a similar way) and trading day theory (trending with multiple distributions, trending day, normal day, a variation on a normal day, non-trending day or neutral day). Always keep in mind that it is up to traders to be profitable, indicators can support a good trader, but they will not fix a bad one.
Reticulata Enhanced - StrategyThis script is the backtesting for Reticulata Enhanced.
Building on our core script - Reticulata, the enhanced version features several requested extras to give you more flexibility with your trading style.
What is Reticulata Enhanced?
The Reticulata core leverages a blend of MA/RSI strategies mixed with the Bull Bear Bots optimised logic for risk management. This enhanced version takes it a step further with additional risk management features:
Trailing Stop
Fixed Stop
Fixed Stop, but move at TP
Trend confirmation
Usage
Using the indicator is as simple as:
1. Select the strategy, or combination of strategies you want to use
2. If desired, select one or more of the available trend filters
3. Adjust your stop options
4. Review backtest results
Markets
Like the core, the enhanced algo also supports a range of markets and timeframes, including the majors (EURUSD, etc...) in Forex and a variety of Cryptocurrencies including Bitcoin (BTC/XBT etc...).
All of our scripts are designed for manual traders but are ready to use with automated trading bots.
Patient Trendfollower (7)(alpha) Backtesting AlgorithmThis is an alpha version of backtesting algorithm for my Patient Trendfollower (7) strategy. It can help you adapt the indicator to other charts than EURUSD. Please bear in mind that price action, volume profiles and supzistences are a catalyst for successful trading, not an indicator. You can get significantly better results if you use these things in your trading and use Trendfollower only as a secondary tool.
Patient Trendfollower Indicator
Thanks belongs to @everget and Satik FX, their contributions are highlighted on an indicator page.
VIX + moving average low-drawdown SPY strategyAims to be a simple way to avoid recessions by combining two complementary tools that work well together: A simple moving average crossover (death cross & golden cross) to detect a bull markets and run with it, and a crossover between the VIX and a moving average of its previous peaks to get out as quickly as possible during periods of volatility.
The Death cross gets you out of slow drawn-out bear markets. The VIX gets you out of sudden rapid crashes.
Trend-following Strategy E v2.6 4HHi All,
Welcome to my second published Trend-following strategy for bitcoin , designed specifically for BITMEX:XBTUSD on 4H.
This is an extension of my first script but then for the 4H timeframe.
In order to set up Alerts for this strategy, I've created a second script called Trend-following Alert E v2.6 4H which you can find here:
Here you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.
You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.
As you can see from the backtest I've done my best to create a decent ROI with limited DD.
You can also run this backtest/strategy with '100% of equity' but I would advise against trading this as your risk will fundamentally increase.
With a constant order size this strategy should be quite safe to use.
Going from the results it's clear that this strategy excels during clear bull/bear trends but might suffer a little bit during market chop.
This is also where ROI tends to stagnate a little bit only then to take off again during a clear trend.
There are two inputs that can be modified on this strategy, however I think the current settings are optimal for this market on the 2H candle.
I've also added start and end dates to test specific time periods.
Please let me know if you have any questions.
Best Supertrend CCI StrategyHello traders
Someone requested the strategy version of the Supertrend CCI indicator
It's a Supertrend not based on candle close but based on a CCI ( Commodity Channel Index )
How does it work?
Bull event: CCI crossing over the 0 line
Bear event: CCI crossing below the 0 line
When the event is triggered, the script will plot the Supertrend as follow
UP Trend = High + ATR * Factor
DOWN Trend = Low - ATR * Factor
This is an alternative of the classical Supertrend based on candle close being above/beyond the previous Supertrend level.
Hope you'll enjoy it and it will improve your trading making you a better trader
Dave
Trend-following Strategy E v2.6Hi All,
Welcome to my first published Trend-following strategy for bitcoin, designed specifically for BITMEX:XBTUSD.
In order to set up Alerts for this strategy, I've created a second script called Trend-following Alert E v2.6 which you can find here:
Here you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.
You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.
As you can see from the backtest I've done my best to create a decent ROI with limited DD, i.e., the current max. losing trade for this is -3.8% and max. DD is a mere -8.09%.
You can also run this backtest/strategy with '100% of equity' but I would advise against trading this as DD increases significantly.
With a constant order size, and due to the low inherent DD, this strategy should be quite safe to use.
Going from the results it's clear that this strategy excels during clear bull/bear trends but might suffer a little bit during market chop.
This is also where ROI tends to stagnate a little bit only then to take off again during a clear trend.
There are two inputs that can be modified on this strategy, however I think the current settings are optimal for this market on the 2H candle.
Please let me know if you have any questions.
Linear Regression Pearson's R - Trend Channel StrategyThis script takes advantage of the Pearson's R attribute of the data set you provide.
Pearson's R attempts to find how correlated data is with a potential pattern. If the number is negative the correlation is upwards . If it's positive the correlation is downwards . Pearson's R can only be a number between -1 and 1. It should be impossible to ever reach -1 or 1 as that would be a perfect correlation.
This particular strategy involves using linear regression and Pearson's R to keep recalculating steps back from the current position until the Pearson's R reaches the desired amount. For example, in my experience I have found that 0.85 for as a buy point is very good as it means the trend is very reliable and solid. When the market tends to be bullish it tends to do so longer then when it's bearish.
Likewise when a downtrend is more real, I found that 0.71 for the negative Pearson's R value is ideal and gives the best results.
These can all be changed in the settings section (with the gear icon) next to when you set your results.
This strategy is really fun/useful to watch if you have the replay bar mode enabled for TradingView. This script supports this and all you have to do is go into the settings and enable realtime mode . Doing this you can actually see the trend lines change in realtime and comes in very handy for seeing long term reversals as you will see the Pearson's R value start to go down or up indicating the path it's going on.
WARNING: This script is very intensive on the processing power of your machine. If you find that it's to slow you may have to go into the settings of the script and adjust the 'step by' parameter so that it calculates a little faster. It won't be as accurate but it will be good enough. I feel I've optimized it with it's current setting as an example of what you want to aim for.
If there are any questions do no hesitate to message or ask me. I love feedback on the community for new features and ideas!
This works best with with XBTUSD on the 4 hourly chart . It does not seem to work well if you go below hourly or go above daily.






















