Strategy Execution Template - Master PatternThis script is a template to execute your strategy with Stop Loss and Take Profit and showing Trades.
Then, you can write your strategy without taking care of Stop Loss and Take Profit method.
3x Fixed Percent Stop Loss, Trailing Percent Stop Loss, Trailing ATR Stop Loss, Tailing HHLL Stop Loss
3x Fixed Percent, Take Profit
ДЛИННАЯ
Long WickIt will work on Bank Nifty future only with 2 min time frame. GO Long above candle if the lower wick is more than 50 points and go short below the candle if upper wick is more than 50 points. It will work better with price action.(demand and supply zone)
Zlema Strateg Long 5mJust putting this out there.
I created this Strategy based on Everget Zlema.
Opens long trade when Zlema changes color.
It is profitable as it is, but just putting it out to the community to see if someone else has ideas to make it better.
How to make this strategy better?
1. FInd a way to filter ranging bad trades.
2. Trades would be more profitable if entry point had an entry on the candle the zlema changes color.
3. I had to put TP 5 limit, but the optimal would be when the zlema changes color back to red (if ranging trades can we filtered that is).
In any case, just putting it out there, hope it is useful for someone, and I am open to suggestions.
Buy / Sell indicator light version [Crypto_BCT]The indicator is based on the search for the lowest bars in a given period (can be customized).
You can add a search for the highest bars to determine the closed order points.
You can add a filter by the value of the RSI (you can customized it separately for buying and selling).
Alerts for buying and selling are set.
It can be used to work with bots, for example 3COMMAS DCA bot.
--------------------------
Signal Condition Settings:
(Buy) Lowest Bar
The closing of the current bar is lower than the closing of the bars back in this range
(Buy) RSI value <
The RSI index is below this value
(Sell) Highest Bar
The closing of the current bar is higher than the closing of bars in this range
(Sell) RSI value >
The RSI index is higher than this value
BTC 1D Safety tradeImportant: use only the BTC/USD pair on the 1D timeframe
The indicator is designed to determine the zones for entry to buy or sell, as well as for closing deals.
The indicator is based on a moving average with a period of 12.
The parameters are not changeable, since the optimal settings (Safety trade) were used for the BTC/USD pair on the 1D timeframe.
The code is open, please change it according to your parameters.
Upper zones for closing long or opening short.
Lower zones for opening long or closing short.
PriceCatch Bank FD Return LevelHi Tradingview community.
This script would be of interest to those trading Indian stocks in NSE/BSE. It is an open-source script with a simple mandate.
ESTIMATE:
At what price will your long trade yield a return equal to the selected bank's fixed deposit interest rate (1 year).
It will help you to estimate your probable target and whether the set target is at least returning selected bank's fixed deposit interest rate.
USAGE:
Pretty simple. Enter the rate at which you have taken the long entry or drag the price line, any which way. Select the bank whose interest rate you want to calculate the return rate with. Once done, the script will draw a line and give you the price where the return would match the selected bank's fixed deposit interest rate. Then you may manually draw a line at that price level and disable the script.
WHY TO DISABLE?
As the script draws the level on the basis of a particular chosen stock, the line would be irrelevant when you change the instrument. Think of the script as helping you to quickly find the return yield for a specific long trade. Once you know it, no need to keep the script active.
IN THE CHART:
The chart shows that on TVS Motor, a trade taken at 624.65 would have to go up to 658.40 to give State Bank of India's FD interest rate of 5.40 p.a.
Feel free to use and contact if you have any queries/feedback.
All the best with your trading.
PriceCatch
Heikin Ashi Candle Startegy for Long PositionThis strategy utilize Heikin-Ashi candlestick chart.
Heikin-Ashi technique is a Japanese candlestick-based technical trading tool that uses candlestick charts to represent and visualize market price data.
Heikin-Ashi candle is essentially taking an average of the movement.
There is a tendency with Heikin-Ashi for the candles to stay red during a downtrend and green during an uptrend.
This strategy only apply for long trading position.
The idea is trader will waiting 3 green candles for validation period (confirmation) before entering long position.
Different timeframe will result different result.
Number of validation period can be changed to see different result
This strategy has parameter for take profit percentage, trailing stop and stop loss.
User can set maximum active position to minimize risk and qty order.
This tool is useful for user who wants to backtest Heikin-Ashi trading strategy.
Script will emit alert when long position is opened and closed.
Warning of Backtesting
Backtesting is backward-looking. As the name implies, you are testing how something would have worked if you traded it perfectly in the past.
Past performance does not indicate future performance and you should not assume it does.
Backtesting assumes you never miss-fire, that you get in and out at the exactly perfect moment each time.
Backtesting assumes you have perfect liquidity, and your limit orders fill at a specific, pre-defined price every time (either the open, close, low, high, or some average of these).
Disclaimer
Do your own research and consider fundamental price of asset.
The indicators provided on this script is for educational purposes only.
Author does not offer advisory or brokerage services, nor does it recommend or advise users to buy or sell particular stocks or securities.
Please examined script and give feedback for further improvement.
Script are open to public, everyone see and clone source code or just apply to chart. Please make comment for improvement.
RSI StrategySimple way how to use RSI and MA indicators for trading.
What we use:
• RSI
• SMA calculated by RSI (title: SMA_RSI)
• Delta of RSI and SMA_RSI (title: delta)
• SMA calculated by delta of RSI and SMA & RSI (title: SMA_RSI2)
Logic:
Upon the fact that we use the difference between two indicators that have similar values ( RSI and SMA_RSI), we get number around zero. Next, result is smoothed by calculated the SMA . This is the blue/purple line that appears on the chart - SMA_RSI2.
The trade open when SMA_RSI2 cross over the threshold. The trade close when SMA_RSI2 cross under the threshold below.
Also, the usual EMA 200 is used as a filter, which you can switch on or switch off.
Bitcoin Bull Runs Mid Cycle Aligned This script plots 2 lines which are the 2013 and 2016 bull run. The plots are aligned on their mid cycles to the 2021 mid cycle.
Settings:
You can move the plots on the x and y axis in the settings for the Daily, Weekly and Monthly TFs.
The plot is weird on the Monthly TF, best to use the Daily and Weekly.
If it doesn't load at first you have to zoom out fully and go back to 2013 for it to load. Then it will load.
BBW EMA RIBBON+BB%B+EMA BUY/SELL SignalsBINANCE:BTCUSDT
* * * TESTED ON BTCUSDT 4H CHART * * *
The indicator gives signals based on possible ENTRY/EXIT zones (calculated using an ema ribbon of the BBW) and BB%B oversold/overbought conditions, also a 200 EMA filter is used to trade following the major trend.
ENTRY/EXIT zones can be used as a confirmation on other strategies (green zones suggest a possible entry for a long in an uptrend and for a short in a downtrend, red zones suggest a possible exit for long & short)
Only LONG signals are given.
Signals are divided in 3 categories based on their strenght:
- Weak BUY/SELL (green/red circles on chart)
- normal BUY/SELL (green/red triangles with "BUY" or "SELL" text on chart)
- strong BUY/SELL (green/red labels with "STRONG BUY" or "STRONG SELL" text on chart)
You can use signals from the same category as triggers for entering or exiting a trade or you can try using signals from different categories
All indicators settings can be costumized
Possible EXTRY/EXIT zones can be turned ON/OFF
Every signal label can be turned ON/OFF
EMA that changes color based on last candle close can be turned ON/OFF
Alerts can be set for:
- General Signals (every signal will trigger it)
- Weak Signals (only weak signals will trigger it)
- Normal Signals (only normal signals will trigger it)
- Strong Signals (only strong signals will trigger it)
There are 3 BB%B Oversold & 3 BB%B Overbought value presets:
- BASIC (default values)
- LOW (slightly lower values from default)
- HIGH (slightly higher values from default)
Tips:
Use BB%B OS LOW preset to find entries at a better price
Use BB%B OS HIGH preset to find entries faster
Use BB%B OB LOW preset to find exits faster
Use BB%B OB HIGH preset to find exits at a better price
There are 3 Filters already included:
- A checkbox to toggle ON/OFF the use of Heikin Ashi candels to detect trades
- A checkbox to toggle ON/OFF the use of an ema filter for the ribbon that tries to reduce the number of false signals on over-extended price movements
- A checkbox to toggle ON/OFF the use of an ema filter that tries to reduce the number of false signals when price crosses the moving average many times consecutively
BB+RSI+EMA BUY/SELL SignalsBINANCE:BTCUSDT
* * * TESTED ON BTCUSDT 4H CHART * * *
The indicator gives signals based on candles touching BB lines and RSI oversold/overbought conditions, also a 200 EMA filter is used to trade following the major trend.
Only LONG signals are given.
Signals are divided in 3 categories based on their strenght:
- Weak BUY/SELL (green/red circles on chart)
- normal BUY/SELL (green/red triangles with "BUY" or "SELL" text on chart)
- strong BUY/SELL (green/red labels with "STRONG BUY" or "STRONG SELL" text on chart)
You can use signals from the same category as triggers for entering or exiting a trade or you can try using signals from different categories
All indicators settings can be costumized
Every signal label can be turned ON/OFF
EMA that changes color based on last candle close can be turned ON/OFF
Alerts can be set for:
- General Signals (every signal will trigger it)
- Weak Signals (only weak signals will trigger it)
- Normal Signals (only normal signals will trigger it)
- Strong Signals (only strong signals will trigger it)
Juicy TrendThis script is simple.
It uses EMA and HMA crosses to find entries and exits.
There is an option for sourcing Heikin Ashi based entries/exits.
There is an option for Stop Loss percentage.
It is made for finding Long entries on the 45min chart.
You can optimize the signals by adjusting the moving average lengths.
The default settings are for BTC/USDT 45min.
Suggestion, reduce the Stop Loss percentage for smaller / more volatile assets.
MA&AOThat is quit simple strategy, which combines only two indicators: AO and MA. The logic of trades is also clear, when AO is bullish; slow ma is under the close price; fast ma > slow ma - buy.
Pivot TrackerThis script finds swing lows and swing highs based on input criteria for lookback and lookforward periods, and plots letters accordingly.
Helps identify trend or lacktherof
HH = higher high
LH = lower high
HL = higher low
LL = lower low
MACD + BB + RSI Strategy [Alorse]A very simple and highly effective strategy that combines 3 famous indicators:
MACD
Bollinger Bands
RSI
Entry conditions are:
The MACD line crosses over the signal line.
RSI less than 50
Price below the BB baseline
Exit conditions are:
RSI greater than 70
Closing price higher than the upper BB
Or when the price hits the Stop Loss defined by you (Feature).
Average Highest High and Lowest Low Swinger StrategyThis is a full price action strategy designed for trending markets such as crypto and stocks.
Its purely made on calculations for the highest high and lowest low using 2 different length , a faster and a slower one.
With those we make multiple averages.
Rules for entry:
For long: our close of the candle is above both the average using fast and slow line
For short: our close of the candle is below both the average using fast and slow line
Rules for exit
We always exit when we have an opposite order
Caution
This strategy use no risk management system, so be careful with it
If you have any questions, let me know
Swing Stock Market Multi MA Correlation This is a swing strategy adapted to stock market using correlation with either SP500 or Nasdaq, so its best to trade stocks from this region.
Its components are
Correlation Candle
Fast moving average to choose from SMA , EMA , SMMA (RMA), WMA and VWMA
Medium moving Average to choose from SMA , EMA , SMMA (RMA), WMA and VWMA
Slow moving average to choose from SMA , EMA , SMMA (RMA), WMA and VWMA
Rules for entry
Long: fast ma > medium ma and medium ma > slow ma
Short: fast ma< medium ma and medium ma < slow ma.
Rules for exit
We exit when we receive an inverse condition.
Caution:
This strategy use no risk management inside, so be careful with it .
If you have any questions, let me know !
Trend System Oscillator Averages RatingThis is a trend system made with multiple oscillator averages designed especially for trending markets such as stocks or crypto.
It can be used with any timeframe.
Its made of multiple moving oscillators such as
RSI
Stochastic
ADX
CCI
AO
MACD
MOM
STOCH RSI
WPR
BP
UO
Avg of all oscillators
It has also a rating, making an avg from all of the oscillators , going from -100 (all ma's are telling to go short ) to 100 ( all ma are telling to go long).
If you have any questions let me know !
Traffic Lights Strategy4HS Crypto Market Strategy
This strategy uses 4 ema to get Long or Short Signals
Length are: 4, 9, 18, 100
We take long positions when the order of the emas is the following:
green > yellow > red (As the color of Traffic Lights) and they are above white ema (Used as a filter for long positions)
We take short positions when the order of the emas is the following:
green < yellow < red (As the color of inverse Traffic Lights) and they are below white ema (Used as a filter for short positions)
Enable Long and/or Short Positions in settings
Enable Profit and Stop in strategy settings with different percentage to backtest the strategy. Also if it is better to use a Traditional Stop Loss or a Trailing Stop Loss based on ATR
Change ema filter resolution in settings for better strategy performance
This Strategy was tested on Crypto Market with good results in assets as BTC, ETH, BNB, ADA, LTC, XLM, BCH, among others
Feel free to optimize this strategy, optimizing its parameters. Each asset has its own "personality".
On Balance Volume - Color Packed Patch'emOBV is provided as a built-in by TradingView.
This contribution grew out of reading about trend discovery, and since the library kept on this end was lacking in a volume-centric indicator, it looked like a good time to play around.
This approach isn't all that much different than many others with the possible exception of its color scheme.
Should you decide to use the script, it might be worth your while to work with the logic of color and line, to produce alerts.
Enjoy.
High/Low Channel Multi averages Crypto Swing strategyThis is a swing strategy designed for trending markets such as crypto and stock, with big timeframes , like 8h.
For this strategy we take SMA, EMA, VWMA, ALMA, SMMA, LSMA and VWMA and make an apply them all to both HIGH and LOW separately and make 2 averages, 1 applied to high and the other applied to low.
With them we make a channel.
Rules for entry
For long: close of a candle is above avg applied to high.
For short: close of a candle is below avg applied to low.
Rules for exit
We exit when we either hit TP or SL or when we receive a different condition than the entry one.(long- > short and viceversa)
If you have any questions, let me know !
Percentage Oscillator SwingThe percentage price oscillator (PPO) is a technical momentum indicator.
It shows the relationship between the close of a candle and the highest/lowest point with a specific lenght in percentage terms.
Rules
The higher percentage on the values upwards, compared to those downwards, the higher the power of the bull trend.
The higher percentage on the values downwards, compared to those upwards, the higher the power of the bear trend.
Stock trending strategy This is a long only strategy designed maily for stock markets and futures. In general it works best with 1h, however it can be optimized with other timeframes as well.
Components:
VWAP
MACD histogram
EMA 9
Rules for entry
Long :
For VWAP: close is above the vwap daily
EMA: close is above the moving average
MACD histogram is above 0
Short:
For VWAP: close is belowthe vwap daily
EMA: close is below the moving average
MACD histogram is below 0
Rules for exit
This strategy does not have any risk management inside. Instead it exits whenver it receives an opposite signal form the original one used for entry.
If you have any questions let me know !