SMA_Cross + RSI1. long
a. RSI does not open an order when it is overbought, until the RSI falls below a certain threshold, and then open a position
b. There are already many positions. If the RSI is overbought, it will be profitable. When the RSI falls below a certain threshold, open a long position again until the moving average crossover signal turns short.
2. Short
a. RSI does not open an order when it is oversold, and then opens a position after RSI rises to a certain threshold
b. There are already short positions. If the RSI is oversold, it will be profitable to close the short position. When the RSI rises above a certain threshold, open the short position again until there is a reversal of the moving average crossing signal.
1. 做多
a. RSI在超买区间时不开单,直到RSI回落到某个阈值之下,再开仓
b. 已经有多仓,如果RSI超买,则平多获利,当RSI回落到某个阈值之下后,再次开多,直到有均线交叉信号反转做空
2. 做空
a. RSI在超卖区间时不开单,直到RSI上升到某个阈值之后,再开仓
b. 已经有空仓,如果RSI超卖,则平空获利,当RSI上升到某个阈值之上后,再次开空,直到有均线交叉信号反转做多
Prosta średnia krocząca (SMA)
[BA] Multi Time Frame Moving Averages for BTCThis is a multi time frame moving average script. It includes 7 moving averages. Most of them are SMAs and WMAs but EMA were also used. Time frame was set to 1 day. It means that you can change the time frame of your chart freely without losing your lines. Levels will not change.
I wrote this script just to trade BTC. I prefer daily and weekly charts with this script but lower time frames are also preferable.
Since some of the lengths are too high; older exchanges are recommended due to their relatively deep historical data.
While MA1 is for taking actions like 'take profit' or 'stop loss' or just to follow 'price action' easily, other MAs are for seeing supports and resistances.
MA6 and MA7 are disabled by default in order to minimize the confusion but you can enable them from settings if you need to.
Since some newer exchanges have less historical data, you may not see MA4 and MA5 on the daily chart. In such circumstances MA6 and MA7 might be helpful to use as substitution. Some may like to use all of them.
I am using this script just for BTC but it can be useful for other coins as well.
Tabajara_02MM_Hilo_Vwap_BGD+BAR Color_MACDSetup created to help free TRADINGVIEW users, with only one indicator we have 07 available, allowing the inclusion of others. In this script you will find:
01)Tabajara Setup: with standard moving averages of 20 simple periods;
02) Additional 02 Simple moving averages per default are 09 and 200 periods;
03) Hilo Activator Exponential, by default in 17 periods;
04) Vwap;
05) Background color according to TABAJARA!;
06) Bar coloring according to TABAJARA!;
07) MACD indicated at the bottom of the triangle chart, happening to cross the Oscillator with the Signal, he alerts. You can choose whether to consider Exponential or Simple Values.
=========================================================================================
Setup criado para ajudar aos usuários free do TRADINGVIEW, com apenas um indicador temos 07 a disposição, possibilitando a inclusão de outros. Neste script encontrará:
01) Setup Tabajara: com medias móvel padrão de 20 períodos simples;
02) Adicional de 02 Medias moveis simples, por padrão estão as de 09 e 200 períodos;
03) Hilo Activator Exponencial, por padrão em 17 períodos;
04) Vwap;
05) Coloração do fundo de tela de acordo com o TABAJARA!;
06) Coloração das barras de acordo com o TABAJARA!;
07) MACD indicado na parte debaixo do gráfico com triângulo, acontecendo de cruzar o Oscilador com o Sinal, ele alerta. Pode escolher se considera os Valores Exponencial ou Simples.
Multi Timeframe Moving AveragesThis indicator allows you to view a moving average (EMA or SMA) of your choosing on other time frames than what you are currently on.
The reason I wanted to develop this was for use as a filter. Let's say you wanted to make sure the daily time frame was trading above a certain moving average so you could be sure you were playing with the trend. But you wanted to make your entries and exits on a smaller time frame. This Multi-Timeframe Moving Average indicator can then be used to keep an eye on that daily moving average while looking at the shorter term time frames on the same chart.
Hashem OBV+EMA/MAThe On Balance Volume indicator (OBV) is used to measure buying and selling pressure.
It is a cumulative indicator meaning that on days where price went up, that day's volume is added to the cumulative OBV total. If price went down, then that day's volume is subtracted from the OBV total.
The OBV value is then plotted as a line for easy interpretation. OBV is primarily used to confirm or identify overall price Trends or to anticipate price movements after Divergences .
In addition to OBV, EMA and SMA are included. the EMA is used for Support and Resistances for the OBV. and the SMA is used by its Slope (can be S/R as well).
Direction TradeDirection Trade is a moving average based indicator which combines power of SMA and WMA together.
The Buy/Sell (Arrow) signals comes from the combination of SMA and Hull MAs and works on multiple time frames.
The cross of yellow and blue indicates major trend change on bigger TFs, especially on Daily, these are also highlighted in the background color change.
In addition this indicator also adds power of Ichimoku which uses an optimized settings for crypto.
Easy Read_Combo IndicatorEasy Read is a combo indicator. It is designed to plot,
5 SMAs: 20, 50, 100, 144, 200 (with Golden and Death Cross)
6 EMAs: 21, 55, 89, 144, 200, 377 (with Golden and Death Cross)
2 Bollinger Bands with 1st and 2nd standard deviation and a 'Trend Line'
Cobra Indicator with cobra line and cobra buy/sell signals
Buy and take profit signals based on over bought levels in RSI and STOCH
The indicator is pretty straight forward to use. The buy-sell signal show you long/short entries and MAs will help you decide the take profit zone.
RSI w/ MAs & Divergences (Alert)This script fires off real-time RSI Divergence alerts.
To best use the RSI Divergence indicators, adjust the following settings accordingly.
• RSI Bullish Divergence Under: 20 – 45 (lower for larger volatility and more bearish markets)
• RSI Bearish Divergence Above: 55 – 80 (higher for larger volatility and more bullish markets)
Key Notes:
1. Set "Once Per Bar" instead of "Once Per Bar Close" alert.
The strategy already uses prior bar close (instead of current bar close) for calculation. This ensures that the signals will stay as they are after fired off, even when the current bar price is still changing.
2. It's OKAY to see the "alert may trigger differently than expected" warning.
Reason why you are seeing this warning is because we used a function called valuewhen() in our strategy. This function does not look at the entire history of data and has several limitations. For instance, on a 30min resolution, at the end of 2018, the function will be able to find past occurrences of BTC exceeding 16k. However, the function won't be able to find such occurrences at the end of 2019. Since our strategy is only concerned with very recent events, these limitations will not impact our results or cause repainting. You can find out more about this in the TradingView Wiki .
RSI w/ MAs & DivergencesTo best use the RSI Divergence indicators, adjust the following settings accordingly.
• RSI Bullish Divergence Under: 20 – 45 (lower for larger volatility and more bearish markets)
• RSI Bearish Divergence Above: 55 – 80 (higher for larger volatility and more bullish markets)
THIS SCRIPT DOES NOT REPAINT AND IS COMPLETELY FREE.
Moving Average(MA) CollectionA simple collection of Simple Moving Averages and Exponential Moving Averages. 4 moving averages enabled by default from a total of 10.
Turn MAs on/off and edit the line style/colour via MA Collection settings.
Default Moving Averages and Default Line Styles
21 EMA (Thin, Purple)
50 SMA (Medium, Yellow)
100 EMA (Medium, Dove Gray)
200 SMA (Thick, Radical Red)
Other Optional Moving Averages and Default Line Styles
5 SMA (Thin, Gray)
8 EMA (Thin, Strkemaster)
13 EMA (Thin, Stiletto)
40 EMA (Medium, Rio Grande)
100 SMA (Medium, Silver)
314 EMA (Thick, Olive)
Easy Loot BandsEasy Loot Bollinger Bands:
This indicator is a bollinger band that also auto-generates a trendline, giving you the best opportunities to buy & sell. That's it.
You can use this on any time-frame, any stock, and any cryptocurrency.
Scripting Tutorial B - TManyMA - Commission/FeesThis script is for a triple moving average strategy where the user can select from different types of moving averages, price sources, lookback periods and resolutions.
Features:
- 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually.
- Crossovers are plotted on the chart with detailed information regarding the crossover (Ex: 50 SMA crossed over 200 SMA )
- Forecasting available for all three MAs. MA values are forecasted 5 values out and plotted as if a continuation to the MA.
- Forecast bias also applies to all forecasting. Bias means we can forecast based on an anticipated bullish , bearish or neutral direction in the market.
- To understand bias, please read the source code, or if you can't read the code just send me a message on here or Twitter . Twitter should be linked to my profile.
- Ribbons added and on by default. Optional setting to disable the ribbons. 5 ribbons between MA1 and MA2 and another 5 between MA2 and MA3.
- Ribbons are alpha-color coded based on their relation to their default MAs.
- Ribbons are only visible between MAs if the MAs being compared share the same Type, Resolution, and Source because there is no way to consolidate those three in a simple manner.
- Ribbon values are calculated based on calculated MA Periods between the MAs.
- Converted the existing study into a strategy.
- Strategy only enters long positions with a market order when MA crossovers occur.
- Strategy exits positions when crossunders occur.
- Trades 100% of the equity with one order/position by default.
- Ability to disable trading certain crosses with input checks.
- Ability to exit trades with a take profit or stop loss.
- User input to allow quick changes to the take profit or stop loss percentages.
- Strategy now calculates on every tick
- Strategy also includes fixed commission values based on Coinbase standard order fees
This script is meant as an educational script with well-formatted styling, and references for specific functions.
*** PLEASE NOTE - THIS STRATEGY IS MEANT FOR LEARNING PURPOSES. DEPENDING ON IT'S CONFIGURATION IT MAY OR MAY NOT BE USEFUL FOR ACTUAL TRADING. THE STRATEGY IS NOT FINANCIAL ADVICE ***
Dr_All indicators V1.0Free users have many restrictions on their use in TradingView.
I put together a lot of indicators I use often.
5 moving average
1 parabolic SAR
1 bollinger band
1 ichimoku cloud
(but it's only cloud)
as always
It's open source.
enjoy!
Zone Moving Average Color Direction Detection This indicator generates a zone for a moving average by means of the high and low source of the same average, the moving average should be worked as zones not as a line, by default a simple average of 200 periods is configured, the indicator has direction detection and represents it by the green and red colors, it also has padding with the same characteristic, it is possible to configure the following:
- Type: SMA, EMA, WMA, VWMA, SMMA, DEMA, THEME, HULLMA, ZEMA, TMA, SSMA
- Period / Length
- Source
- Color Direction Detection
Release Notes: Add a field to change the reaction in the change of color and direction of the Media, set to 1 is the fastest, a larger number filters the address better but is slower, 3 is set by default.
Simple 17 Indicator BFThis is an indicator version of my Simple 17 script.
The rules are simple, when the price closes after crossing above the MA, we have a long signal. When the price closes after crossing below the MA we have a short signal.
I have set up alerts that fire upon these crosses, one for long, one for short.
Reliability[UO]This is an SMA based indicator. It gives a sense of long term behavior of the asset to make a reliable trade setup
How reliable is your asset to trade without gambling? Is there a reliable trend?
Is this price dip an opportunity to buy?
Is this price spike an opportunity to sell? Or would you avoid buying now and rather wait a bit for prices to fall down to a more reasonable level?
You can recognize all of those points on this indicator. The best to do is to look at the prices and patterns on the indicator to learn about those points.
RSI with Moving Averages[UO]This RSI indicator is one of my favorite indicators. This powerful indicator is implemented by Phi-Deltalytics. I modified the drawing so that it is easier (at least for me) to see the signals and trends (it would not matter if you're doing algorithmic trading).
Trends and signals. For detailed instructions and tutorial see Phi-Deltalytics page
Scripting Tutorial A - TManyMA - StopsThis script is for a triple moving average strategy where the user can select from different types of moving averages, price sources, lookback periods and resolutions.
Features:
- 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually.
- Crossovers are plotted on the chart with detailed information regarding the crossover (Ex: 50 SMA crossed over 200 SMA )
- Forecasting available for all three MAs. MA values are forecasted 5 values out and plotted as if a continuation to the MA.
- Forecast bias also applies to all forecasting. Bias means we can forecast based on an anticipated bullish, bearish or neutral direction in the market.
- To understand bias, please read the source code, or if you can't read the code just send me a message on here or Twitter. Twitter should be linked to my profile.
- Ribbons added and on by default. Optional setting to disable the ribbons. 5 ribbons between MA1 and MA2 and another 5 between MA2 and MA3.
- Ribbons are alpha-color coded based on their relation to their default MAs.
- Ribbons are only visible between MAs if the MAs being compared share the same Type, Resolution, and Source because there is no way to consolidate those three in a simple manner.
- Ribbon values are calculated based on calculated MA Periods between the MAs.
- Converted the existing study into a strategy.
- Strategy only enters long positions with a market order when MA crossovers occur.
- Strategy exits positions when crossunders occur.
- Trades 100% of the equity with one order/position by default.
- Ability to disable trading certain crosses with input checks.
- Ability to exit trades with a take profit or stop loss.
- User input to allow quick changes to the take profit or stop loss percentages.
This script is meant as an educational script with well-formatted styling, and references for specific functions.
*** PLEASE NOTE - THIS STRATEGY IS MEANT FOR LEARNING PURPOSES. DEPENDING ON IT'S CONFIGURATION IT MAY OR MAY NOT BE USEFUL FOR ACTUAL TRADING. THE STRATEGY IS NOT FINANCIAL ADVICE ***
VRSI-MARSI StrategyI wanted to create an indicator which resembles price movement, aside to volume movement.
The "yellow-blue" line is the MA(5) of the RSI (9) of closing price.
The "orange" line is the MA(5) of the RSI (9) of Volume .
(Default plot of RSI and VRSI is not visible but can be made visible ("Settings" > "Style" > set "Opacity" of "RSI & VRSI"))
The Long (Buy) condition is triggered when the MA(5) of the RSI (9, close) goes up.
The Short (Sell) condition is triggered when the MA(5) of the RSI (9, close) goes down.
Comparing the price movement with the "orange" Volume line helps to spot a possible trend change,
for example when price goes up and an ascending Volume line starts to flatten or starts descending,
this could be a sign that the Bullish trend is weakening, predicting a possible trend change.
Or, when for example a downwards price movement is accompanied with a rising Volume line, this can be a sign of large Bearish power.
Because it still is a RSI indicator, the midline (50), and Oversold/Overbought area's (20-30 & 70-80) are important to watch, especially the MARSI!
A second strategy is made (VRSI-MARSI Strategy 2) where the Long/Short condition is triggered when "MA RSI (close) - MA RSI ( Volume )" crosses.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Long & Short entries, as well as the Entry Close are visible 1 bar after the trigger.
When the blue line changes in a yellow line (and vice versa) it will show a candle earlier (see yellow dashed lines = (1)).
Also, the condition is fulfilled when the candle closes (2), but the order doesn't take place in the same bar, but the next (3).
Because this is a strategy the "actual Order" will not take place at the "Close" of the candle (2), but at the "Open" at the NEXT candle (3).
I also have this strategy as a study (A+B), where the "Buy" & "Sell" shows a candle earlier.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The entries are default 5% of equity, without pyramiding, which already gives large profits.
A large part of the profit is because of the Entry Close of the Long & Short entries.
You can easily turn these off (Settings > Inputs) to see what profit the strategy gives without Entry Close.
Here they are disabled:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
More information available in the script ;-)
Golden Ratio Fibonacci Multipliers Top Detector [UO]Fibonacci levels that show the critical top and bottom levels. There is no way to miss the top and bottom. And a top detector.
Also the most important SMA lines (SMA 50, 200), EMA21. Those are the most frequently used lines by traders.
This indicator is based on the work of www.tradingview.com
His work set me thinking. Could I also see the bottom using Fibonacci numbers? Yes, of course.
My favorite timeframes with this indicator are 6H, 1D, 3D.
Intensively used for BTC and BNB. And useful for any other coin.
[C] SMA multi TimeFrame with Ext. Fib PPThis script adds multi time frame Simple moving Average on a single time frame. It enables you to judge the moving average of a larger period on a small time frame. The added bonus of Fibonacci levels with additional support and resistance points works well with most NSE equity items on a intraday 5 min time frame.
VRSI-MARSI AI wanted to create an indicator which resembles price movement, aside to volume movement.
MARSI (= MA RSI(close)) = "yellow-blue" line which is the MA(5) of the RSI (9) of closing price.
VRSI (= MA RSI(Volume)) = "orange" line which is the MA(5) of the RSI (9) of Volume .
(Default plot of RSI and VRSI is not visible but can be made visible ("Settings" > "Style" > set "Opacity" of "RSI & VRSI"))
Because it still is a RSI indicator, the midline (50), and Oversold/Overbought area's (20-30 & 70-80) are important to watch, especially the MARSI!
Comparing the price movement with the "orange" Volume VRSI line helps to spot a possible trend change,
for example when price goes up and an ascending Volume VRSI line starts to flatten or starts descending,
this could be a sign that the Bullish trend is weakening, predicting a possible trend change.
Or, when for example a downwards price movement is accompanied with a rising Volume VRSI line, this can be a sign of large Bearish power.
This study comes with Bollinger Bands as an assisting tool, it is default made not visible but can be made visible
("settings" > "style" > Set "Opacity" of "basis, upper & lower")
You can see where the MARSI ("yellow-blue" line) crosses the "basis", or bounces off the bands, ...
All this is seen in "VRSI-MARSI B"
"VRSI-MARSI A" contains the alerts:
1) Long/Short = "Triangle UP/DOWN", color: lime/red
Condition: Movement of MA(5) of RSI (9) of price (close )
2) Long2/Short2 = ">", color: lime/red
Condition: Long/Short condition is true for 2 or more bars (= continuation)
3) Long3/Short3 = "•", color: lime/red
Condition: MA RSI (Close) crosses MA RSI ( Volume )
1 or more alerts can easily be disabled if desired (settings > inputs)
Thanks!
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
More information available in the script ;-)
VRSI-MARSI BI wanted to create an indicator which resembles price movement, aside to volume movement.
MARSI (= MA RSI(close)) = "yellow-blue" line which is the MA(5) of the RSI (9) of closing price.
VRSI (= MA RSI(Volume)) = "orange" line which is the MA(5) of the RSI (9) of Volume .
(Default plot of RSI and VRSI is not visible but can be made visible ("Settings" > "Style" > set "Opacity" of "RSI & VRSI"))
Because it still is a RSI indicator, the midline (50), and Oversold/Overbought area's (20-30 & 70-80) are important to watch, especially the MARSI!
Comparing the price movement with the "orange" Volume VRSI line helps to spot a possible trend change,
for example when price goes up and an ascending Volume VRSI line starts to flatten or starts descending,
this could be a sign that the Bullish trend is weakening, predicting a possible trend change.
Or, when for example a downwards price movement is accompanied with a rising Volume VRSI line, this can be a sign of large Bearish power.
This study comes with Bollinger Bands as an assisting tool, it is default made not visible but can be made visible
("settings" > "style" > Set "Opacity" of "basis, upper & lower")
You can see where the MARSI ("yellow-blue" line) crosses the "basis", or bounces off the bands, ...
All this is seen in "VRSI-MARSI B"
"VRSI-MARSI A" contains the alerts:
1) Long/Short = "Triangle UP/DOWN", color: lime/red
Condition: Movement of MA(5) of RSI (9) of price (close )
2) Long2/Short2 = ">", color: lime/red
Condition: Long/Short condition is true for 2 or more bars (= continuation)
3) Long3/Short3 = "•", color: lime/red
Condition: MA RSI (Close) crosses MA RSI ( Volume )
1 or more alerts can easily be disabled if desired (settings > inputs)
Thanks!
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
More information available in the script ;-)