Tendency EMA + RSI [Alorse]A very simple and highly effective strategy LONG & SHORT that combines only 2 indicators:
RSI
3 Moving Average Exponential (EMA)
LONG Entry conditions are:
EMA 20 cross over EMA 10
EMA 10 is above EMA 100
LONG Exit conditions are:
RSI greater than 70
Or when X number of candles have passed and the trade is in profit. (Check Settings)
SHORT Entry conditions are:
EMA 20 cross under EMA 10
EMA 10 is below EMA 100
SHORT Exit conditions are:
RSI is less than 30
Or when X number of candles have passed and the trade is in profit. (Check Settings)
Scalping
TripleEMA + StochasticRSI + ATR Scalping Strategy by TradeSmartCOINBASE:BTCUSD Hello everyone and welcome to our second script release!
This script is one of many upcoming scripts. This one is a test for us, how it works, how you guys like this kind of stuff, and for feedback what we should change/improve at.
So feel free to comment any suggestions you have.
SCRIPT IS OPTIMIZED FOR:
BTC/USD (Coinbase) 15 minute timeframe
(Keep in mind default settings does not include trading fees, you can set it at the properties)
I recommend using this script on a trading exchange where the fees are extremely low or on an exchange where you get paid to place limit orders.
(I am not a financial avdvisor and none of this is financial advice.)
Now you can modify the following:
Stochastic RSI
3 different EMA
Length of ATR (for stop loss and take profit)
Stop Loss and Take Profit Risk to Reward ratio
Choice between Capital Risk on each trade or Risk of % of Capital
Allowing Short/Long entries only
Limit between dates
Trading days 1-7
We will update the script with more and more features taking in consideration your requests.
Hope you like it! Don't forget to let us know what we should change or improve. Thanks, and have a great day!
STRATEGY ENTRY RULES
LONG
When EMAs are lining up (meaning for ex. 400 < 13 < 7), and the Stochastic RSI crosses upwards (meaning blue line crosses orange upwards), then go long.
SHORT
When EMAs are lining down (meaning for ex. 7 < 13 < 400), and the Stochastic RSI crosses downwards (meaning blue line crosses orange downwards), then go short.
TAKE PROFIT
When price hits the exit price (calculated from stop loss with the risk ratio)
STOP LOSS
When price hits stop loss then exit the position.
QUANTITY TO BUY (Risk per Trade % or Capital %)
Risk Per Trade % attribute: we can set how much money we want to risk on one trade. Meaning that if we lose that particular position, then a Risk Per Trade % value of our equity will be lost.
Example: if you set the Risk Per Trade % to 1 % and you have a 100$ account balance, then if you loose the trade you will loose 1$ max.
Capital % we can set with how big % of our capital we want to enter into a position. Meaning that we enter with a set % of our capital.
Example: if you set the Capital % to 1 % and you have a 100$ account balance, then you will enter the position with 1$.
First Release Settings: (2021-10-25) for BTC/USD (Coinbase) 15 minute timeframe
Stochastic RSI settings: (Not displayed in the script. If you want to see it you have to add it separately.)
K: 3
D: 2
RSI Length: 6
Stochastic Length: 16
RSI Source: hlc3
EMA 1: 5
Source One: Close
EMA 2: 12
Source Two: Close
EMA 3: 215
Source Three: Close
Length of ATR: 16
Stop Loss Multiplier (risk): 3.6
Exit Price Multiplier (reward): 1
Risk Percentage: 3
Allow Long Entries: yes
Allow Short Entries: yes
Valid Trading Days: 1234567
The valid trading days of the Limit Trading Time feature. Numbers represent the days: Sunday (1), Monday (2), Tuesday (3), …, Saturday (7)
If you like this one, follow for more scripts! Thank you for your support!
vStrat Algo 1.0 (BETA)vStrat Algo 1.0
The Very First Scalping/Intraday Trading Algo for Options
Note: If you have any favorite indicators that you use regularly and are helpful, feel free to use them in conjunction to this strategy.
Legend:
long = buy call
short = buy put
close entry = sell call/put
BULL = bullish engulfing
BEAR = bearish engulfing
OS = oversold
OB = overbought
Instructions:
1. You can choose to watch the 3 minute or 5 minute chart but be aware of the Pro’s and Con’s. It’s not recommended to use this strategy on the 1 minute chart, but this works on higher timeframes. Keep in mind that the signals will vary on each timeframe.
3 minute 5 minute
i.ibb.co i.ibb.co
2. It’s best to use this strategy right at market open. If a “long” (buy CALLS) or “short” (buy PUTS) signal was given at pre-market, I do not recommend taking it. Only take signals once the market opens. If you really wish to take the signal that was given 1-5 minutes before the market opened, you most definitely can, but its’s just riskier. What I would do is, wait 3-10 minutes after market open and if one Moving Average is respecting the other and holding above or below it, you can enter especially if the blow is bullish, the vStrat Algo 1.0 will also tell you if the candles are bearish or bullish. Use your best judgement.
i.ibb.co [
3. You do not have to wait for the exit signal, everyone's risk management is different so take profits whenever you're green or hold as long as the short-term MA is still trending above or below the long-term MA and is not touching or bouncing off it.
i.ibb.co
4. Avoid taking any signals from 11:30 AM ET - 2:30 PM ET, when stocks are trading sideways since the algo’s stop losses get triggered here due to the low volume.
i.ibb.co
5. Lastly, there is no magic indicator or strategy, this algorithm is designed based on multiple conditions. Each signal gets triggered when ALL the conditions are met. This strategy is based off advanced moving averages, one that reduces lag and responds quicker than the simple and exponential ones, RSI value, S/R, pivot points, and a few others. I’m always looking for ways to improve this scalping algorithm so rest assured any complaints or suggestions will be taken and fixed as timely as possible. For best results, avoid trading with your emotions. If you’re a new user, open a small position, set a stop loss, and let the algorithm decide how you will trade it for that day. Keep doing this until you get more familiar with the script then slowly increase your position sizing, but do not invest money you can’t afford to lose. Play with the settings, change the lengths if you wish, but the script was created to provide the most accurate signals as it is. If you do decide to change these inputs, the signals will also be different. Take profits whenever you see fit, the goal is to have a green day and grow your account slowly but surely. If you make a profit, do not risk giving your money back to the market by overtrading. Always do your own due diligence and use your best judgement. Good luck, Traders!
DISCLAIMER : All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed, or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice. While the information provided is believed to be accurate, it may include errors or inaccuracies. Conduct your own due diligence or consult a licensed financial advisor or broker before making any and all investment decisions. Any investments, trades, speculations, or decisions made on the basis of any information found on this site, expressed, or implied herein, are committed at your own risk, financial or otherwise.
Algo Trading Strategy (Nifty & BankNifty)What is Algo Trading Strategy ( Nifty & Bank Nifty )?
There are many 9 to 5 working professionals who have some spare money to invest each month but they can not do active trading because they are busy with their full time job.
So they wish to have an automated system which could take and close trades for them with a proven back-tested strategy, proper money management, ability to trade within particular timings, pre-defined maximum loss they can bear and so on.
To cater needs of such type of traders, we created from scratch; and published an 'AutoTrading Algo (Nifty & Bank Nifty) in Sep 2021. (The link is given below, please read on).
Many people who want to try this AutoTrading Algo want us to share stats of this algo with them.
In order to fulfil this demand, we have converted that "Algo Trading" Study into a Strategy whose description you are reading right now.
For all other queries related to how our "Algo Trading (Nifty & Bank Nifty)" works, what are its limitations, benefits and other features, please read the description of our main 'Algo Trading (Bank Nifty & Nifty )' study which is available at following link:
Note:
1. in order to test this strategy on longer time period, you must have a Premium TradingView account.
2. If you have premium TradingView account, the stats you generate will exactly match with our stats which we keep sharing in our channel.
3. To Enable Auto-Trading, You will need to connect this Algo with your broker's trading platform through 3rd party platforms. We will guide you on how to do this, when you contact us.
Price Change Scalping Strategy v1.0 - 3Commas EditionIntroduction
This strategy implements the Price Change Scalping (PCS) strategy specifically for the 3Commas platform. The Input settings have been redesigned to match the same inputs as the 3Commas My Bot Settings page. Only the "Deal Start Condition" section will echo the required PCS-related settings found in the original Price Change Scalping Strategy v1.0 to successfully implement the strategy.
The strategy uses a price rate of change (ROC) momentum calculation to determine the percent change in price between a defined range of bars. The calculated ROC value is then compared to the Upper Threshold and Lower Threshold values to determine if a trade setup is to be activated. If the threshold is crossed, a trade setup will occur based on the indicator settings. Entry, Take Profit, and Stop Loss prices are calculated and displayed on the chart. Once the Entry Price is crossed, a long or short position is created (depending on the direction) and once the Take Profit price is crossed, the position is closed. If the Entry Price is not crossed within a specific number of bars, the trade setup is canceled, and it will proceed to monitor price changes for the next set up.
How is it original and useful?
This strategy is unique in that the strategy version fully supports the TradingView backtester, which will enable you to perform experiments with various settings to evaluate performance using the historical chart data. The study version implements the "Start Deal" and "Close Deal" alerts for you to integrate with 3Comma's "Trading View Custom Signal" start condition. Both script versions will provide the same configuration abilities. The following list is a brief description of its usefulness:
Full support for all possible 3Commas bot settings.
Define a short or long trading strategy.
Price change data source and offset settings.
Your layering placement relative to the entry price.
Your trading parameters like take profit and stop loss offsets, trailing take profit support, exchange commission rates, trading start time, and order size multiplication for each layer.
Flexible trade eligibility rules that can use other chart indicators, like RSI or EMA, to exclude the selection of entry prices for trading.
The visibility of detailed statistics from the chart history pertaining to trading sessions started and closed, session durations, win rate, price action drops and bounces, as well as layer utilization.
The visibility of detailed Used Amount for Each Step table that details how each layer will be allocated for trading.
How does it compare to other scripts in the Public Library?
The strategy offers a very detailed, comprehensive settings to address all types of markets found on TradingView where you can implement the price change scalping strategy. The strategy version can be considered the first of its kind on TradingView to leverage the backtester to provide informative, detailed performance measurements surrounding this unique trading strategy. The study version will implement the latest alert framework called "Any Alert() Function" where you can create a single alert to handle multiple events, which include:
Deal Start
Deal Close
Strategy Results
The default settings are designed to define a "loose" price change settings to ensure that the indicator will render chart elements when first loaded as well as to allow the backtester to gather order executions and display performance summary. The strategy version is using $10,000 initial capital, a commission rate of 0.1% for both entries and exits, and a 1 tick slippage setting. It is also using 3.4881% of the equity for the Base Order Size, 4.7097% of equity for the first Safety Order Size. The Maximum Safety Trade Count is 7 with a Safety Order Volume Scale of 1.33, and a take profit of 2% with no stop loss. All other settings are defaults.
It is recommended that the indicator be "tuned" for your specific market to best implement the price change strategy and obtain better desirable results. You do so by scrolling through the chart's history and observing moments when prices tend to move rapidly. Measure the number or bars it typically takes for the price to change at a specific rate. Using this information, you can adjust the Price Change Settings accordingly to configure the indicator for the chart.
Always keep in mind that past performance may not be indicative of future results. Settings that seem favorable for one market may be found to be disastrous in another. Therefore, do take the time needed to understand how the settings will behave with the given chart symbol.
Enjoy! 😊👍
How to obtain access to the script?
You have two choices:
Use the "Website" link below to obtain access to this indicator, or
Send us a private message (PM) in TradingView itself.
Price Change Scalping Strategy v1.0Introduction
This strategy uses a price rate of change (ROC) momentum calculation to determine the percent change in price between a defined range of bars. The calculated ROC value is then compared to the Upper Threshold and Lower Threshold values to determine if a trade setup is to be activated. If the threshold is crossed, a trade setup will occur based on the indicator settings. Entry, Take Profit, and Stop Loss prices are calculated and displayed on the chart. Once the Entry Price is crossed, a long or short position is created (depending on the direction) and once the Take Profit price is crossed, the position is closed. If the Entry Price is not crossed within a specific number of bars, the trade setup is canceled, and it will proceed to monitor price changes for the next set up.
How is it original and useful?
This strategy is unique in that the strategy version fully supports the TradingView backtester, which will enable you to perform experiments with various settings to evaluate performance using the historical chart data. The study version implements numerous custom alerts for you to build TradingView notifications around specific price action events and stay informed with market activity in real-time. Both script versions will provide the same configuration abilities where you can define:
Define a short or long trading strategy.
Price change data source and offset settings.
Your layering placement relative to the entry price.
Your trading parameters like take profit and stop loss offsets, exchange commission rates, trading start time, and order size multiplication for each layer.
Flexible trade eligibility rules that can use other chart indicators, like RSI or EMA, to exclude the selection of entry prices for trading.
The visibility of detailed statistics from the chart history pertaining to trading sessions started and closed, session durations, win rate, price action drops and bounces, as well as layer utilization.
How does it compare to other scripts in the Public Library?
The strategy offers a very detailed, comprehensive settings to address all types of markets found on TradingView where you can implement the price change scalping strategy. The strategy version can be considered the first of its kind on TradingView to leverage the backtester to provide informative, detailed performance measurements surrounding this unique trading strategy. The study version will contain numerous custom alerts to aid in your notification preferences and stay informed on the indicator's activities:
Price Crossed Above Threshold
Price Crossed Below Threshold
Enter Long Position
Exit Long Position
Enter Short Position
Exit Short Position
Price Crossed DCA Layer 1 (Long)
Price Crossed DCA Layer 2 (Long)
Price Crossed DCA Layer 3 (Long)
Price Crossed DCA Layer 4 (Long)
Price Crossed DCA Layer 5 (Long)
Price Crossed DCA Layer 6 (Long)
Price Crossed DCA Layer 7 (Long)
Price Crossed DCA Layer 8 (Long)
Price Crossed DCA Layer 1 (Short)
Price Crossed DCA Layer 2 (Short)
Price Crossed DCA Layer 3 (Short)
Price Crossed DCA Layer 4 (Short)
Price Crossed DCA Layer 5 (Short)
Price Crossed DCA Layer 6 (Short)
Price Crossed DCA Layer 7 (Short)
Price Crossed DCA Layer 8 (Short)
Strategy Results
The default settings are designed to define a "loose" price change settings to ensure that the indicator will render chart elements when first loaded as well as to allow the backtester to gather order executions and display performance summary. The strategy version is using $10,000 initial capital, a commission rate of 0.1% for both entries and exits, and a 1 tick slippage setting. It is also using 2.74506% of the equity with a Order Size Multiplier of 1.33, using 8 total DCA layers, and a take profit of 2% with no stop loss. All other settings are defaults.
It is recommended that the indicator be "tuned" for your specific market in order to best implement the price change strategy and obtain better desirable results. You do so by scrolling through the chart's history and observing moments when prices tend to move rapidly. Measure the number or bars it typcially takes for the price to change at a specific rate. Using this information, you can adjust the Price Change Settings accordingly to configure the indicator for the chart.
Always keep in mind that past performance may not be indicative of future results. Settings that seem favorable for one market may be found to be disastrous in another. Therefore, do take the time needed to understand how the settings will behave with the given chart symbol.
Enjoy! 😊👍
How to obtain access to the script?
You have two choices:
Use the "Website" link below to obtain access to this indicator, or
Send us a private message (PM) in TradingView itself.
CRYPTO TRADING BOT - 1min SCALPING LONG/SHORTHOW IT WORKS
The core concept behind the script is the determination of the current market mood in sense of creating a trendline indicator using EMA / SMA .
By using this trend indication alongside RSI / MACD value range, we are able to enter/exit the market in both directions: LONG and SHORT .
In case of confirmed false signals, we try to catch up the next good opportunity to minimise loss and to close the current trade.
If the chance for a good countertrade is given at this point, the market is going to be entered reversely.
Should the market move incredibly fast against our trade direction, we use proven Stop-loss targets, to bring our children into safety.
As many others, we could tell you now, that we used state-of-the-art machine learning algorithms
as well as highly sophisticated methods to gain our results.
As a fact, we started with an idea, using simple and common trading tools/indicators,
as a solid ground. We did not want to reinvent the wheel and it paid off.
GET A WORKING SCRIPT
The algorithm we are using has initially been created with a self-developed backtesting software.
To be able to deliver gas to our engine, we have bought a huge amount of OHLCV data for the 1min chart.
After many exhausting and frustrating weeks of our workflow-rotation (develop, fail, fix, test, repeat)
we finally got confirmation for all of our conditions/expectations, so we translated our algorithm into pine-code.
THE RESULTS
Since we have been using our Pine-Strategy alongside our backtesting software , we checked all the results provided by TradingView
and our tool to be 100% sure every outcome, every entry and every exit is exactly the same.
We did this for several months and since 2021 June we have been using it with real Alerts, coped to our binance account.
Below, you will find how the performance for the previous months looked like (every trade was made with 100% of the capital, of course using proper stop loss and take profit):
September 2020: 15.18%
October 2020: 36.17%
November 2020: 15.12%
December 2020: 48.58%
January 2021: 150.10%
February 2021: 45.96%
March 2021: 46.48%
April 2021: 4.96%
May 2021: 43.48%
June 2021: -28.99%
Juli 2021: 15.63%
August 2021 (so far): 11.57%
Accumulated Profit: 1,979.01%
To prove our results, we will link an excel sheet for every trade that was made within this timerange.
Link: docs.google.com
ABOUT US
We are two good friends, both incredibly interested in mathematics, software engineering, AI and algorithmics. After getting introduced into the crypto space
by a common friend, we started figuring out that there is a pattern behind every big or small move which happens in an asset.
This is where the passion for creating a CRYPTO TRADING BOT began. It was our goal, to create this script for the 1min Timeframe, so the software can react quickly when a
big or small move is happening - this is why it is called a SCALPING SCRIPT .
We are incredibly proud of this script and would like to share it with this amazing community - just hit us up on TradingView!
Swing/Scalper HULL + T3 avg Crypto StrategyThis is a both a swing and a scalper strategy(depends on the timeframe that you use), that works with all timeframes, however I noticed that with swing 3h works the best on most crypto pairs, such as ETH, BTC and so on.
Its main components are:
Hull moving average
T3 moving average
Risk management
With them I make an average and use it as the main moving average.
Rules for entry
For long: Average moving average is bigger than previous average moving average value.
For short:Average moving average is lower than previous average moving average value.
Rules for exit
We exit when either the TP/SL has been hit, or when we get a different condition than previous one(both for long and short).
If you have any questions, let me know !
George MartinENG:
This script is based on a simple principle - MartinGale. Each subsequent entry, if the price goes in the wrong direction, increases the number of contracts taking into account the coefficient and also changes the entry price taking into account the coefficient. The coefficients can be configured so that the script keeps the drawdown up to 85%. For instructions and connection - write.
RUS:
Этот скрипт основан на простом принципе - Мартин Гейл. Каждый следующий вход если цена идет не в нужную сторону, увеличивает количество контрактов с учетом коэффициента и также меняется цена входа с учетом коэффициента. Коэффициенты можно настроить таким образом чтобы скрипт держал просадку до 85%. Для инструкций и подключения - пишите.
Scalp - 50/200 EMAWorks on any timeframe but was built originally for scalping. Uses 50EMA and 200EMA to define the trend and touch backs on to the 50 EMA for entry.
200 EMA - White Line
50 EMA - Yellow Line
ATR: Length 14 Smoothing RMA
1. Wait for 50ema to crossover 200 ema – Then wait for candle to touch 50 ema after the cross.
2. Entry: Green candle that closes above 50 ema without getting more than 3 candles closing below(BUY) or above (SELL) 50ema.
3. Stop loss: 2x ATR value below entry candle.
4. Take profit: 1.5x the risk.
Settings allow for # of Entries allowed per trend as well as EMA periods.
Opposite for Sell Entries (Stop Loss: 2x ATR value above entry candle)
Nifty's IndicatorThis Indicator is only for Indian market and works only on 'Nifty' and 'Banknifty'. Please don't use it in any other stock/indices.
Use it in only in 3m and 1m timeframe. No other timeframe is to be used.
This indicator gives only sell signals on intraday basis.
When you apply this indicator on charts then you will see 2 things ploted there.
1. Barcolor
2. Background color
Barcolor :
We have use unique trend analysing tool in this indicator, which identifies price is in Uptrend or Downtrend. If price is in uptrend
then candle color will become GREEN and it will remain green until price comes in downtrend. In downtrend candle color becomes RED.
Background color :
We have observed that price behaves a certain way when it is in downtrend. So we try to catch that behaviour of Nifty and Banknifty .
And when ever we observe that behaviour, a red color background is formed in background. This red color background indicates user that
price may fall now.
HOW TO USE :
ENTRY => You should trade only on 3m timeframe. When you see a RED COLOR candle inside RED ZONE then take a SELL trade. That means red background
is indicating that price may fall and red color bar also indicating the same. And your entry should be in between 09:15-10:30 and 12:30-14:55.
This is the time slot when price is volatile.
EXIT => You exit when red zone ends or the trading day ends.
BACKTESTING :
Based on these entry and exit conditions , we have backtested this strategy ( taking only 1 share when sell signal comes ). You can see down arrow on
chart when sell signals comes and uparrow when we exit from trade.
Saper Aude [Strategy]Sapere Aude Strategy
Trend based scalping strategy, to work on lower timeframes (15Minute - 1 Hour)
Calculations on ATR, strategy uses extra conditions to help filter out bad trades.
How to use the strategy?
Simple as when green line shows below, that can be either a good entry point or a signal to start building limit orders on the plot.
I use the ATR as a trailing stop loss for exit.
vica versa for entering shorts. The strategy is only set up to take long positions though.
This is a great scalping strategy for bots in Ranging or up trending markets.
This scripts has 5 variations built within it which are fitted for certain coins & their timeframes
The coins included are
BTC/USDT 1 Hour
ETH/USDT 1 Hour
ADA/USDT 30 Minutes
DOGE/USDT 15 Minutes
LUNA/USDT/15 Minutes
The Strategy backtest results includes Fess and there is NO Repaint! The script is written in Version 4
There is an option in the settings cog to choose from the 5 coins and their timeframes where they have been optimised
There is also an option to change the backtesting range
The stop Losses are also adjustable and listed under the settings
The strategy performs best on the Binance listings
Maximized Scalping On Trend (by Coinrule)" The trend is your friend. " This is one of the most famous and valuable teachings that experienced traders can give to newbies. There is a reason for that.
No matter your views about where the price moves, what matters is where the price heads to . The market is always right, and ultimately it decides who gets the profit and who has to take a loss.
The purpose of this strategy is to spot when it's the most suitable time to buy an asset profiting from a potential short-term price increase. The strategy tends to open trades frequently, closing them on average in one and a half days.
ENTRY
The buy order is placed on assets that present strong momentum when it's more likely that it is about to increase further in the short term.
To capture momentum on the asset, the rule strategy requires:
the MA50 greater than the MA100
the RSI greater than 50
The rule, then, places the order when
The price crosses above the MA9.
EXIT
This strategy comes with a stop loss and a take profit which adapt dynamically to market conditions.
The trade is closed in profit when the RSI is greater than 70 , as the trend could experience a pull-back.
Alternatively, the trade is closed when the RSI is lower than 30 , being this a sign of weakening of the trend.
Pro tip : The 1-hour time frame has proven to return the best results on average. The strategy can also work well in the 15-min time frame if you want to increase the trades' frequency.
The strategy assumes each order to trade 30% of the available capital and opens a trade at a time. A trading fee of 0.1% is taken into account.
Patient Volatility SniperThis strategy waits for moments of high volatility where an asset is significantly overbought/oversold and makes very short trades.
When the indicator line spikes, it means the script sees a "window of opportunity." However, it will only enter a position if the underlying oscillators are overbought/oversold as determined by the threshold you set.
It does not produce a particularly gaudy net profit compared to many other strategies and can go weeks without making a trade. However, since the win/loss ratio tends to be consistently favorable (based on backtests: see below) it may be useful as a supplement to more "active" trading strategies.
I backtested it over the last year or so with a handful of different altcoins (specifically: ETH, ADA, DOT, XLM, VET, ZEC, and OMG), and it seems fairly robust. Please keep in mind that past results do not guarantee future success. Feel free to confirm the backtesting for yourself, especially as it may change in the future after this was written.
USAGE NOTE: If you have access to custom timeframes on tradingview, I strongly recommend using this strategy on charts in the range of 10m to 12m. In practice, there's not much of a difference, but I did optimize it for those slightly shorter timeframes. There are a handful of tickers for which it does not seem to work very well once you go up to 15m (notably, as of the time of publishing, DOGE).
Commission fee included because not doing so is unrealistic.
DRSI DMA Scalping Strategy No RepaintThis strategy compares the slope of a Moving Average (of your choosing) to the slope of a Momentum Indicator (of your choosing). Zero is the center line because 0 slope means sideways movement. When both lines cross your buy threshold, it buys. When both lines cross your Sell threshold, it sells. The lines may look choppy, but that is probably because it is referencing a different timeframe than what the chart is set to. I left as many settings adjustable by the user as possible so you can tune this strategy to the relative behavior of whatever you are trading.
This also includes a No Repaint function so the backtest should be as close to live trading as possible.
BNBUSD 1 Minute Chart / 1 Hour BBand Day Trading 3Commas*** As always, this is provided for educational purposes only and I am not an investment advisor; I'm just a guy who likes to come up with novel ideas and share them with other traders so they can learn. ***
This strategy is a fun one. I took parts of 'Bollinger Awesome Alert R1 by JustUncleL' () and modified it to have enhanced day trading functionality. This version does not show source and that is by design - I want the alerts to be visible to the public and if you want to get set up with a version that integrates with 3commas, drop me a message - there's a lot more that goes into setting up automated 3commas trading but this script was written specifically with 3commas in mind.
It's possible this is one of the more interesting strategy indicators I've made. The setup I used for this is as such and you will need to set it up the same way:
One minute chart for the BNB/USD(T) pair on Binance.us (other exchanges will likely work, other coin pairs or other time frames will likely not)
This script watches the one minute chart and when price golden crosses the lower Bollinger band, a buy order is placed.
There are two sell conditions; one I set up to take profit and one I designed as a kind of stop loss. I went with a flat 7.5% for the take profit as this showed the best results in the backtester. I had planned for it to be closer to 3% but for this strategy to work it needs to be higher. According to the backtest it offers around double the return of buying and holding BNB over the sample timeframe.
The 'stop loss' condition is where the fun lies. I transposed Bollinger bands from a one hour BNBUSD Binance.us chart on top of the 1 minute chart and those are the blue lines you see. The stop loss condition happens when the current price death crosses the bottom one hour Bollinger band. Ironically, often this doesn't result in any losses as you will see in the chart and instead results in a small win. This definitely was not my intention when I created it but it's a lot better than the earlier version where I set up a variable percentage-based stop loss. Even with me optimizing the regular stop loss for this coin pair, my 1 hour bband method nets an extra 2% profit over the same two week time period, even with Binance fees factored in!
Have fun and like I said, hmu via message if you want access to the customizable indicator for 3commas!
Pullback Traps v. 0.1Trading Strategy for scalping the CME_MINI:ES1! and CME_MINI:MES1! futures on the 5 min. time frame.
The strategy will count legs and look for failed pullbacks and failed second entries where shorters get trapped.
How to use:
When a trap occurs (Marked with green light) place an order one tick above the high of the trap and enter on next candle
If entry doesn't happen on next candle and it has a lower high, move entry to one tick above high of that candle.
Keep doing the above until you enter or until a candle is marked with a blue light and the text Trap Dead.
If you see Trap dead and you haven't entered, quickly cancel your order.
What is green light?
A second or later pullback down away from the uptrend. When the green light is present the shorters haven't made a 1 point profit and short scalpers are trapped.
What is blue light?
1. Shorters made their 1 point profit and trap is dead. Cancel your trade. Or...
2. Shorters hit their stop loss and you're probably in a trade now and about to profit.
Profit and stop loss:
Numbers are done with profit 5 ticks and stop loss 30 ticks.
Should I have a stop loss 6 times greater than profit?
Probably not. The numbers you see here are made with these profit and stop loss figures but I don't advice it in real trading.
The numbers look good on this backtest but in reality a few bad trades would ruin everything.
This was made purely for fun and sim trading - Feel free to do your own testing and show the resulsts.
Momentum Strategy (BTC/USDT; 1h) - MACD (with source code)Good morning traders.
It's been a while from my last publication of a strategy and today I want to share with you this small piece of script that showed quite interesting result across bitcoin and other altcoins.
The macd indicator is an indicator built on the difference between a fast moving average and a slow moving average: this difference is generally plottted with a blue line while the orange line is simply a moving average computed on this difference.
Usually this indicator is used in technical analysis for getting signals of buy and sell respectively when the macd crosses above or under its moving average: it means that the distance of the fast moving average (the most responsive one) from the slower one is getting lower than what it-used-to-be in the period considered: this could anticipate a cross of the two moving averages and you want to anticipate this potential trend reversal by opening a long position
Of course the workflow is specularly the same for opening short positions (or closing long positions)
What this strategy does is simply considering the moving average computed on macd and applying a linear regression on it: in this way, even though the signal can be sligthly delayed, you reduce noise plotting a smooth curve.
Then, it simply checks the maximums and the minimums of this curve detecting whenever the changes of the values start to be negative or positive, so it opens a short position (closes long) on the maximum on this curve and it opens a long position (closes short) on the minimum.
Of course, I set an option for using this strategy in a conventional way working on the crosses between macd and its moving average. Alternatively you can use this workflow if you prefer.
In conclusion, you can use a tons of moving averages: I made a function in pine in order to allw you to use any moving average you want for the two moving averages on which the macd is based or for the moving average computed on the macd
PLEASE, BE AWARE THAT THIS TRADING STRATEGY DOES NOT GUARANTEE ANY KIND OF SUCCESS IN ADVANCE. YOU ARE THE ONE AND ONLY RESPONSIBLE OF YOUR OWN DECISIONS, I DON'T TAKE ANY RESPONSIBILITY ASSOCIATED WITH THEM. IF YOU RUN THIS STRATEGY YOU ACCEPT THE POSSIBILITY OF LOOSING MONEY, ALL OF MY PUBBLICATIONS ARE SUPPOSED TO BE JUST FOR EDUCATIONAL PURPOSES.
IT IS AT YOUR OWN RISK WHETHER TO USE IT OR NOT
But if you make money out of this, please consider to buy me a beer 😜
Happy Trading!
Cyatophilum Strategy BuilderAn indicator to create strategies, backtest and setup alerts.
The user can choose one or multiple TA entry conditions, if more than one the conditions are combined with a logical AND.
The entries will open up a trade, which is then handled by a risk management system including Trailing Stop, Take Profit and up to 100 Safety Orders.
This indicator can be used to backtest 3commas DCA bots who are using TA presets, RSI or ULT.
Its main goal is to create strategies by combining indicators.
Let's dive into the details of what's included:
Entry Condition: MACD
Triggers an entry when macd crosses with the signal line.
Configure the fast, slow length, signal smoothing and timeframe to trigger the condition.
Entry Condition: RSI
Triggers an entry when the RSI is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Entry Condition: ULT (Ultimate Oscillator)
Triggers an entry when the ULT is higher or lower than the long/short threshold.
Configure the 3 lengths, timeframe, long and short threshold to trigger the condition.
Entry Condition: Bollinger Bands
Triggers an entry when the price is above the upper band for long and below the lower band for short.
Configure the length, standard deviation and timeframe to trigger the condition.
Entry Condition: MFI (Money Flow Index)
Similar to RSI, it triggers an entry when the MFI is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Entry Condition: CCI (Commodity Channel Index)
Another oscillator that triggers an entry when its value is higher or lower than the long/short threshold.
Configure the length, timeframe, long and short threshold to trigger the condition.
Trend Filters
Use one or two trendlines to filter your trades: go only long/short when the trendline is bullish/bearish.
Choose between the several trendlines: ema, sma, wma, hull ma, kama, alma, rma, swma, vwma, Tilson T3, and the unique Adaptive T3 and Adaptive Hull MA.
If this is not enough, you can use the external trendline feature to plug in any other indicator for your trendline.
The second trendline can be MTF and come from another symbol if needed.
Combining Indicators
Most of the time we will not be using a single indicator at a time, but instead, combine them in order to get stronger entries.
The entry conditions are combined using a AND logical gate, meaning all conditions must be true for the entry to trigger.
Here is an example using a combination of 2 indicators: Bollinger Bands and RSI.
We can see less entries are being triggered on the bottom chart than on the top chart because the bottom chart is combining the 2 indicators while the top chart is only using Bollinger Bands.
You can combine up to all 6 indicators if you want, but keep in mind that combining too many may lead to triggering no entry at all.
Risk Management and Trade system
The indicator will not trigger more than one long or short entry in a row.
To start a new trade, the indicator will wait for either take profit, stop loss or an opposite entry if no SL and TP is set.
Stop Loss and Take Profit
Configure your stop loss and take profit for long and short trades.
You can also make a trailing stoploss and a trailing take profit.
Safety Orders
Just like 3commas bots, you can create a strategy with up to 100 safety orders.
Configure their placement and order size using the price deviation, step scale, take profit type (from base order or total volume), and volume scale settings.
Note: only the 20 first safety order steps or so will be plotted due to graphic limiations. The steps after that still trigger alerts and backtest results.
Creating Alerts
The indicator is using the newest alert system:
1. Write your alert messages in the indicator settings (alert section at the bottom)
2. Click "Create Alert" as usual, but choose "alert() function calls only"
Data Window
Since the indicator is applied on top of the price chart, the oscillator indicators cannot be plotted. You can always add them on another pane but if you want to just see their values, you can use the Data Window to see the value of each oscillator on each bar.
Backtest settings
Used to get the results below:
Initial Capital: 100 000$
Base Order Size: 0.1 contract (BTC)
Safety Order Size: 0.1 contract (BTC)
Commission: 0.1%
Slippage: 100 ticks
pyramiding: 6
The indicator settings are plotted in the main chart panel.
Bollinger Band with RSI
Using combination bollinger band and RSI indicator as guide to predict price volatility and the best entry point. The strategy logic is pretty straightforward where we're interested with close price that touches the lower bollinger band ; there are only two scenarios that will happened after the price reaches the lower band; the price might rebound from the lower bollinger band or drop lower and continue downtrend. To confirm the price movement, we use a second indicator which is the RSI to further investigate the price trend. For example, if the price reaches the lower bollinger band but the RSI value is not in the oversold region, we can conclude that the price will go lower and continue downtrend. If the RSI value is in the oversold region, we can use this price area as our entry point.
Stop loss is necessary to avoid losing too much capital if the RSI value lingers too long in the oversold region.
Best take profit area is when the price rebound above the middle bollinger band area/upper bollinger band or when the RSI reaches overbought region; whichever comes first.
Long entry:
RSI < 30 & close price < lower bollinger band
Exit entry:
RSI > 70
Default stop loss: -25%
ATR + %R Scalping StrategyThe Average True Range is a single line indicator that measures volatility. The indicator was originally developed by J. Welles Wilder to measure the volatility of commodities within the futures market.
ATR does not measure price trends or price direction hence %R and Parabolic SAR indicators were added.
The strategy enhances standard Average True Range and %R composition with trend confirmation and filters which clear out market noises and manipulations from triggers.
The strategy supports traditional and cryptocurrency spot, futures, options and marginal trading exchanges. It works accurately with BTC, USD, USDT, ETH and BNB quote currencies. Best to use with 5 and 15 minutes timeframe charts and Limit orders.
The strategy can be and should be configured for each particular asset. You can change filters and risk management settings to receive the most advanced accurate alerts
Advantages of this script:
Strategy has high profit factor around 30.32
Backtests show high accuracy around 91.18%
High Net Profit percentage
Low Drawdowns
Weak signals are filtered
Dynamic Take profit and Stop loss
Fast deals around 50 minutes per trade
Can be applied to any market and quote currency
Easy to configure user interface
How to use?
1. Apply strategy to the trading pair your are interested in at 5m or 15m timeframe chart
2. Configure the strategy: change filters values and risk management settings until Strategy tester shows good results according to mathematical expectation
3. Set up a TradingView alert to trigger when strategy conditions are met
4. Strategy will send alerts when to enter and when to exit positions
Scalping using RSI 2 indicator with TSLThis strategy implements a simply scalping using the RSI (calculated on two periods), the slopes of two MAs ( EMA or SMA ) having different lengths (by default, I use 50 and 200).
A trailing stop loss (%) is used.
Entry conditions:
.) Fast MA > Slow MA and Price > Slow MA and RSI < Oversold Threshold ------> go Long
.) Fast MA < Slow MA and Price < Slow MA and RSI > Overbought Threshold ------> go Short
Exit conditions:
.) Long entry condition is true and (close >= TP or close <= TSL ) ----> close short position
.) Short entry condition is true and (close <= TP or close >= TSL ) ----> close long position
The strategy performed best on Bitcoin and the most liquid and capitalized Altcoins but works excellent on volatile assets, mainly if they often go trending.
Works best on 3h - 4h time frame.
There's also an optional Volatility filter, which opens the position only if the difference between the two slopes is more than a specific value, which can be set in the study inputs. The purpose is not opening positions if the price goes sideways and the noise is way > than the signal.
Note:
.) the RSI length is 2;
.) the oversold Threshold is 90%;
.) the overbought Threshold is 10%;
.) by default, the trailing stop loss per cent is 1%;
.) by default, the fast MA length is 50;
.) by default, the slow MA length is 200;
.) by default, the MA used is EMA.
Cheers.
scalping against trapped countertrendAbstract
This script attempts to find the end of countertrend.
This script uses oscillators to measure long term and short period trends. When the long term trend keeps positive and clear short term period is over, this script provides a buy signal.
This script does not contain pullback, cut loss and re-enter. You need to add it manually.
Introduction
Many traders want to buy when long term trend is bullish and short term pullback is over.
This is because we can take advantage to the emotion of countertrend traders.
Countertrend traders realizes their profit is finite and therefore want to protect their profit well and limit their loss.
This script is inspired by a searchable trading strategy video.
The video mentioned 4 points.
(1) long term trend. The video did not spend much ink on this point. You can use any method to observe.
(2) clear pullback bar (at least 50% body)
(3) weak bar after clear pullback
(4) entry trigger buy stop
This script attempts to quantize these points to determine trading direction.
This script is originally designed for timeframes lower than examples in the video but you can apply it on any timeframe.
Computing and Adjusting
(1) long term trend
This script uses smoothed stochastic.
(2) clear pullback bar
Since this script is originally designed for timeframes lower than examples in the video, so the condition becomes:
RSI is low enough
(3) weak bar after clear pullback
RSI goes back from low level.
(4) entry trigger buy stop
This script does not include this condition.
You can decide enter when buy stop or pullback.
Parameters
x_src : the value for computing oscillators
x_len_a : how many bars for measuring short term trend
x_len_b : how many bars for measuring long term trend
x_k_b : smooth long term trend, the average value of stochastic values
x_changk = check if clear short term pullback appears recently. 1 means do not use, larger numbers means how long of periods to check.
x_rsi_ct : threshold of short term pullback clear
x_rsi_ft : threshold of short term pullback end
Reading numbers in Strategy Tester
Most possible loss :
(1) to find rational pullback. Generally 1/3 to 2/3 atr.
(2) to find cut loss distance. Generally 1 to 2 atr.
Most possible profit :
to find if trading the opposite direction against this script is profitable.
Conclusion
This script can suggest us trading direction.
Waiting for pullback can reduce risk, compared to buy stop.
This script does not provide good signals in sideways markets.
Reference
A searchable trading strategy video