Holyscalp v.3 A MACD 15 min trading strategy,
I set two macd trends that must match in trend direction to be traded,
along with that they must follow the moving average trend set in place
the trades trigger with an atr stop loss indicator "atr+" by zedartoftrading to be exact
It automates fully through autoview/oanda broker
the ma breach settings look back however many bars set in place and see if the bars are closing in opposite trend to the moving average
*TIP get another chart with same forex pair and take and change the candle sticks to heikin candles and set chart to 1D and trade only with that trend for the 15min settings, you can disable short trades by setting the threshold limit to 1 and to disable long trades set threshold to -1
Dec 31, 2021
Release Notes: for my use only
an hour ago
Release Notes: It trades based on these parameters I set in place.
1. The long term macd trend and the short term macd trend must match
2. The atr+ can not be more than 3x the previous atr.
3. It must trade with the trend set in place, I have two moving averages to choose from, to disable the second moving average set it to 1.
4. Don't touch the hammer and star fib level leave at zero, need to code that separately
5. the MA breach looks back a certain amount of bars to try and stop trading while its consolidating. I set at 1:0
an hour ago
Release Notes: Just updated the default settings, Remember they are set for optimization for 15mins but the same rules and parameters still apply to longer time frames, just change the moving averages to your liking if you want to move up timeframes.
M-oscillator
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).
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!
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» - бота, находящихся на одинаковом расстоянии в диапазоне перекрытия цены. Я использую данную стратегию только при торговле в парах к биткоину.
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
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
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!
V0.0_StochRSI_ANGTEST 2, en busca de algo nuevo que pueda encontrar puntos de entrada de compra y venta al 1%
robotrading ZeroCCIIt was not me who authored the strategy. I do not know who the real author of this strategy is. I read about it on wikipedia :) And decided to test the strategy on the cryptocurrency market. It turned out that this strategy really works. The strategy is very simple.
Indicator
CCI indicator with default settings is used. The settings can be changed. Nothing else is used.
Strategy
If CCI is more than 0, then open a long position (and close a short position).
If CCI is less than 0, then open a short position (and close a long position).
Reverse trading.
[Fedra Algotrading Strategy Trailing Stop Version]Simpler version of my popular strategy.Optimized for cryptocurrencies. Originally conceived to trade automatically through bots (that's how I use it), it also works to get signals and trade manually in any exchange.
It works in spot.
Buy the dip:
Attempts to buy on the dip, finding entries when the price makes abrupt dips that break deviation of the linear regression of the last periods.
Trend Detection:
Determines whether the market is in an uptrend or downtrend by crossing 2 SMAs + super trend in different temporalities. This affects the performance of the strategy. It works as a filter to avoid making entries in a downtrend.
% Trailing Stop Loss. The Stop Loss is placed a % below the price and accompanies it in the rises to make the most of an uptrend.
Optionally, you can set up a percentage Take Profit
It allows you to easily configure the backtest period to optimize the parameters for consistent results.
The strategy calculates by default a commission of 0.1% on each trade to make the backtest more "pessimistic".
Includes advanced features for compatibility with different bots platforms in the market.
Risk management by % of equity or by maximum series of losses.
////////////////////////////
Versión más simple de mi popular estrategia, optimizada para criptomonedas. Originalmente concebida para operar automáticamente a través de bots (así es como la uso yo), también funciona para obtener señales y operar manualmente en cualquier exchange.
Funciona en spot.
Compra en la caída:
Intenta comprar en la caída, encontrando entradas cuando el precio hace caídas abruptas que rompen la desviación de la regresión lineal de los últimos períodos.
Detección de tendencia:
Determina si el mercado está en tendencia alcista o bajista mediante el cruce de 2 SMAs + super trend en diferentes temporalidades. Esto afecta al rendimiento de la estrategia. Funciona como un filtro para evitar hacer entradas en contra de la tendencia del mercado.
% Trailing Stop Loss. El Stop Loss se coloca un % por debajo del precio y lo acompaña en las subidas para aprovechar una tendencia alcista.
Opcionalmente, se puede establecer un porcentaje de Take Profit
Permite configurar fácilmente el periodo de backtest para optimizar los parámetros y obtener resultados consistentes.
La estrategia calcula por defecto una comisión del 0,1% en cada operación para que el backtest sea más "pesimista".
Incluye características avanzadas para la compatibilidad con diferentes plataformas de bots en el mercado.
Gestión del riesgo por % del capital o por serie máxima de pérdidas.
The MACDMI T/SLThis is a combined MACD and DMI strategy script with multiple options for targets and stoploss.
Stoploss and targets sizes are ATR based calculations.
Each of these contains a sets an initial ATR based that will close the entire position if hit. From there, differences between them are as follows:
Trailing stop - immediately begins trailing stoploss from your entry. Entire position is closed when hit.
Single Target - closes entire position once target is hit
T1 + Trail - closes half of the position when first target is hit and then begins trailing stop on the remaining position.
T1 + Trail/T2 + Trail - closes a third of the position at T1 and begins trailing a stop on the rest. Will close another third at T2, continue the trailing stop, and close the final third when the stop is hit.
Linear trendSimple way how to use Linear Regression for trading.
What we use:
• Linear Regression
• EMA 200 as a trend filter
Logic:
Firstly we make two different linear regression movings as oscillator. For this we need to subtract slow moving from fast moving, so we get the single moving around zero. This is the green/red line which appears on the chart.
The trade open when LR cross over the threshold. The trade close when LR cross under the threshold below. Crossing over the threshold is the same as faster moving cross over slower moving.
Also we use EMA as a filter. The trades would be only when the price is over than EMA 200.
AlphaPrime - Backtest AlphaPrime - Backtest AlphaPrime - BacktestAlphaPrime - BacktestAlphaPrime - BacktestAlphaPrime - Backtest
P-Signal Strategy & AlertThanks to your advices I removed in this version something that was not necessary for the strategy but added alert and the chart of the current state of the strategy (white 1 - in trade, 0 - out of trade).
01 BB RSI MACD with built-in webhookThis strategy is intended for use as a way of backtesting various parameters available on 3commas.
Using MACD to sell order (original script take profit by scale)
Using RSI to analyze the market conditions.
.
.
// USER INPUTS
Short MA Window - The length of the Short moving average
Long MA Window - The length of the Long moving average
Upper Band Offset - The offset to use for the upper bollinger offset
Lower Band Offset - The offset to use for the lower bollinger offset
Long Stop Loss % - The stop loss percentage to test
Long Take Profit % - The Take profit percentage to test
Initial SO Deviation % - The price deviation percentage required to place to first safety order
Safety Order Vol Step % - The volume scale to test
Input to link with 3comma to automate your bot
3Commas Bot ID -
Bot Email Token - Found in the deal start message for your bot
3Commas Bot Trading Pair - The pair to include for composite bot start deals
when you create alert you need to write {{strategy.order.alert_message}} in the message box.
.
.
Original script:
1. 3Commas Bollinger Strategy by tedwardd
.
.
Suggestion use with trending pair, SAND, MANA and many altcoin in low tf