RSI + MA StrategyHello, everyone!
We have just released an innovative strategy for TradingView. It allows you to facilitate the trading process when you have to use both indicators.
This strategy is:
User-friendly
Configurable
Equipped with the combination of Relative Strength Index (RSI) and Moving Average (MA) indicators
Designed with all required functions to manage positions
Features
The RSI+MA strategy can:
Identify entry points for Long and Short positions.
Depict RSI and MA values concerning each other.
Reduce visual congestion and import usability thanks to using a combo of 2 indicators.
Allow using pivot trading. The RSI+MA strategy will enter a Long position according to the Short position conditions. And vice versa.
Note! If you want to open a Long position, the RSI line should cross MA from top to bottom. If you want to open a Short position, RSI has to cross MA from bottom to top.
Parameters
We have equipped our strategy with more than 14 additional parameters. So, you can configure the EA according to your needs!
Inputs :
Use Reverse Trade — allows swapping Long and Short positions opening conditions.
Resolution — allows you to view an indicator with data on a higher or lower timeframe on the current chart.
RSI Length
RSI Source: Open, High, Low, Close, HL2, HLC3, OHLC4
Show MA — allows you to enable or disable MA displaying.
MA Length
MA Offset
Style:
RSI — RSI indicator line color and style settings.
MA — MA indicator line color and style configuration.
Upper Band — allows customizing line style, color, and RSI upper bound value.
Lower Band — allows you to customize line style, color, and RSI lower bound value.
Background — background color setting within the RSI upper and lower borders.
Precision — number of decimals for RSI values.
Note! Try RSI+MA on your demo account first before going live.
Analisis Trend
Bollinger Bands Fibonacci Ratios StrategyHello, everyone!
We have just released an innovative strategy for TradingView. It allows you to identify price pivot points and volatility.
This strategy is:
User-friendly
Configurable
Equipped with Bollinger Bands and smoothed ATR to measure volatility
Features
Thanks to the BB Fibo strategy, you can:
Trade stocks and commodities.
Identify price pivot points.
Choose any band for trading Long or Short positions.
Swap upper and lower bands applying Use Reverse Buy/Sell parameters.
Note! The upper bands are for the Long position. The lower bands are for the Short positions.
Parameters
We have equipped our strategy with more than 14 additional parameters. So, you can configure the EA according to your needs!
Inputs:
Length
Source: Open, High, Low, Close, HL2, HLC3, OHLC4
Offset
Fibonacci Ratio 1 — a Fibonacci factor for the 1st upper and lower indicator lines calculating.
Fibonacci Ratio 2 — a Fibonacci factor for the 2nd upper and lower indicator lines calculating.
Fibonacci Ratio 3 — a Fibonacci factor for the 3d upper and lower indicator lines calculating.
Use Reverse Buy — the strategy will use lower Bollinger bands instead of upper ones.
Fibonacci Buy — band selection for opening Long positions conditions.
Use Reverse Sell — the strategy will use upper Bollinger bands instead of lower ones.
Fibonacci Sell — band selection for opening Short positions conditions.
Style:
Basis — baseline color and style settings.
Upper 3 — the 3d upper line color and style.
Upper 2 — the 2nd upper line color and style.
Upper 1 — the 1st upper line color and style.
Lower 1 — the 1st lower line color and style.
Lower 2 — the 2nd lower line color and style.
Lower 3 — the 3d upper line color and style.
Background — the background color within the 3d upper and 3d lower indicator band.
Precision — the number of decimals for BB Fibo values.
Note! Try BB Fibo on your demo account first before going live.
robotrading ZZ-8 fractalsThis is another version of my ZZ type strategy. This script now uses Bill Williams' fractals.
Strategy
Step 1: Calculate Bill Williams' Fractals
Step 2. A line is drawn from the fractal
Step 3. Create a stop order to enter the position on the line
Trading
If the price is above the lime line, open a long position (and close a short position).
If the price is below the red line, open a short position (and close a long position).
For
"Cryptocurrency / fiat or stablecoins" (BTC/USD, ETH/USDT, etc)
Timeframe 4 hours or more
Simple EMA Crossing Strategy TradeMathSimple EMA Crossing strategy, based on crossover Fast exponential moving average = EMA21 and Slow exponential moving average = EMA55.
Default stop loss is 3%, but you can change it.
Default take profit is 9%, it based on stop loss.
Risk to Reward ratio is 1 to 3.
Strategy was tested on BTCUSDT 1H timeframe and works fine with these parameters.
[BTCUSD] Multi Entries Autotrade BinanceCommission = 4 USD per order >>> check in the Performance Summary
Slippage = 2 ticks
- I see from Kodify (tradingview.com/pine-wizards)
Risk: 1% per trade >>> check at the "List of trades"
* Auto trade BINANCE FUTURE by Webhook + Pro, Pro+, Premium Tradingview user.
Binance future quantity setting:
- Fixed Quantity = 0 => Auto quantity (Balance, risk, pips loss)
- Fixed Quantity > 0 (0.001, 0.002, 0.01,...) => send signal with Fixed Quantity
H4 timeframe is main trend: Supertrend indicator.
- Uptrend when closes candle is below the red line
- Downtrend when closes candle is above the green line
H1 timeframe: Keltner Color count & RSI indicator:
- Keltner Color Count input:
- Length = 50
- Multi1 = 1
- Multi2 = 2
- Multi3 = 3
- Source = Close
- Lookback = 25
- RSI input: Length: 14, Source: Close
I. Entry 1: BASIS KELTNER CHANNEL
- BUY when previous OHLC4 candle crossover Basis line AND Supertrend H4 uptrend AND Keltner channels uptrend. Not repaint.
- SELL when previous OHLC4 candle crossunder Basis line AND Supertrend H4 downtrend AND Keltner channels downtrend. Not repaint.
II. Entry 2: UPPER 2/LOWER 1 KELTNER CHANNEL
- BUY when previous OHLC4 candle crossunder Upper 1 AND Supertrend H4 uptrend AND Keltner channels uptrend AND rsi uptrend. Not repaint.
- SELL when previous OHLC4 candle crossover Lower 1 AND Supertrend H4 downtrend AND Keltner channels downtrend AND rsi downtrend. Not repaint.
III. Entry 3: SELL UPPER 2/ BUY LOWER 1 KELTNER CHANNEL
- BUY when previous OHLC4 candle crossover Lower 1 AND Supertrend H4 uptrend AND Keltner channels uptrend AND rsi uptrend. Not repaint.
- SELL when previous OHLC4 candle crossunder Upper 1 AND Supertrend H4 downtrend AND Keltner channels downtrend AND rsi downtrend. Not repaint.
IV. Report all history BTCUSD (H1 timeframe)
- 01/01/2019 - 20/11/2021
- 01/01/2018 - 01/01/2021
- 01/01/2017 - 01/01/2020
- 01/01/2016 - 01/01/2019
- 01/01/2015 - 01/01/2018
- 01/01/2014 - 01/01/2017
- 01/01/2013 - 01/01/2016
- 01/01/2012 - 01/01/2015
ETHUSD Multi Entries Autotrade BinanceCommission = 4 USD per order >>> check in the Performance Summary
Slippage = 2 ticks
- I see from Kodify (tradingview.com/pine-wizards)
Risk: 1% per trade >>> check at the "List of trades"
* Auto trade BINANCE FUTURE by Webhook + Pro, Pro+, Premium Tradingview user.
Binance future quantity setting:
- Fixed Quantity = 0 => Auto quantity (Balance, risk, pips loss)
- Fixed Quantity > 0 (0.001, 0.002, 0.01,...) => send signal with Fixed Quantity
H4 timeframe is main trend: Supertrend indicator.
- Uptrend when closes candle is below the red line
- Downtrend when closes candle is above the green line
H1 timeframe: Keltner Color count (Free): 2 Entries (I. Basis line, II. Upper 1/Lower 1 line)
Keltner Color Count input
- Length = 50
- Multi1 = 1
- Multi2 = 2
- Multi3 = 3
- Source = Close
- Lookback = 25
I. Basis entry rule:
1. Keltner channels:
Long when closes candle crossover the Upper 3 Keltner.
Short when closes candle crossunder the Upper 3 Keltner.
2. Rule of Basis's correction zone before open trades.
- Buy when previous OHLC4 candle crossover the Keltner Basis (Supertrend uptrend & Keltner long). Not repaint.
- Short when previous OHLC4 candle crossunder the Keltner Basis (Supertrend downtrend & Keltner short). Not repaint.
II. 'Upper 1/Lower 1' entry rule:
1. Keltner color count: lookback = 25
2. Keltner channels:
- Long when closes candle crossover the Upper 2 Keltner and Keltner Color count Uptrend.
- Short when closes candle crossunder the Upper 2 Keltner and Keltner Color count Downtrend.
3. RSI down when crossover 70, RSI down when crossunder 30
4. Rule of 'Upper 1/Lower 1' correction zone before open trades.
- Buy when previous OHLC4 candle crossunder the Keltner Upper 1 (Supertrend uptrend & Keltner long & RSI up). Not repaint.
- Short when previous OHLC4 candle crossover the Keltner Lower 1 (Supertrend downtrend & Keltner short & RSI down). Not repaint.
III. Stoploss move: Height of Keltner * 1.3
IV. Report all history ETHUSD (h1 timeframe):
1. Keltner Basis line entries:
- 14/01/2019 - 20/11/2021
- 18/01/2021 - 01/01/2021
- 02/01/2020 - 01/01/2020
- 05/02/2016 - 01/01/2019
- 23/10/2015 - 01/01/2018
- 23/10/2015 - 01/01/2017
2. Keltner 'Upper 2/Lower 1' entries:
- 20/01/2019 - 20/11/2021
- 10/01/2018 - 01/01/2021
- 12/01/2017 - 01/01/2020
- 04/02/2016 - 01/01/2019
- 19/08/2015 - 01/01/2018
- 19/08/2015 - 01/01/2017
3. Combine 2 entries (Basis & 'Upper 1/Lower 1':
01/01/2019 - 20/11/2021
01/01/2018 - 01/01/2021
01/01/2017 - 01/01/2020
01/01/2016 - 01/01/2019
01/01/2015 - 01/01/2018
01/01/2015 - 01/01/2017
WhaleCrew BacktesterBacktesting indicators is easy , just add the following line of code to your script:
plot(longEntry ? 1 : shortEntry ? -1 : longTP ? 0.5 : shortTP ? -0.5 : 0, color=na, editable=false, title='Backtest')
These numbers are defined as constants in the backtester source-code.
After adding this indicator to your chart:
1. Open Settings
2. Select supported indicator to backtest
3. Select if you want to enter Longs and/or Shorts
4. Open the 'Strategy Tester' at the bottom to check the performance
Remember:
past performance is not indicative of future results
repainting indicators will create wrong/unrealistic results
Ichimoku StrategyThis is an automated Ichimoku Cloud system.
If you're interested in this script with alerts so you can fully automate your Ichimoku Cloud trading, please send me a PM @idonthodl
Buy signal when these three conditions are true:
1. Conversion line goes above the base line
2. Price is above the cloud
3. Lagging span is above price
Stop loss when:
Price goes below the breakout candle
Take profit when:
1. Conversion line goes below the base line again
DC Breakout Strategy | This is simplicity at its finest.As the title already describes: this is a Donchian breakout strategy. This strategy, as of now, only goes long. It goes long when the price close makes a new high and the 8 day moving average is above the 32 day moving average. The strategy exits the trade if the price breaks the atr trailing stop of * 3 or the 8 day moving average crosses below the 32 day moving average.
This is simplicity at its finest.
Swing Multi Moving Averages Crypto and Stocks StrategySimple and efficient multi moving average strategy combined with risk management and time condition.
Indicators/ Tools used
Multi selection moving average type like SMA , EMA , SMMA , VWMA , VIDYA , FRAMA , T3 and much more
Limit 1 entry max per week, entry on monday exit on sunday or risk management tp/sl.
Rules for entry:
LONG:Close of the candle cross above the moving average while the previous close was below. All of this is happening during monday session.
SHORT:Close of the candle cross below the moving average while the previous close was above. All of this is happening during monday session.
Rules for exit:
We exit either on sunday or if we reach tp/sl levels.
Observations:
I recommend use the strategy 2 types, one for long and another for short, using different parameters since long and short movements behave differently.
For example for long we can use a shorter moving average longth and a higher tp/sl while for short we can use a bigger moving average length and a smaller tp/sl
If you have any questions let me know !
Swing VWAP Crypto and Stocks StrategyThis is a strategy designed for swing trading on markets such as crypto and stocks.
Its components are:
VWAP
Time Management
Risk management
Rules for entry:
We entry only on Monday, if our close of the candle crossed above VWAP
Rules for exit
We exit always on Sunday or if we either hit the TP/SL levels.
If you have any questions let me know
BANKNIFTY OPTION INTRADAYthis strategy used to determine and anticipate potential changes in market price and reversals. The Highs referred to in the title are created based on the number of bars that exhibit lower highs on either side of a High, whereas the Lows are created based on the number of bars that exhibit higher lows on either side Low.it also analyzing price changes and reversals, a trader has more of an ability to determine and predict price patterns and general price trends...
The backtest results are based on BANKNIFTY last year's data. It has an initial capital of 10000 and the size of the lot is 4.banknifty option weekly expiry has very low premium so we can take 4 lot in less than 30k.. The target is 50PINTS and stop-loss is 100 points. The commission paid is 20 cash per trade and the slippage is 5 ticks per trade. Some of the Indian broker's commission is only 10 cash per trade. Adjust the commission as per your broker. Trades are conducted based on the intraday time in India set from 9.20 am to 3:20 pm. All positions will get square off at 3.20 pm. All other parameters are suitable for Robo trading with Indian stock brokers.
Also added Quantity feature it automatically double the quantity on losing trade
reasons why to use strategy
1) human psychology never focus on one thing... We never follow one strategy for long time... Bcs we hve greed... If some one says indicator give u 95% than we chnge our strategy which on we r working but indicator didn't give u back testing... Our strategy gives back testing... On 5 min chart of banknifty future... Tv on premium membership give one year back testing... And on crypto it gives 2month backtesing on 5min chart
2) we hve sufficient back testing trades... On 1year back testing minimum 700 trade should be done for back testing bcs thn we know how our strategy work on all market conditions.... For crypto in 2 month back testing more thn 300 trade needed to know it's performance... Our strategy produce suffiend trades... So we know how it works on all market conditions
3) we provide banknifty strategy for intraday... So it's open trade after 9 20 and close all position on 15: 20...so it's backtesing is sure shot perfect
4) for banknifty option strategy... We have made it to book profit or loss in 5 to 15 min... So no time factor effect... So vry profitable for option buyers
5) for banknifty option we had made it fully auto it's automatically buy at auto strike price.. So no tension to select strike price
6) u can also choose weekly or monthly expirey
7) we hve provided table for monthly proprofits... So we know how it's work on every month
8) last but not least...key of 🔑Sucess in stock market and crypto is following the right path for long time... With non biased strategy with positive backtesting result... And all the best
caution: always follow risk management before using strategy
WaveTecs StrategyWelcome to the Backtesting version of "WaveTecs Strategy", the indicator itself is an invite-only script called "WaveTecs Indicator" on TradingView.
WaveTecs Strategy
WaveTecs is a Strategy that combines Wave Trend Oscillator and verifies wave momentum by using RSI and Stochastic Oscillator Values.
What is Wave Trend?
One of the most effective indicators in identifying swings is the Wave Trend indicator. Wave Trend plots waves using highs and lows between an upper band and a lower band. It looks for the opening and closing of a new wave trend movement as well as overbought and oversold areas.
How does this modified strategy work?
By using RSI and Stochastic values we are able to verify Wave inflection points to determine if there is a suitable amount of momentum to ride the swing and make profitable trades. Positions are taken or closed based on the rising or falling momentum.
Each value input can be adjusted to best suit the type of market you are trading in. By using the strategy we can optimize these value inputs to yield greater net profits. I have found the RSI and Stochastic values hugely impact entries and exits regarding trades.
For Long conditions:
- RSI & Stochastic needs to be increasing and moving out of oversold conditions to show positive momentum.
- Falling momentum results in a sell signal. I have found RSI less than 65 to be sufficient in most markets however this can be adjusted at any time to yield different results depending on your comfort level.
For Short conditions:
- RSI & Stochastic needs to be decreasing and moving out of overbought conditions to show negative momentum.
Generally, Wave Trend Strategies only take trades that are outside of the bands. This strategy allows trades inside and outside of the bands, which can be selected under the input section title "Aggressive Trading". Trading in this mode is more frequent as signals are often. Due to volatility in crypto markets, I have defaulted the source for Wave Trend waves to be Open/High/Low/Close Average which yielded great results. High/Low/Close average works very well for all other securities, and can easily be adjusted through the drop-down menu inside the inputs.
Works for all types of markets. Parameters can be adjusted but not required as indicator values are standard in the industry.
The default parameters are set to those typically used in the markets currently. However, I have found that if you adjust you to adjust the parameters based on your asset and time frame desired you will yield different results.
----------------
For example:
----------------
ETHUSDT - 4 HR, results are shown below
Wave Trend Parameters:
Aggressive Trading: Yes
Channel Length: 12
Average Length: 24
Overbought Top: 90
Overbought Bottom: 75
Oversold Bottom: -90
Oversold Top: -55
Source: hlc3
Strategy Type:
Trade Direction: Long Only
Stochastic Inputs:
Stoch Length: 18
Smoother %K: 5
Moving Average %K: 4
%K Lower Limit: 21
%K Upper Limit: 80
%K Crossunder Sell: 80
Relative Strength Index Inputs:
RSI Lower Limit: 30
RSI Upper Limit: 70
RSI Sell Value: 68
==================
WaveTecs Features
==================
Profitable Trading Strategy;
Aggressive Trading feature for more trades, with earlier entries and exits;
Customizable inputs to fine-tune your trades;
Buy & Sell Alerts (Indicator Only);
Overlay indicator only to show alerts, WaveTecs Strategy needed to see Wave Trend;
Bot Integration through webhooks;
Two different strategy modes: Long Trades Only or Long & Short Trades
Adding new features & updates whenever possible.
Add both WaveTecs Indicator and WaveTecs Strategy to your chart. WaveTecs Indicator only plots Buy & Sell Alerts, whereas WaveTecs Strategy lets you see what the strategy is doing.
[BTCUSD] Folow Trend & Autotrade Binance FutureCommission = 4 USD per order >>> check in the Performance Summary
Slippage = 2 ticks
- I see from Kodify (tradingview.com/pine-wizards)
Risk: 1% per trade >>> check at the "List of trades"
* Auto trade BINANCE FUTURE by Webhook + Pro, Pro+, Premium Tradingview user.
1. H3 timeframe: Supertrend indicator.
- Long when the closes candle is above Green line.
- Short when the closes candle is below Red line.
2. H1 timeframe: Keltner channels indicator.
* Keltner channels setting:
+ Length = 50
+ Multiplier = 1
+ Use Exponential MA: true
+ Band style: Average true range.
- Long when the close candle crossover the Keltner Upper
- Short when the close candle crossunder the Keltner Lower
3. Entry rule:
Open Buy: Supertrend & Keltner channels are Long. Buy when closes candle crossunder Basis line and closed above Lower Keltner
Open Sell: Supertrend & Keltner channels are Short. Sell when closes candle crossover Basis line and closed below Upper Keltner
4. Stoploss is moving the trend.
Stoploss = Height of Keltner * 1.2.
5. Not repainting
6. Overview result backtesting:
a. Longterm: Every 2 years
2018 to 31/12/2020
2017 to 31/12/2019
2016 to 31/12/2018
2015 to 31/12/2017
2014 to 31/12/2016
2013 to 31/12/2015
2012 to 31/12/2014
b. Midterm: every year.
2020-2021
2019-2020
2018-2019
2017-2018
2016-2017
2015-2016
2014-2015
2013-2014
2012-2013
c. Shorterm:
2020 to today 13/11/2021
Smoothed Waddah ATR~~~All Credit to LAZY BEAR for posting the original Script which is an old MT4 indicator.~~~~
No this system does not repaint... if it does let me know. Either the code is wrong or you are using a repainting chart such as renko candles.
*PURPOSE*
This Is an "Enhanced or Smoothed" version of the script that captures the heiken-ashi closing price as its main calculation variable. While using normal bar or line charts. Enhancements integrate trade filters to reduce false signals.
*WHAT TYPE OF TRADING STRATEGY IS THIS?*
This is a Long Only, Trend Trading System. Is intended to be applied to Charts/Timeframes that produce sustainable trends for which ever asset you are trading.
*NOTE OF ADVICE REGARDING SETTINGS*
Settings can be tweaked but I have found that best results come with the given settings. If a chart is too choppy to trade this indicator successfully, it is advised not to change the settings but either find a different timeframe or different asset to apply this strategy to.
TLDR
Indicator measures the change of the MacD (difference between MAC D of given EMA's) and compares it to the difference between the Upper and Lower Bollinger bands. Green bar over trigger line= entry. Red bar over trigger line = close.
*SETTINGS AND INPUTS*
-MacD of HeikenAshi chart (will always be of the Heikenashi chart even when applied to different chart type)
sensitivity = input(150, title='Sensitivity') =range should be (125-175)multiplier so that MacD can be compared to BB
fastLength = input(20, title='MacD FastEMA Length')
slowLength = input(40, title='MacD SlowEMA Length')
-Bollinger Band of currently used price chart type
channelLength = input(20, title='BB Channel Length')
mult = input(1.5, title='BB Stdev Multiplier')
-14 Period RSI Trade Filter (set to 0 to Disable)
RSI14filter = input(40, title='RSI Value trade filter') =only gives entry when RSI is higher than given value
*ABSTRACT & CONCEPT*
TLDR - Indicator measures the change of the MacD (difference between MAC D of given EMA's) and compares it to the difference between the Upper and Lower Bollinger bands. Green bar over trigger line= entry. Red bar over trigger line = close.
Indicator plots -
Bars are the change in the MAC D and the indicator line is the difference in the BB.
When Bars are higher than the indicator line then it is considered a trend "Explosion"
Green Bars are Trend Explosion to the upside, Red Bars are Trend explosion to the downside.
GENERAL DETAIL-
the core calculation is measuring the change in MacD of current candle compared to the MacD of two previous candles.
This value is multiplied by the sensitivy so it can be compared to the change in Bollinger Band Width.
if the MACD change is positive then you get a green/lime bar for that value. If the MacDchange is negative you get a red/orange bar for that value.
and are determined by whether the actual change is increasing in that direction or decreasing. (bars getting taller or bars getting shorter)
Entry signal for long is A positive change in MACD difference (Green bar) that is greater than the change of the bollinger band (orange signal line) AND if the RSI value is above your filter.
Close signal or Trend Stop Warning Signal is given when a Negative MacD Difference (red bar) is greater than the change of the bollinger band (orange Line)
*CONSIDERATIONS AND THOUGHTS*
I have over 150 iterations of this indicator and this is the most consistent and best version of settings and filters I was able to generate. I built this indicator specifically for 3 charts. SPY monthly, QQQ monthly, BTC 3 Day. However this indicator works well on any long term bullish chart. (tech stocks are great) .
Trend trading systems are intended to be homerun hitting, plunge protecting indicators that allow for long legs and expanding volatility. This indicator does this as the trigger line is Dynamic with the expansion and contraction of the bollinger band.
I do not take every signal specifically not the close signals. Instead they more like warnings in ultra bullish environments.
If i had to pair this indicator with any other filter than the RSI, it would be a long term moving average i.e. the 50 week or equivalent for your chart. signals above rising moving averages means that you are trading with an upward trending market.
Hope this helps. Happy trades.
-SnarkyPuppy
[Joy] Jasmine Strategy for Bitcoin and CryptoIt is my strategy I use for spot and future trading, mostly for BTCUSD
Notable parameters used:
INDEX:BTCUSD
Data: 2017 - today
Long trade margin/leverage: 8x (50/8 = 6.25)
Short trade margin/leverage: 1x (50/50 = 1)
Commission: 0.075%
Initial Capital: $15, 000
Results:
Net profit: 832.74 %
Buy & Hold: 602.56 %. It beats the buy and hold.
Percent profitability: 88 % . It means 8 out of 10 trades resulted in profits.
Margin Calls: 0 (i.e. Never had a margin call according to backtest from 2017 till today)
Total closes trades: 25
Profit factor: 8.238
Avg Winning Trade: 43.08 %
Largest Winning Trade: 334.85 %
Avg # Bars in Winning Trades: 44 (i.e. 88 days)
Sharpe Ratio: 0.61. A Sharpe ratio under 1.0 is considered sub-optimal. Because of the big swings, I cannot make the Sharpe ratio any better at this time.
Sortino Ratio: 5.153. I think a Sortino ratio of 3.0 or higher is considered excellent. Do your research.
I am using 7.1% stop loss on long trades. However, you can turn off the stop loss and note the profitability remains the same.
Do remember there may be other costs, such as funding costs.
Description:
The strategy hunts for a few market features, namely breakouts, abnormal wicks relative to the body, abnormal volume relative to the candle characteristics, and possible confirmation of all these. It also hunts for more aspects. It gives a relative score of each of the characteristics. Finally, it tries to draw a guesstimate. In the end, it is only a guesstimate. Users see the final outcome (buy/sell etc). The whole logic happens at the background.
The strategy is not to be used for scalping, day trading or swing trading. In other words, it is not suitable for trading in a lower timeframe. It is to be used for Positional Trading For example, if one is trying this for BTCUSD, one may only try this for BTCUSD in a 2day timeframe and not in lower timeframes (such as 4 hours or 1 hour etc.) I am primarily interested in BTC for my research. However, it may be tested on other cryptos as well with varying degrees of results.
Please remember that past performance does not be indicative of future results. Different types of investments involve varying degrees of risk. There can be no assurance that the information referred to directly or indirectly in this strategy will be profitable, equal to any corresponding historical performance level(s), or suitable for you in any form or shape. Market condition changes very fast. Moreover, it would be best if you did not assume that any discussion or information contained here serves as the receipt of, or as a substitute for, personalized investment advice. I am not a financial advisor. I have no qualifications to be a financial advisor. It is only for educational and research purposes. Readers are encouraged to consult with a professional advisor of his/her choosing. Neither I nor my indicators or strategies take any responsibility for any misuse of the information for any actual trading. Even though this strategy did 88% profitability from 2017-2021, it may do poorly and may even be NOT profitable in the future.
Adaptive Hull MA Trend tracerBINANCE:ETHUSDT
This is the first attempt to create a "PEFECT" trend tracer.
All the Moving Averages have a lag but I personally like the Hull Moving Average for the fast response and noise reduction.
However, due to the market behavior it is hard to choose the correct length of the Moving Average that will be suitable for current situation.
This Indicator uses the Bolinger Bands Width to adapt the length of the Hull Moving Average according to the following rule:
1) if the BBW (Bolinger Bands Width) is small => length of the MA is bigger in order to filter the noise of small price changes.
2) if the BBW is bigger => MA length is smaller to track the trend more accurately.
This script also has a strategy logic with RSI for a better entry and exit as well as the minimum allowed MA length.
Further work:
1) Full adaptation of the Moving average
2) Filter bad entries
Please let me know of any suggestions for improving this indicator.
ETHLONG1M此交易策略仅供技术研究参考,未经原创作者授权,禁止转发/转载。
This trading strategy is for technical research reference only.Reposting or reprinting is prohibited without the authorization of the original author.
Low-High-Trend StrategyWhen asked what the key to successful investing was, Warren Buffet famously said “buy low, sell high.” Was he onto something? Today I am sharing with the community a simple “buy low, sell high” strategy with an optional trend filter and take-profit target. I’ve found that this strategy works well in a variety of markets but has a higher tendency to out-perform buy & hold in markets that are ranging sideways.
How it works:
The strategy tracks the highest and lowest price over the last X number of bars (you select the look-back period). The highest price line is plotted in green and the lowest price line is potted in red. If the price crosses over the lowest price in the last X number of bars, then a buy signal is generated. Exit options include a take-profit % or selling when the price crosses over the highest price in the last X amount of bars. I.e. “Buy low, sell high.” An EMA is also plotted as a blue trend line, and there is an option to only trade if the price is above the EMA trend line.
Disclaimer: Open source scripts I publish in the community are largely meant to spark ideas that can be used as building blocks for part of a more robust trade management strategy. Even though this example script beats buy and hold over the back-test time-frame, I wouldn't advise using it as a stand-alone strategy without significant additions/modifications to the strategy and risk management functions. In this example the script is being used as a medium-term strategy with just 10% leverage over account equity, a $25k start balance, and back-testing 10+ years. Modifiable slippage and commissions are included in the model.
Green line = Highest price in the look-back period
Red line = Lowest price in the look-back period
Blue line = EMA Trend
Sideways Strategy DMI + Bollinger Bands (by Coinrule)Markets don’t always trade in a clear direction. At a closer look, most of the time, they move sideways. Relying on trend-following strategies all the time can thus lead to repeated false signals in such conditions.
However, before you can safely trade sideways, you have to identify the most suitable market conditions.
The main features of such strategies are:
Short-term trades, with quick entries and quick exits
Slightly contrarian and mean-reversionary
Require some indicator that tells you it’s a sideways market
This Sideways DMI + Bollinger Bands strategy incorporates such features to bring you a profitable alternative when the regular trend-following systems stop working.
ENTRY
1. The trading system requires confirmation for a sideways market from the Directional Movement Index (DMI) before you can start opening any trades. For this purpose, the strategy uses the absolute difference between positive and negative DMI, which must be lower than 20.
2. To pick the right moment to buy, the strategy looks at the Bollinger Bands (BB). It enters the trade when the price crosses over the lower BB.
EXIT
The strategy then exits when the move has been exhausted. Generally, in sideways markets, the price should revert lower. The position is closed when the price crosses back down below the upper BB.
The best time frame for this strategy based on our backtest is the 1-hr. Shorter timeframes can also work well on certain coins that are more volatile and trade sideways more often. However, as expected, these exhibit larger volatility in their returns. In general, this approach suits medium timeframes. A trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange.
You can execute this strategy on your favourite exchange at coinrule.com.
Alpha Candle Breakout Signal on Momentum from Support Resistance
Hello traders,
Let’s start with a brief description of what this strategy/indicator is and what it does and how we trade based on Alpha Candles.
The definition of an Alpha Candle is that it is mathematically calculated, and significantly bigger than the previous candles. This could be a green candle or a red candle, as long as the body is significantly bigger than the previous candles at the end of the calculation. All calculations are done in real time, we do NOT paint the candle sticks after the close of the candle and do not use offset values. This is extremely important. You will see the candle changing it's color as the body of the candle gets bigger with real time data feed. (Recalculate On Every Tick is ON by default). Now besides the mathematical calculations, an Alpha Candle also represents the emotion in the market for that stock in that moment. We can also say that an Alpha Candle is a change in the momentum.
Now that we’ve identified the Alpha candle, the second step is, to have a look at the chart and identify if the Alpha candle is breaking to a new high / low from a consolidation period, or from a good chart pattern (ascending / descending triangle , pennant , sideways consolidation) or a sudden direction change of the stock (bounce). Remember, the script will paint all Alpha candles regardless.
NVAX day trading example
Forex
Crypto
PLUG (Bounce example)
The script will identify the Alpha candles that are breaking to a new high / low from a user input look back period (default is 20 bars back, but this can be changed by the user input). An Alpha candle that breaks the look back period, will have a stop loss line below for Green Alpha or above for Red Alpha Candle and reward targets, like target1 or target2 (both are user input fields, can be adjusted to personal R values, default values are 2R and 3R)
A 2R means two times the reward (profit) of a 1-unit risk. If you are comfortable of loosing $50 per trade which will be considered 1-unit, then 2R means $100 reward (profit) target and a 3R is $150 reward (profit) target. Those R values will be plotted and/or labelled on the chart with dollar amounts if desired. You can change your R values from the user input area, even with decimal points, like 2.5R or 3.75R. If you shoot for at least 2R, you could be wrong 6 times out of 10, and still make 2R profit, as long as the other 4 trades give you a total of 8R. This is a basic trading concept. It will force the new traders to focus on risk/reward rather then a gambling attitude.
The script is meant to work with candle stick chart patterns only, it is NOT meant to work with ranges, line charts or point and figure charts. It will work with time frames like (seconds,1,2,3,5,10 minute or any minutes, daily, weekly). If you are trading IPOs , there might not be enough data for the script to do the calculation, so just be aware.
The script will identify the candles if they are Green Alpha (going up, bullish ) or Red Alpha (going down, bearish ). In order to see them clearly, we’ve greyed out the rest of the candles, and made Green Alpha candles white, and Red Alphas are left as red. You can change the colors from the user input area.
There is also a look back period, between 1-55 and the initial value is 20 for Green Alpha and 10 for Red Alpha. So, if the Alpha Candle breaks this look back period, it will be considered as an opportunity to take the trade. The code will put the stop loss area, possible target1 and target2 areas with a blue diamond and will draw the resistance/support lines for that Alpha candle. Depending on the individual’s risk tolerance, a label on the right side of the screen will show the risk tolerance (user input value) and the number of shares to be traded based on the risk tolerance (# of shares will be for the last Alpha Candle that is formed, it will constantly update itself with the new Alpha Candle)
For those who might be familiar with the three-bar play, we implemented something similar, so the code will find them in real time. Once an Alpha Candle is formed, if the following candle is a very small candle, also called pin bar , it will be painted to orange, so you can see it clearly. This pin bar is significantly smaller than the previous candles and formed right after an Alpha Candle.
Like anything in life, nothing is free. Meaning you have to work for it. So if you are looking to buy/sell blindly based on some indicators and signals, please do not consider this script. However, once you start using it, you will see how patterns repeat, when they repeat and how they repeat. It will identify the action, but you have to check the validity from the charts, so user discretionary is advised. As an example, if the Alpha candle is breaking from a consolidation period at $10. Let’s assume stop loss is at $9 so the 2R target will be $12, but if there is a possible resistance at $11, then the trader has to decide to take the trade for a possible 1R return, or skip the trade.
We try to approach the trading as a set of rules and processing the trades one by one, with a calculated risk and reward. This script will give you the Candle stick formation that is worth consideration and will draw the Stop Loss area (you can tweak this to your liking), will draw the 2-3R Targets, and will calculate the number of shares to be purchased based on the Risk Tolerance user entered in the user input area. The rest is to let the trade take care of it self.
Charts and patterns work better, when there is enough volume in a particular stock. If the stock is trading very low in volume , things will not work as expected. So, we must focus on the abnormal stocks, like gap gainers, volume gainer stocks, or heavily traded stocks (for intraday trading). For swing or long-term traders, one could look for a Green Alpha candle, assess the risk and possible return and trade the plan on a daily chart pattern (long term), or 15,30,60 min charts for swing trades.
If you are looking to short a stock, look for stocks that are weak (gap downs), so look for Red Alpha formations in that stock.
Once the back testing is turned on, code will generate buy/sell signals, otherwise it will work as an indicator. But please keep in mind….. For day trading, the stock has to be abnormally trading, so the chart patterns and the Alpha Candles work correctly. Volume has to be more than usual. It is the best way to have predictable results for day trading. If the volume of the stock is 2-5 times or more than the average of 20 days period (early in the morning), and even more later in the day, it is a good indication that the stock is trading on an abnormal volume with some news (pre-market abnormality is a good sign for possible abnormality for that stock).
For back testing, user can select from the user input area :
• Long or Short Trades or both or use the script as an indicator
• Close any open position if an Alpha candle forms in the opposite direction
• Pyramid the trades up to 4 levels (allow to buy/sell 4 times in the same direction every time another Alpha Candle forms)
• Breakout/breakdown look back period (every time an Alpha Candle forms and breaks this look back period, it will be a trade opportunity)
• Target Reward areas
• Stop Loss area
• Time frame (change the time frame and observe which time frame made good profit. Test the plan for future trades. Test it in as many abnormal stocks for the day they were behaving abnormal as possible). Time frame is not a user input field, just the time frame of the chart, 2,5,10 min, 1 hour etc.
• Selective date testing (between two dates/times). This is very important as most of the good opportunities comes from abnormal price action with volume . If you back test with the maximum amount of data for that abnormal stock on that day, it will produce unrealistic results, because the stock will have a normal course of trend before the news. Remember, we are looking for stocks that are trading abnormal in both price and volume or stocks like AAPL , TSLA which are trading heavily on each day. It is also a good way to learn, how and when to buy/sell, where to put stop losses by observing the chart with the Alpha Candles showing the results.
• All the above values will have an impact on the total profit / loss.
F (Ford Motors)
Now that we’ve covered what the script does, let’s plan the trade and trade the plan.
Side Note:
-------------
We started coding this as an indicator to show the Alpha Candles to find opportunities in the market. Later in the development, we implemented it as a Strategy, to be able to back test the ideas, to tweak some rules for entry/exit and see the effects on our profit/loss percentages in general. We kept the original idea being an Indicator, to show us the Alpha Candles in real time. This requires the option “Indicator Mode” is to be selected from the User Input area, and leaving the “Recalculate On Every Tick” is selected from the Properties tab of the strategy (as of Pine Script v5). Strategy is turning this “On” by default.
Disclaimer: This script is an educational and personal use only tool and should be used accordingly. User can not publish any images created with this code. Do your own due diligence, do not buy / sell stocks based on any indicator, always use stop losses. We do not make any promises as this indicator or any indicator will make you a profitable trader. Trading and technical analysis is difficult, it takes time to build confidence and experience. Study the charts and candlestick formations. Study support/resistance areas and how to identify them. This will help you to tweak the script’s stop loss areas and 2R-3R targets. Do not invest any money you are not comfortable loosing.
This is an invite only strategy. We will give ample time to test it out. After that you will need to subscribe. To get access to this strategy trader can send me an email from the links below.
All the Best
Happy Trading
TradingGroundhog - Fundamental Bot Automation - Fractal/Wave -V1PLEASE READ THE DESCRIPTION - AS THE SCRIPT IS USED FOR AUTOMATION AND TRADING PAIR SWITCH THE MECHANISM CAN BE COMPLICATED TO UNDERSTAND
#-- Pairs Switching - No Repaint - Fractals - Wavetrend --
This strategy uses my fractal/wavetrend previous methods in order to buy/sell.
However, it has been designed in order to switch automatically the pairs on which it trades to reduce the loss and risk.
#-- Synopsis --
To do so, the script uses a Daily wavetrend oscillator. The oscillator is used to find uptrend periods.
From it, the number of uptrend days are counted.
#-- Wavetrend --
For exemple, if BTC/EUR goes from downtrend to uptrend, the script will start to count since how many days the market is uptrend.
Then, if BTC/EUR goes from uptrend to downtrend, the counter will be reset to 0.
The script only trades during uptrend periods.
#-- Pairs --
Up to 35 pairs can be used at the same time. The user can enable of disable to trade on certain pairs.
Uptrend days are counted for each one of those pairs. The user can define on how many pairs the script can trade at the same time.
The select which pairs will be trade, the script sort all the enabled pairs based on their uptrend days counters.
#-- Trade organization --
For exemple if we set 5, as the number of maximum pairs to trade on.
Trades will be conducted on the 5 pairs being in uptrend for the longest time.
Therefore, to organize the money placement on each pair, the equity is used.
For 100% of equity, 10% are kept if losing trades occur.
The remaining 90% are divided by the number of maximum pairs to trade on.
If we chose 5, we will have (90/5) 18% of our capital placed in each bot.
#-- Setting it --
As explained before, this script is used for automation.
For exemple, lets say you are interested by 15 pairs with promising evolution and you set the number of maximum pairs to trade on to 5.
You will have to set alerts for the script on each of the 15 pairs.
You will receive alerts for when to buy and sell.
Note that the script has to be set for each of the selected pairs, it is not able to trade on 15 pairs (thus, webpages) if only set on one Tradingview webpage.
#-- Plot--
Once launch, you can see a plot.
The plot represent the Uptrend days counter for 20 pairs. It also project the organization of the ENABLED pairs.
If a pair is part of the one with the highest number of uprend days. It's name will be displayed under the plot in a yellow comment box.
Four other box are projected to the right of the plot:
White comment : All the pairs sorted from highest number of uptrend days to the lowest.
Red comment : Pairs with the lowest number of uptrend days.
Blue comment : Interesting pairs which will may be uptrend for a long time.
Green comment : Actual pairs with active trading (thus, the pairs with the maximum number of uptrend days)
#-- Bot automation --
If you use 3commas or other trading bot platforms, you will have to set as comments the BUY/SELL alerts. <= Which is what I am doing with it.
Doing so make you trade on multiple pairs, automatically.
However, you will need to set as input the 3commas signal.
For the moment, the script will be needed for it.
However, I will soon release a V2 taking as input the 3commas strategy comments.
For the moment, you can set the script in different webpages and follow BUY/SELL orders by eyes of alerts. ;)
#-- Parameters --
*** Parameters have been intensively optimized using 35 cryptocurrency pairsin order to have potent efficiency for each of them. I would recommend to only change the METHOD SETTINGS. For the others, I don't recommend any modifications. If you need precision on the other parameters of if you want to modify them, more informations can be found in my previous scripts and ***
Filtering method :
Used to reduce or not the risks. If you set Wavetrend, less trades will be conducted as the wavetrend filter from will be used. If you choose Fractal, no Wavetrend signals will be used.
(I prefer to use Fractal as I am using 1 or 3 minutes timeframes for the moment.)
Market Pairs : You can select on which markets the script will trade by enabling it's checkbox.
*** Also, for the moment, due to Pinescript limitation, I cannot set as input the number of active pairs. So I set 5, after optimization, as the default number of maximum pairs to trade on. Thus, you should open webpage for each ENABLED pairs and load the script in each on them. 5 Tradingview webpage will always be active. ***
#-- Timeframe --
You can use the script for Short or Long term trading:
For Short term, you will have to use 1 or 3 minutes timeframes, depending on the volatility of the market. (What I am using)
For Long term, you will have to use 5 or 15 minutes timeframes, depending on the volatility of the market.
#-- Strategy abilities and results for more than a month of activity -- *** !!! IMPORTANT SECTION !!! ***
I have simulated the profit for the 21 ACTIVE pairs I selected has been potent with my Fractal strategy. Different maximum number of trading pairs were used in order to find the best one. The script was run for the last 46 or 30 days.
Different timeframe have been used as pairs have different volatility.
*** If you use the script, SET IT UP with the following pairs and the following timeframes. ***
-------------------------------------------------------------------------------------------------------
Parameters | Maximum number of trading pairs
-------------------------------------------------------------------------------------------------------
Timeframe | Pairs | 1 2 3 5 6 10
-------------------------------------------------------------------------------------------------------
3M | SHIB | 0 0.98 3.63 2.17 2.56 2.56
1M | SOL | 0 1.5 1.08 1.26 0 0
3M | XRP | 10.5 4.56 3.29 2.19 1.52 1.52
3M | ETH | 9.94 6.97 4.55 3.45 2.19 2.19
3M | BTC | 1.7 2.32 1.74 1.88 1.33 1.33
3M | DOT | 0 3.5 2.32 2.27 1.99 1.99
1M | DOGE | 0 0 0 3.14 1.93 1.93
1M | LUNA | 0 0 0 0.23 2.35 2.35
3M | AVAX | 8.92 0 0.53 3.63 1.17 1.17
1M | HOT | 0 0 2.12 7.96 4.69 4.69
3M | GRT | 0 -1.09 -0.82 0.25 -0.191 0
1M | LINK | 0 0 0 0 0 0
1M | CHZ | 0 0 0.4 0.85 1.89 1.91
3M | WIN | 0 0 0.52 5.89 2.8 2..8
3M | ENJ | 32.63 15.65 12.55 10.31 5.62 5.62
3M | RUNE | 0 4.68 3.42 -1.18 2.3 2.3
3M | LTC | 0 -0.06 1.1 1.29 3.49 3.49
3M | BTT | 0 0 0 0.85 1.63 1.63
3M | BCH | 0 0 0 1.36 2.36 2.36
3M | WRX | 0.26 4.66 5.36 4.29 3.01 3.01
3M | ETC | -0.92 0 0 3.6 3.31 3.56
-------------------------------------------------------------------------------------------------------
Net profit % | 63.03 43.67 37.24 55.69 45.949 43.61
Number of days | 46 30 30 46 46 46
Net profit % per day | 1.38 1.46 1.25 1.22 1.00 0.95
-------------------------------------------------------------------------------------------------------
*** Therefore, we are around more than 1% per day in each case. ***
#-- Choosing pairs --
I selected the 35 cryptocurrencies which can be exchange with EUR and evaluated the ability of my Fractal script on them. The on which have been ENABLED (true) are the best.
BINANCE:SHIBEUR | true
BINANCE:SOLEUR | true
BINANCE:XRPEUR | true
BINANCE:ETHEUR | true
BINANCE:BTCEUR | true
BINANCE:DOTEUR | true
BINANCE:ENJEUR | true
BINANCE:DOGEEUR | true
BINANCE:LUNAEUR | true
BINANCE:VETEUR | false
BINANCE:BNBEUR | false
BINANCE:AVAXEUR | true
BINANCE:HOTEUR | true
BINANCE:EGLDEUR | false
BINANCE:GRTEUR | true
BINANCE:MATICEUR | false
BINANCE:LINKEUR | true
BINANCE:CHZEUR | true
BINANCE:ICPEUR | false
BINANCE:UNIEUR | false
BINANCE:WINEUR | true
BINANCE:ADAEUR | false
BINANCE:RUNEEUR | true
BINANCE:TRXEUR | false
BINANCE:THETAEUR | false
BINANCE:EOSEUR | false
BINANCE:LTCEUR | true
BINANCE:XLMEUR | false
BINANCE:BTTEUR | true
BINANCE:SXPEUR | false
BINANCE:LAZIOEUR | false
BINANCE:YFIEUR | false
BINANCE:BCHEUR | true
BINANCE:WRXEUR | true
BINANCE:ETCEUR | true
Percentage Change strategy w/BG colorThe Percentage Change Method has historically been very effectively used by analysts on very long time horizons and very extreme percentage changes, for example a -6% or more drop in any index doesn't happen very often but it has very large implications and that much selling pressure typically leads to more selling at least for a while as a consequence of it. Similarly this can be applied to shorter time horizons. This indicator is ideal for 1min, 3min and 5min time horizons. Where I found it to be particularly helpful and one of the reasons I created it is for the market opening. If you trade the Mini Nasdaq for example and put it on a 1min setting then you can catch the changes that often happen in the first hour pretty well.