Golden Swing Strategy - Souradeep DeyThis strategy is developed by Mr. Souradeep Dey. Strategy is based on RSI, Stoch, BB & Supertrend.
Coding by Rajkumar
Indicators and strategies
The strategy example. Close position by timeoutThis is an example how to close open entries by timeout for educational purpose.
Kahlman HullMA / WT Cross StrategyA strategy created using Hull Moving Average and WT Cross .
Hull Moving Average turns green and WT Cross crossover this is a long. Otherwise short.
Stop Loss and Take Profit settings are available. You can set it to the level you want or turn it off.
According to my measurements, it shows the best performance in the 4-hour period. But you can find the best settings that are correct from the Strategy settings.
VOLLY PRICE CONVERGETriggers:
Long = Price and Volume ma's move up
Close trade = crosses ma, volume and price move in different directions
MadriEsta estrategia fue creada por mi, basándose en el indicador bollinger bands+rsi y una ema , forexstrategiesresources me lo pasó a codigo y despues fue publicado en ChartArt y en la pagina web de forexstrategiesresources.
Ahora este script lo he modificado para optimizarlo para BTC /USDT en la temporalidad de 1 hora, os invito a ir cambiando temporalidades y valores para conseguir la mayor rentabilidad y, al igual que yo lo publico en codigo abierto os invito a que pongáis vuestros ajustes en los comentarios.
Los ajustes que se pueden cambiar para buscar mayor rentabilidad son en primer lugar "lo que se puede cambiar desde el mismo grafico" los valores "A" y "B".
Además, en el codigo el valor "RSIoverSold" y el "RSIoverBought" por mi experencia con menos de 30 no suele ir bien y con mas de 70 tampoco, el rango adecuado es de 29 a 49, incluidos.
Yo no he trasteado mucho pero también os invito a cambiar la fuente de entrada de "close" a "high", "open", "low"...
Recomiendo para la configuración ACTUAL mismo símbolo, mismos valores operar las señales Short cuando el precio este por debajo de la EMA de 900 y operar las Long cuando este por encima.
En otros símbolos la cosa cambia, hay que adaptarlo a cada cosa.
multiple orders - strategy - educationalHi,
Here is a 'template', using array's, for multiple orders and different SL/TP levels per trade (This is an example with max 5 open trades)
The 'switch' makes sure that the first available position will be used,
for example, when 'L1' is closed in the past, and a buy condition is triggered, position 'L1' will be filled,
should it be that 'L1', 'L2', 'L3' are already filled, then position 'L4' will be filled, ...
An extra table is added with data of the trades
Be aware, the 'Buy and Hold' resembles the profit when 100% of the available equity has been bought at the time of the very first trade and sold now. On the other hand, the positions work with a % of equity, 20% per trade (5 x 20 = 100%)
You can see that every trade exits on its own terms, without interference of other trades
Important, this technique only works if in the strategy() function:
- close_entries_rule -> set at 'ANY'
- pyramiding is set at max amount of trades or higher (in this case 5 or higher)
Cheers!
RSI Strategy Professional ХомячелоХз чим відрізняється. Його лекго використовувати, треба підшаманити пару параметрів і все. Використовую для ринку крипти і норм трейдиться. Індикатор дає сигнал і я зразу залітаю на всю котлєту куди він каже.
[2021] SISIv SCALPER V1/0script of a scalping crypto strategy
aim to capture very short reversal on low timeframe
Relative Strength Index - MayurRSI backtesting long only portfolio builder.
only for investing at cheap valuations
Top 40 High Low Strategy for SPY, 5minThis strategy is developed based on my High Low Index SPY Top 40 indicator
Notes:
- this strategy is only developed for SPY on the 5 min chart . It seems to work with QQQ as well, but it isn't optimized for it
- P/L shown is based on 10 SPY option contracts, call or put, with strike price closest to the entry SPY price and expiry of 0 to 1 day. This includes commissions (can be changed). This is only an estimate calculated using an arbitrary multiplier factor, this can be changed in the setting
- P/L is based on $5000 initial capital
- Works with both regular / extended trading session turned on/off. However, max drawdown is 1/2 with extended trading session ON
- there is still a bug that doesn't allow alert to be created due to calculation error, will update once fixed
This strategy combines signals from the following indicators to determine entry signals:
- High Low Index SPY Top 40
- MACD
- Linear Regression Slope
Entry signal is triggered when:
- High Low Index line crosses the EMA line
- MACD trending in the same direction
- Linear Regression slope is accelerating above a threshold in the same direction, indicating a strong trend
Profit target(PT) and stop loss(SL) are determined using ATR value, with 2:1 Reward to Risk ratio as default.
Exit signal may be triggered prior to PT or SL trigger when:
- High Low Index SPY Top 40 shows a reversal after overbought or oversold conditions (optional)
- Opposite entry signal is triggered
There are a number of optional settings:
- Turn on/off "option trading", P/L will be calculated using share price only without multiplication factor for trading option contracts
- # of options per trade, default to 10
- Reinvest with profit made
- Trade with trailing SL after PT hit
- Take profit early based on Top 40 overbought/oversold
- Trade 0/1 day expiry. This will signal exit by the end of the day on Mon/Wed/Fri, and only exits 1/2 of positions (if in profit) on Tues/Thurs
- Can reduce the SL level without impacting PT
- No entry between 10:05 - 10:20 (don't ask me why, but statistically it performs better)
Consider donating me some of your profit if you make $$$ hahaha~ ;)
Enjoy~~
Triple ThreatThis indicator provides buy and sell signals for Bitcoin based on confluence from well-known momentum, volatility, and trend indicators. It has successfully captured the major directional trends on Bitcoin's daily chart since 2018, and the settings are currently optimized for this chart in particular. This indicator implements RSI to gauge momentum, BBWP to gauge volatility, and an EMA to gauge trend. Maximum confluence signals are represented by horizontal bars in the indicator's pane, where the tallest green bar is a confirmed buy signal, and the tallest red bar is a confirmed sell signal. The shortest bar represents a momentum-only signal, and the second-shortest bar represents a volatility signal in confluence with the previously given momentum signal.
To track momentum, the RSI is plotted to the indicator plane against a moving average of the RSI. A momentum signal is generated when the RSI crosses over its moving average, retests/approaches the moving average, and then continues in the crossover direction (i.e., it fails to cross the moving average to the opposite side, creating a successful retest). The settings that affect this trigger are the "Crossover Threshold," which specifies how much the RSI should exceed the moving average to be considered a crossover, and the "Retest threshold," which specifies how closely the RSI should approach the moving average to be considered a retest. A momentum signal is ALSO generated if the RSI or its moving average exceed their counterpart by a certain threshold. For example, if the threshold was set at 10, a BUY signal would be generated when the RSI exceeds the moving average by 10, or a SELL signal would be generated when the moving average exceeds the RSI by 10. This threshold can be set using the "Instant Signal Threshold" setting. Either type of momentum signal will be plotted on the pane as the shortest horizontal bar, with its color indicating the signal's direction.
Volatility is primarily measured using the Bollinger Band Width Percentile (BBWP) indicator, which was created by The_Caretaker. BBWP plots the volatility of the asset's price, given by Bollinger Band width, relative to past volatility by assigning the volatility readings into percentiles. The indicator also includes a moving average of the BBWP itself, where a crossover to the upside represents expanding volatility and a crossover to the downside represents contracting volatility. This indicator is used to confirm a signal given by the momentum indicators - a momentum signal that is given during a period of expanding volatility has a greater likelihood of success. Therefore, when the BBWP crosses above its moving average by a given threshold, a previously triggered momentum signal is considered to be "confirmed." The threshold for this crossover can be set using the "BBWP Confirmation Threshold" setting. However, it is also relevant that periods of extreme volatility often accompany an extremity in price action (a "top" or "bottom"), in which case the BBWP is likely to contract after price reaches such an extremity. This phenomenon is captured by also using "extreme reads" on the momentum indicator to signal that there has already been enough volatility to confirm a momentum signal. If the RSI gives an "extreme read" before triggering a signal, the momentum signal is also considered to be confirmed. For example, if the RSI is above 80, breaks below 80, and then gives a SELL signal, this sell signal is considered to be confirmed without requiring the BBWP to crossover its moving average to the upside. The threshold that would confirm a SELL signal can be set with the "Overbought" setting, and the threshold that would confirm a BUY signal can be set with the "Oversold" setting. Whenever a volatility signal confirms a momentum signal, a medium-sized horizontal bar will be plotted on the pane in the same directional color as the momentum signal. Note that a momentum signal may trigger at the exact same time as the volatility signal which confirms it; in this case, only the medium-sized bar will be visible on the pane, but its direction can still be identified by its color.
Lastly, to reduce the likelihood of "false signals," a trend indicator is used to confirm the direction of the signal. This is typically an exponential moving average. If a confirmed volatility SELL signal is given, and the closing price is below the moving average, then the SELL signal is also confirmed by the trend. Likewise, if a confirmed volatility BUY signal is given, and the closing price is above the moving average, then the BUY signal is confirmed by the trend. The type and length of the moving average used to verify the trend can be set using the "Moving Average Type" and "Moving Average Length" settings found below the momentum/volatility settings. A trend signal is plotted on the pane as a tall horizontal bar, and is more deeply colored than the momentum and volatility signals.
For maximum confluence, it is recommended that the trend signal, given by the tallest bar, is the one that forms the basis of trades executed while using the Triple Threat indicator. It is possible to enter more aggressive trades with better entries by using only the volatility signal, given by the medium-sized bar, however this entails greater risk and should only be done in confluence with an additional trading strategy of your own discretion. Backtesting has shown that using the volatility signal alone underperforms using the volatility signal in confluence with the trend signal.
Please also be advised that the default setting are optimized for Bitcoin's daily chart only. The indicator is still applicable to other timeframes and asset classes, but the settings may need to be modified. I have a list of settings for other Bitcoin timeframes, and I would be happy to share them upon request.
I hope you can find this indicator to be of some use to your trading strategies. I'd be happy to hear any feedback from the community, so please don't hesitate to reach out. Stay safe, and happy trading.
Range Filter - B&S Signals - 001 - edited I have not description. Publishing so a freind can use it.
Bollinger Bands Strategy (MA type)The types of moving averages that Mr. Kıvanç Özbilgiç uses in his indicators and especially the "MACD Reloaded" and "SuperTrended Moving Averages" indicators gave me an idea.
Better results can be obtained in different time frames by increasing the range of Moving averages used in Bollinger Bands.
It is a trial and educational work only.
TASC 2022.04 S&P500 Hybrid Seasonal System█ OVERVIEW
TASC's April 2022 edition of Traders' Tips includes the "Sell In May? Stock Market Seasonality" article authored by Markos Katsanos. This is the code implementing the "Hybrid Seasonal System" from the article.
█ CONCEPTS
In his article, Markos Katsanos takes an updated look at the "Sell in May" adage by reviewing recent historical data for seasonal equity market tendencies. The author explores the development of a trading strategy (a set of buy and sell rules) based on this research.
He starts from the enhanced buy & hold system featured in his July 2021 TASC article, and adds additional technical conditions. These include volatility conditions ( VIX and ATR ) plus the "Volume Flow Indicator" (VFI), which is a custom money flow indicator that Katsanos introduced in his June 2004 TASC article. He provides an example of a trading system that others can test for themselves and modify as they see fit. The author notes that the system could likely be improved further by adding money management conditions (such as a stop-loss), or by adding more technical conditions not considered in the scope of this article.
█ CALCULATIONS
The entry and exit rules that constitute the trading system are defined below. The critical values of VIX, ATR and VFI (specified below) used in the calculations were determined by optimization for a daily chart of the SPY ETF . By default, the strategy only allows long entries. However, the script offers the possibility to initiate short entries upon exiting long trades through the "Long Only" toggle in the script's inputs.
Long Entry Rules
• Seasonal: The seasonal trade is initiated on the first business day October at the open.
• Volatility: In case of high volatility, that is if the VIX is above 60% or the 15-day ATR was above 90% over the past 25 days, the seasonal trade is deferred until later in the month or year, when the volatility subsides.
Exit/Short Entry Rules
• Seasonal: The exit/short signal is triggered on the first business day of August at the open.
• Volatility: The exit/short signal is triggered if VIX is above 120 % (i.e. 2 times the corresponding threshold parameter).
• Money flow (VFI): The exit/short signal is triggered if the VFI crosses under a critical value (-20) while its 10-day moving average is pointing down.
Join TradingView!
AC- MY SCRIPT1My Ac- My Scrpt1 that the BUY and SELL signals (trend reversals) for many coins defined different tickers in Tradingview charts
Terminology explanation:
Confirmed Reversal: Oxford T reversal that happened in the last bar and cannot be repainted.
Potential Reversal: Oxford T reversal that might happen in the current bar but can also not happen depending upon the timeframe closing price.
Downtrend: Tickers that are currently in the sell zone
Uptrend: Tickers that are currently in the buy zone
List and show has also got a built in Oxford T indicator which users can confirm the reversals on graphs.
Screener explores the 40 tickers in current graph's time frame and also in desired parameters of the OTT indicator.
Also you can optimize the parameters manually with the built in STRATEGY version.
Built in Moving Average type defaultly set as VAR but users can choose from 8 different Moving Average types like:
SMA : Simple Moving Average
EMA : Exponential Movin Average
WMA : Weighted Moving Average
TMA : Triangular Moving Average
VAR : Variable Index Dynamic Moving Average aka VIDYA
WWMA : Welles Wilder's Moving Average
ZLEMA : Zero Lag Exponential Moving Average
TSF : True Strength Force
Tip: In sideways VAR would be a good choice
You can use OxforfT default alarms and Buy Sell signals like:
1-
BUY when Prices are above OxfordT
SELL when Prices are below OxfordT
2-
BUY when OxfordT support Line crosses over OoxfordT line.
SELL when OxfordT support Line crosses under OxfordT line.
3-
BUY when OxfordT line is Green and makes higher highs.
SELL when OxfordT line is Red and makes lower lows.
IMPORTANT: SCREENER ONLY EXPLORES AND SCREENS FOR THE 2nd SIGNAL TYPE:
BUY when OxfordT support Line crosses over OxfordT line.
SELL when OxfordT support Line crosses under OxfordT line.
Mini-Pullbacks SupertrendThis WOP script is trying to check the pullbacks in a trend and open a position when the pullback is finishing
Loft Strategy V1This strategy consists of a kalman filter (by alexgrover ) and a "stop and reverse" line which is following the kalman filter.
If the price goes in the same direction as the position side, the "stop and reverse" line approaches the kalman filter as set on the "Approach Decrease Step" parameter.
rsisma imkind dailyrsi 14
sma 8
time fram : weekly and daily
rsi 14
sma 8
time fram : weekly and daily
rsi 14
sma 8
time fram : weekly and daily
rsi 14
sma 8
time fram : weekly and daily
EMA StratIf previous day close above EMA, enter long at open the following day. Exit long position if prices close below EMA.
Stairs Gain Strategy - MGI will explain step by step.
1- The position order filtering option is used to filter out duplicate positions.
2- The reason I use an ATR multiplier is to balance the ATR value that differs in instruments.
3- ATR lower limit and ATR upper limit values are to reduce unnecessary transactions and commission expenses in the horizontal market.
4- Strategy take profit and stop loss levels are calculated as percentages. The reason why there is no point account is that it can be used in the stock market.
5- Developer friends can get a more efficient result in forex market instruments by converting this to a point account.
Notice :
Variables are different in each instrument. Therefore, this strategy should be optimized for each instrument used.
RSI_OTT - TP/SLWhile creating this strategy, I was inspired by "ott(by Anıl Özekşi)" and "RSI + Bollinger Double Strategy(by ChartArt)".
Basically, the strategy uses ott bands instead of bollinger bands in the "RSI+Bollinger Double Strategy".
User can select take profit, stop loss, position direction(long, short or both) and the other ott parameters via interface.
OTT-Stoch-TP/SLThis strategy combines stochastic oscillator and OTT (OTT is originally owned by Anıl Özekşi).
The strategy is triggered at fast OTT and slow OTT crossing points. User can select the "Evaluate Stoch OTT" option which is validate the crossing points through stochastic oscillator.
In the same way, user can select "take profit", "stop loss" and position direction(long, short or both) via interface.
By the way, Stoch OTT is not classic Stochastic oscillator. Actually, it is also combined classic stochastic oscillator and OTT for long term validation to base strategy.