TFO + ATR Strategy with Trailing Stop LossThis strategy is an experiment to learn what happens when The Trend Flex Oscillator (by Dr. John Ehlers) is used in conjunction with a volatility indicator like ATR. It was designed with cryptocurrency trading in mind.
The way I coded this experiment makes it unsuitable for bear market conditions.
When applied to a bull market, this trend-following strategy will open long positions when oversold price action appear to be reversing. It will typically close a position within a few days unless it gets caught in a bear market, in which case it holds on for dear life. I have tried to make back-testing very simple, but you should never trust it. It's merely and interesting tool for adjusting the many parameters that I've made editable in the configuration window. Those values include the ATR and TFO parameters, as well as setting a trailing stop loss. When closing a position, the strategy can optionally be told to ignore the trend analysis and only obey the trailing stop loss value. I've made an attempt to allow the user to define the minimum profit necessary to allow the strategy to close all all positions. In my observations, the 2H candlestick charts seem to produce the best results, although the parameters of the strategy could theoretically be adjusted to suit other time periods.
In summary...
This strategy has a bias for HODL (Holds on to Losses) meaning that it provides NO STOP LOSS protection!
Also note that the default behavior is designed for up to 15 open long orders, and executes one order to close them all at once.
Opening a long position is predicated on The Trend Flex Oscillator (TFO) rising after being oversold, and ATR above a certain volatility threshold.
Closing a long is handled either by TFO showing overbought while above a certain ATR level, or the Trailing Stop Loss. Pick one or both.
If the strategy is allowed to sell before a Trailing Stop Loss is triggered, you can set a "must exceed %". Do not mistake this for a stop loss.
Short positions are not supported in this version. Back-testing should NEVER be considered an accurate representation of actual trading results.
// portions © allanster (date window code)
// portions © Dr. John Ehlers (Trend Flex Oscillator)
This code is provided for educational purposes only. The results of this strategy should not be considered investment advice.
The user of this script acknowledges that it can result in serious financial loss when used as a trading tool
متذبذبات
DIDI Index Backtest [loxx]DIDI Index Oscillator with Zero-line cross signals, continuations, and Baseline filtering
Indicator developed by Brazilian and analyst Odir Aguiar (Didi), consists of "Moving Averages", known for the famous needles Didi, which allows the visualization of reversal points.
Backtest for the following indicator:
Features
-Includes the following moving averages
ALMA
EMA
DONCHIAN
EAEF
EDSMA
EECEMA
EMA
EPMA
FRAMA
HMA
INSTANT
JMA
KAMA
Kijun v2
LSMA
MAMA
McGinley
MF
RMA
SMA
SSMA
T3
TEMA
TRIMA
VWMA
WM
ZLEMA
-Baseline filtering internal to indicator
-Has logic to account for Post Signal Baseline Crossover (PSBC) rules
-Has both short and long regular and continuation signals
-ATR-based stop loss and take profits
-1-3 take profit settings
-Moving stop loss after take profits
Ridicoulous Algo v1We present you a newly developed Indicator!
In this strategy we use a combination of two setups to catch the highs and lows and follow the right direction at all times. We also take data from the price action from a second source, which can be chosen in the dropdown menu or via plain text (Cryptocap:BTC, Cryptocap:BTC.D etc).
The oscillator is based on a baseline of 50, where below 50 is bearish and above 50 is bullish. The signal itself is filtered by an EMA so we don't get sell signals in uptrend and vice versa. The data from the second source gets represented as a channel so we can print it like an oscillator. The take profit/stop loss is chosen with an amount in %. The signal line is a mix of the SMA and the EMA.
The backtest result shown is simulated with using 20% of the capital and a 5x leverage trading Avax Futures on Binance.
Please be aware that past results are no guarantee for future performance!
The alarms come as an AiO (All in one) alarm with SL and TP's that can be predefined.
With the right setup you can easily create very strong strategies on many different pairs!
And we are here to help you find them...
Here are some setups we actually got
prnt.sc Cotiusdtperp
prnt.sc BTCusdtperp
prnt.sc ETHusdtperp
prnt.sc BTCPERP
prnt.sc LTCUSDTPERP
Please be aware that past results are no guarantee for future performance!
5212 EMA Strategyver 01
23 December 2021
This strategy using :
- 3 EMA period 50, 100, 200
- stochastic RSI slow
Long Cond :
- Stochastic RSI cross below 20
- EMA 50 > 100 > 200
Short Cond :
- Stochastic RSI cross above 80
- EMA 50 < 100 < 200
Sleeping Mode
- EMA 50 between EMA 100 & EMA 200
P-Signal Strategy RVS.For Christmas and New Year,
for P-Signal users - the PINE code of a reverse (trigger) strategy!
Strategy parameters.
==================
1. Cardinality – the number of points (from 4 to 200) that make up a set of elementary events (bar). This is the main parameter that determines success.
2. |ΔErf| - a size of the Δ region (from 0 to 1) of the error integral near zero. Helps save on commissions.
3. Observation time – the deputy speaks for himself.
NB: In the strategy, process_orders_on_close = true, order executes after a bar closes and strategy calculations are completed. Also Barstate.isconfirmed, i.e. the script is calculating the last (closing) update of the current bar.
Usage advice.
============
Set your exchange commission (0.2% by default). Start your search by increasing the parameter Cardinality. If in the Performance Summary two parameters Net Profit and Commission Paid are of the same sign and order, you are in luck, you have found a suitable probabilistic space. Further, you can reduce the losses from the commission using the parameter |ΔErf|.
Do not forget to publish the idea, for example: P-Signal Strategy RVS: BTCUSDT 1h (16, 0.05).
Note.
=====
P-signal is theoretical. It works in a probabilistic space endowed with energy (entropy).
MATIC/USD 1H Bot for 3commas (works w/o 3commas too)This is a MATIC/USD or USDT specific implementation of my BNB/USD 1 hour bot. It should work out of the gate correctly for MATIC, at least based on what has been happening with it for the past seven weeks. You can fiddle with the following settings using the gear icon:
Fast and slow MACD length
The decision to use RSI thresholds as requirements for buys and/or sells, as well as the chart timeframe to use for that (make sure you use the same timeframe as your chart or a higher timeframe. You don't want to use a 1m RSI on a one hour chart but you can use a 4 hour RSI on a 1 hour chart with no issues.)
Buy and/or sell RSI threshold limits
Trailing stop loss %
Start date (for backtesting, I usually leave mine with 1-2 months trailing as those are usually better indicators than how they would have performed over the past few years)
Stress levels
Moving Average length and type
Linear regression amount
The gist of this bot is that it will use a smoothed EMA to make informed buys and sells. The smoothing prevents most noise from affecting your orders. It also allows you to set a trailing stop loss. If you don't want to use this feature set the value to 100 and it will effectively disable it.
Finally, you can disable RSI threshold point visibility. This won't affect bot operation, it just makes it cleaner to look at on your chart. Disabling RSI buys or sells will also disable visibility.
This bot takes a shotgun strategy to buys and sells. It makes a lot of buys and the majority of them are closed with little to no movement up or down. However, the ones that are profitable make a LOT as you will see once you start testing.
I make the full version of these bots available (though the script is protected) so users can test them, however if you want to use it with 3commas you will need access to the full script. Message me if you want the code and we can figure something out.
Multiple Timeframe RSI Bot for 3commas (works w/o 3commas too)Overview
A few days ago I wrote a new RSI-based strategy. The idea was that you could set up buy and sell RSI thresholds and when RSI crossed that threshold it would make a buy or a sell depending on which one it hit. It worked very well on multiple coins that I tested. I then started to think that maybe there was a better way to execute this concept using multiple timeframe RSIs and this bot represents that idea. It is better and more versatile than the previous bot in every single way. In fact at this point I think this is my most elegant bot to date. It's not as flashy as my other scipts but it is an extremely reliable performer and comes with lower risk than some of my other more outlandish automated trading ideas.
Concept
This script monitors the RSI of all timeframes you have picked in settings and displays chosen values on your chart. It defaults to 5m, 15m and 30m enabled with the rest of the timeframe options disabled and it will only show the RSI chart of timeframes you are currently using. You can specify one or more (in any combination) from the following list:
1m
5m
15m
30m
1h
4h
1d
1w
On each bar it checks each timeframe's RSI value to see if it is is lower (for a buy) or higher (for a sell) than the respective threshold you have picked in settings for that timeframe. On any given bar if enough of your used RSI values are above or below their respective thresholds to be equal to or greater than your set Number of Thresholds for Buy value a buy or sell is executed. In other words, when the number of total (different timeframed) RSI buy thresholds currently met is equal to or greater than the Number of Thresholds for a Buy value you set in settings, a buy is placed. Similarly, when the total number of differently timeframed RSI sell thresholds currently hit is equal to or greater than the total sell threshold you have in settings, a sell is placed.
I have had the best results using 5m, 15 and 30m together with the total threshold value for both buys and sells set to three which is what I left as the default. However, there are limitless ways to use this and I'm sure that over the coming months I will come up with some more creative ways to use it. Please experiment a bit and if you feel like sharing you can comment on this page as to what you find works best.
Like all my scripts this includes a date backtester. I have the start date set to Nov 1, 2021 because I feel you should never backtest a new strategy on older data if you don't specifically have a reason to do it. You likely won't get reliable results, hence the date selector.
Settings
Number of Thresholds for Buy
This is a global setting. You can use any positive whole number here that is one or greater. If it is set to one, one or more of the RSI thresholds you have selected for each chart timeframe will need to be lower than the RSI threshold value you have set for that particular timeframe's settings and once that happens the bot will buy. For example, if I have this value set to (1) and I am using a 5m, 15m and 30m chart, a buy will be placed on the first bar that any of these RSIs drop to below the respective value you have set for them in settings. If I have it set to two in the same scenario, I will need at least two RSI values to be below their respective thresholds. Since each RSI value is set separately you have a ton of creative options here. I refer to the number of currently met RSI buy thresholds per bar as 'buy count' going forward in this document. The buy count resets to zero each bar which means they will all need to be met on the same bar. You will need to make sure this setting is equal to or less than the number of differently timeframed RSIs you are using or it won't ever buy. For example, if you are using only a 5m and 15m RSI but I have the Number of Thresholds for Buy set to three it will never make a buy because you will have at max two thresholds met.
Number of Thresholds for Sell
This is the same concept above except for sells obviously. I chose to make these independent for maximum flexibility but you can obviously use the same value for both if you'd like. I refer to the number of currently met RSI sell thresholds as 'sell count' for the rest of this document. You will need to make sure this number is equal to or less than the number of differently timeframed RSIs you are using or you will potentially get a buy but never a sell. Use the backtester to figure this out or message me if you get stuck.
Display Multi RSI Table?
This will show you all of the available RSI settings that are currently in play. Note that only timeframes which are equal to or higher than your current TradingView chart timeframe will be accurate. This is due to the fact that these values are looked up once per bar, so if you are set to a 1h chart you won't get 5m values every 5m, instead getting the 5m RSI once per hour. For best results set your chart to the lowest timeframe that you have enabled from the options below this.
Use XX RSI?
This turns a particular timeframe's RSI off and on. If you turn it off it will disappear from the chart and its thresholds won't be applied to the strategy.
XX RSI Length
You can set the RSI length for each timeframe you want to use separately. The default value is 14.
XX RSI Buy / Sell Threshold
These are all also set separately for each timeframe. Any time XX timeframe's RSI is below the Buy Threshold for that timeframe it will increase the buy count by +1 for that bar. Since the count resets to zero each bar, you will need to have at least your Number of Thresholds for Buy worth of RSI values below their respective thresholds on any given bar for a buy to happen. The opposite is true for sells.
Usage
For each timeframe you pick you will also need to set a buy and a sell threshold. I have the defaults set to 30 and 70 which is pretty standard but you should experiment and see what works best for you. Each individual timeframe has its own buy and sell threshold which makes this script about as customizable as you want it to be.
Set your chart to the lowest timeframe that you are using, ie if you are using 1h, 4h and 1d use a 1h chart. If you are using 5m, 15m and 30m use a 5m chart. You need to do this because it will only refresh each RSI on the interval your chart is set to, so if you have 5m, 15m and 30m but use a 1h chart the strategy will basically lose most of its effectiveness because there should be twelve different 5m RSI values in each hour but you will only recalculate once every hour since your chart is set to one hour, and will therefore only get one 5m value, one 15m value and one 30m value per 1h bar. If you don't understand this just trust me and set it to the lowest timeframe you are currently using.
I didn't put a stop loss in this version but I will in the next update.
I think that's about it! If you have questions please ask. I give access to this script away for free for testing but in order to use it with 3commas you will need the entire script. Message me if you want it and we can figure something out.
TTMW : Trend-Following HLR V1.2Authored by Kuntanut - To The Milky Way
HLR Strategy :
HLR Strategy is developed from the HLR Indicator. HLR Strategy is the trend-following strategy, bases on the logic to follow the long position when the market is considered to entry the overbought area which means the assets is in the investor interested, and the fear-of-missing-out might be occurred, and the price will be driven to the moon.
The calculation of the HLR is modified from RSI indicator, the sources of high and low is replaced the close source in calculation. The EMA, WMA is replaced the RMA in the method of the calculation.
Entry Condition : The HLR indicator crosses the overbought area.
Close Condition : The HLR indicator crosses the oversold area.
* The Strategy is modified to use in 1D Timeframe.
TENKAN BOLTTENKAN BOLT
7 major point in this indicator are as follows :-
•Tenkan-sen
•Ichimoku Cloud
•Exponential Moving Average
•Change of Volume Analysis (calculated in background)
•Modified Keltner Channel (calculated in background)
•RSI Divergence (calculated in background)
•Entry and Exit Point
www.tradingview.com
There will be 2 types of Long entry alert and 2 types of Short entry alert.
•The first one is marked as "Long" or "Short" only which indicates the signal calculated by Keltner Channel, Tenkan-sen and change of volume in sudden time.
•The second one is marked as "Long Divergence" and "Short Divergence" which indicates signal by RSI Divergence in my own way (not aggressive).
The idea of this script is only trade the highest probability setup and I shall call it the "High Probability, Probability Trading". This is definitely not a buy or sell call as the idea of the script is to give a good direction for trader and to learn the high probability trading setup which includes the volatility of the market.
This script specifically created for Futures Crude Palm OIL (FCPO) market and may works differently in different market. It works great in 1 minute time-frame and 3 minute time-frame
(with slight adjustment).
Kindly contact me for usage. Thanks!
RSI-based strategy for MATIC on 3commas - uses a 15m chartI looked all over TradingView and could not find a script that specifically does this so I wrote one. It's not complicated but it works pretty well. Essentially the concept is that you specify two RSI values: a buying threshold and selling threshold. The indicator will make buys based on RSI crossing your buy threshold and sells based on it crossing your sell threshold.
You can change the actual RSI parameters though I have found it works best with the default settings I have listed. It is set for a 15m MATIC chart but you can use it with anything on any time period but you will need to modify the thresholds and check the backtester if you use it on anything other than a 15m MATIC chart.
There is also a date range selector so you can test it over a specific time period. I typically use the past 1-2 months to get a good feel for if the settings I have picked work well in current market conditions.
It also functions as a regular RSI indicator so if you use this you probably don't need to apply any other RSI indicators to your chart.
I have made the indicator usable so that you can test it out manually to verify that it works as expected and if you want access to the script itself (to enable automated trading on 3commas) please message me and we can work something out.
In the future I might add some extra settings to this like a smoothed EMA so you can make more discerning buys, it depends on how many people contact me for the full script.
EMA Cross + Divergence strategy (Div. signals by The Divergent)A sample strategy demonstrating the usage of The Divergent divergence indicator and The Divergent Library .
The Divergent is an advanced divergence indicator which you can easily incorporate into your own strategies.
In order to use this strategy (and to use the signals in your own strategy), you need to have the Pro version of The Divergent applied to your chart.
For more information, please see the comments inlined in the code.
Up & Down Trend Trading Strategy - BNB/USDT 15minThis strategy will focus on up trend trading and down trend trading based on several indicators such as;
for up trend
1. SAR indicator
2. Super trend indicator
3. Simple moving average for the period of 100
down trend
1. RSI Indicator
2. Money flow index
3. Relative volatility index
4. Balance of powder
3RSI 3CCI BB 5orders DCA strategy+This strategy is just an attempt to find the indicator values for the trading bot service that I use (link in profile). Due to the use of the “request.security” function in the code, the indicators can be redrawn, but this is not important in history. The strategy used only 5 orders for the "DCA" - bot, located at the same distance in the price overlap range. I only use this strategy when trading in pairs against bitcoin.
Эта стратегия – просто попытка подобрать значения индикаторов для сервиса торговых ботов, который я использую (ссылка в профиле). Из-за использования в коде функции «request.security» возможна перерисовка индикаторов, но на истории это не важно. В стратегии использовано всего 5 ордеров для «DCA» - бота, находящихся на одинаковом расстоянии в диапазоне перекрытия цены. Я использую данную стратегию только при торговле в парах к биткоину.
Zendog V3 backtest DCA bot 3commasMAJOR UPDATE:
- Update to Pinescript v5
- MAJOR refactor for the logic of how orders are placed. BO order is placed when the condition is first encountered and we are not in a deal.
The extra SO orders (if based on price movement) are all placed on the next candle after BO order, instead of each being placed one after another.
Take profit (if percentage) and Stop loss are placed on the first candle after BO order because if BO and TP are on the same candle TV does not execute properly.
These changes should improve strategy accuracy when multiple prices are hit by the same candle.
- NEW FEATURE: Support to Stop deal using an external indicator (i.e. stop long deal when RSI > 80)
- NEW FEATURE: Support to trigger Safety orders using an external indicator (i.e. trigger each additional SO when RSI < 10, regardless of price movement)
The price movement logic may be implemented in the indicator that plots start / end signals. The SO size is calculated using the configuration of steps.
- NEW FEATURE: Safety order command for 3commas bot. This is implemented using Add funds in the quote currency (for pair BTCUSDT the quote currency is USDT)
The SO size is calculated using the configuration of steps, for exact order size (and price) use the built-in Steps table.
- NEW FEATURE: Addition of extra columns to the steps table: Required price for TP, Required % change for TP, Required % change for BEP (Breakeven point)
- Update to steps table to remove prices when Safety orders are not based on % price change
- The code is opensource. I will not be able to sustain merges for the script, but feel free to use and develop your own version and ping me on discord to review them
and maybe include in the original script
Supertrend Oscillators w/ MAs Backtest [loxx]Backtest for the following indicator:
Features
-3 selectable TPs with ATR
-Adjustable ATR and TPs levels
-Show shorts shorts or longs
-date ranges
Instructions:
-When you select the % per TP you must make sure they add up to 100% between the ones selected or no data will show
-Used to backtest corresponding indicator linked above
Future updates:
-Add lines for TPs and SL
Contrarian Scalping Counter Trend Bb Envelope Adx and StochasticContrarian Scalping is an trading strategy designed to take advanted of a counter-trend.
The advantage of these strrategies types is that they have a good profitability but with do not great gain (in relation at the time frame).
Indicators used:
Bollinger
Envelope
ADX
Stochastic
Rules for entry
For short: close of the price is above upper band from bb and envelope, adx is below 30 and stochastic is above 50
For long: close of the price is below lower band from bb and envelope, adx is below 30 and stochastic is below 50
Rules for exit
For short: either close of the candle is below lower band of bb or enveloper or stochastic is below 50
For long: either close o the candle is above upper band of bb or envelope or stochastic is above 50
If there are any questions let me know !
RSI Average Swing BotThis is a modified RSI version using as a source a big length(50 candles) and an average of all types of sources for candle calculations such as ohlc4, close, high, open, hlc3 and hl2.
In this case we are going to use a 0-1 scale for an easier calculation, where 0.5 is going to be our middle point.
Above 0.5 we consider a bullish possibility.
Below 0.5 we consider a bearish possibility.
I made a small example bot using that initial logic, together with 2 exit points for long or short positions.
If there are any questions, let me know !
TEWY - Magic Strength Indicator (SI) ScreenerDetail about this indicator
This is screener to identify outperforming Stocks/Ticker based on the indicator "TEWY - Magic Strength Indicator (SI)" I deployed earlier. So please checkout that indicator description to understand more about this screener logic.
Below are the parameters that you may need to use to get outperforming indices/tickers.
1. Screener Set Name :
• Here you can see few of the predefined Index/Ticker sets i created, which you can use to screen Index/Ticker.
• If you select Set for 'Indices' you will get the list of Indices which are out performing NSE:NIFTY. Once you know which index is outperforming, then select the Set for that Index which I already given in the dropdown. That you will get the list of outperforming stock under that index.
• If you want to see all scripts of selected Sector Index that are outperforming NIFTY and may or may not be be outperforming Sector index, then please uncheck the box for "Outperforming Child Index Also". This will get you all the list of Stocks/Tickers which are outperforming Main Index NIFTY.
• If you want to see out-performers for specific period of time then change "How Many Outperforming Candles/Bars" as per your choice
• If you want to see under performers for Short trades then select "Find Short Trades" checkbox
• If you want to see the scripts which are just changed there signal then select "Latest Only" checkbox
Always respect RISKS and follow stop loss. In market stop loss is the only friend of yours.
I have given a sample illustrational image below, which should help you understand this indicator.
Best of luck
Conservative scalping incomeThis fully automated scalping strategy aims for an 10-12% annual return using LONG positions only (i.e. no SHORTs), with 2 to 1 number of winning trades and 1.5 to 1 avg win amount vs avg loss amount. It should generally make from zero to four trades per day depending on market conditions. It should remain in a position for roughly an hour. It leverages numerous indicators, including multiple moving averages, ADX, and MACD.
Note that this strategy does not try to time tops and bottoms. Rather it waits to clearly identify a trend, and then rides that trend for a short while making a defined profit. Thus it may enter and exit a trade under profitable conditions, but not at the most profitable conditions possible. It gets in when it's sure of the trend, and then generally leaves that trend as soon as a defined profit is made or before a meaningful loss is incurred.
This strategy will work well with any index (e.g. SPY) and most stocks. It works best on a five minute time interval and when the index or stock is either generally increasing over time or bouncing back and forth between a medium to wide range.
RSI %b Signal [H1 Backtesting]-----------------------------------------------------------------
This simple strategy base on RSI, EMA, Bollinger Bands to get Buy and Sell Signal with detail as below:
-----------------------------------------------------------------
1.Define Oscillator Line
+ Oscillator Line is smoothed by ema(28) of RSI(14) on H1 Timeframe
2.Define Overbought and Oversold
+ Apply Bollinger Bands BB(80,3) on Oscillator Line and calculate %b
+ Overbought Zone marked above level 0.8
+ Oversold Zone marked below level 0.2
3.Buy Signal
+ Entry Long Position when %b crossover Point of Entry Long
+ Deafault Point of Entry Long is 0.2
+ Buy signal marked by Green dot
4.Sell Signal
+ Entry Short Position when %b crossunder Point of Entry Short
+ Deafault Point of Entry Short is 0.8
+ Sell signal marked by Red dot
5.Exit Signal
+ Exit Position (both Long and Short) when %b go into Overbought Zone or Oversold Zone
+ Exit signal marked by Yellow dot
-----------------------------------------------------------------
Joint Conditions Strategy Suite + TradingConnector alerts bot"Please give us combined alerts with the possibility of having several conditions in place to trigger the alert." - was the top voted request from users under one of the recent blogposts by TradingView.
Ask and you shall receive ;)
TradingView is a great platform, with unmatched set of functionalities, yet this particular combo of features indeed seems not to be in place. Fortunately, TradingView is also very open platform, thanks to PineScript coding language, which enables developing combos like the requried one and plenty of other magic.
I have already published numerous "educational" scripts, showing how to code indicators and alerts with PineScript, but... this is not one of them. This one is for real. READY FOR USE on real markets, also by the non-coding traders. Just take my script, set parameters with dropdowns, backtest the strategy, fire the alerts and execute them.
HOW TO USE IT
In "Settings" popup I tried to mimic the CreateAlert popup dropdowns for selecting logic. Let's say you want to enter Long position at Stochastic KxD crossover. In first line of Long Entry conditions set "StochK" + "Crossing Up" + "StochD". Last field doesn't matter because in 3rd dropdown something else than "value" was selected. In second line you could set "maB" + "Greater Than" + "maC" to filter out those entries which are in direction of the uptrend. And yeah, add ADX>25 to make sure the market is actually moving: "ADX" + "Greater Than" + "value" + "25". All condition lines must be TRUE (or skipped) for the entry to be triggered. Toghether with an alert.
The same for Short entries. Combinations are limitless.
INDICATORS AND MTF (MULTI-TIMEFRAME)
In those dropdowns you can select candle values like open/close/high/low/ohlc4, but also some most popular indicators, which I have pre-built into this script: RSI, various Moving Averages, ADX-DMI, Stochastic and Bollinger Bands for start. You can configure parameters of those indicators also in "Settings" popup, in "Indicator Definitions" section. What's important, you can use any of these indicators from higher timeframe, setting MTF multiplier. So if you applied this indicator to 1h chart, but want to use rsi(close,14) from 4h chart, set MTF to 4. If you want to use current timeframe indicators, keep MTF at 1, which is a default setting here.
Note for coders: to keep focus of this script on joining conditions, entire logic for those indicators has been moved to external library, also open source. I encourage you to dig into the code and see how it's done. I love the addition of libraries concept in PineScript.
CUSTOM INDICATOR
Following the "openness" spirit of my master - which is TradingView itself - my work is also open, in 2 ways:
1. This script is open source. So you can grab it, modify or add any functionalities you want. I cannot and don't want to stop you from doing that. I'm asking for only one favor - please mention this source script in your credits.
2. You can import the plot (series) from any other indicator on TradingView. In Settings popup of my script, scroll down to "Indicator Definitions" section, and select the series of your choice in the first dropdown. Now it is ready to use in conditions dropdowns on top of the Settings popup.
Let me give you an example of that last scenario. Take another script of mine, "Pivot Points on SR lines DEMO". You can find it in "Indicators & Strategies" library or here: (). Attach it to your chart. Now come back to THIS script, open Settings popup and in "Custom Indicator aka Imported Source" select "Pivot Points on SR lines: ...". The way it works - it detects if a pivot point happened on Support/Resistance line from the past and returns 1 for PivotLow and -1 for Pivot High. Now in first Long Entry condition set: "custom indicator" + "Greater Than" + "value" + "0" and long entries will be marked on every pivot low noticed on Support/Resistance line.
ALERTS
Last but not least - the alerts. This script produces alerts on the entries calculated by strategy logic, as marked on the chart by the backtester. Moreover, syntax of those alerts is already prepared and fully compatible with TradingConnector - alerts executing tool (bot), if you want to auto-execute those trades. Apart from installing the tool, you need to set
up the alerts in TradingView, here is how:
open CreateAlert popup
in first dropdown select "Joint Conditions Strategy Template"
in second dropdown select "alert() function calls only"
And that's all. You only need to set one alert for the whole script, not one for Longs and one for Shorts as it was in the past. Also, you don't need to setup closing alerts, because stop-loss/take-profit/trailing-stop information is embedded in the entry alert so your broker receives it as early as possible. Alerts sent will look like this: "long sl=40 tp=80", which is exactly what TradingConnector expects.
Phew, that's all folks. If you think I should add something to this template (maybe other indicators?) please let me know in comments or via DM. Happy trading!
P.S. Pyramiding is not supported in this script.
Disclaimer : I'm not saying above combination of conditions will make you money. Actually none of this can be considered financial advice. It is only a software tool. Use it wisely, be aware of the risk and do your own research!
Premium ScalperThe strategy works with a combination of a number of different factors, including:
- Volume
- Moving averages
- Volatility
- RSI
This strategy generates long and short signals based on volume movements, moving averages and RSI. By combining other algorithms, low volatility periods can be filtered out.
The best results can be achieved by pairing the indicator with a bot through 3Commas and using a diversification strategy. This way you spread your risk over different pairs and you therefore also have a great chance of taking big moves.
The strategy results we display are results WITHOUT leverage. It is therefore also possible to only long on spot with this strategy, but for optimal results a trading bot link is required.
The settings we have used for these results are an order size of 100% with a 0.08% commission size.
Side note: This indicator does NOT use repainting!
We offer the possibility to try the indicator for free for 7 days.