Profits Unlimited Pro Strategy** This is the backtesting (strategy) version of ~ Profits Unlimited Pro ~ proprietary script in TradingView. **
~ Profits Unlimited Pro Strategy ~
֎ Trading system script on tradingview that brings an easy approach to trading with a high profitability rate
֎ Our proprietary formula was developed over the course of the past two years through a combination of trial and error and algorithmic backtesting.
-- HOW IT WORKS --
֎ The algorithm starts with a proprietary script combining custom inputs with a formula that works with custom bollinger bands settings and specific RSI levels to results in deadly accurate signals for long and short entry points.
but that's not all...
֎ When we first developed our formula, we noticed that it produced a lot of accurate signals but also didn't fully understand the dynamics of market momentum and trending directions...
...so there were a lot of needless calls being made that were reducing profitability.
You see, most markets spend roughly 80% of the time trading sideways with no significant trend either up or down...
...And trading these sideways markets commonly result in what's called a "whipsaw"...
A whipsaw is when price is moving in one direction but then quickly pivots to move in the opposite direction resulting in a loss. And nobody wants to be stuck trading in a sideways market getting killed by whipsaws all day...
So what did we do to fix this?...
-- THE WINNING FORMULA --
֎ We added the Average Directional Index into our custom formula with a goal of teaching the algorithm to only trade during periods of strong momentum and trends whether up or down.
֎ We also added trend exhaustion levels to give clear indication for exit signals and help determine best times of getting out of a trade.
֎ Trend Exhaustion Levels work in conjunction with trailing stop loss % and both are customizable for ideal exits and profitability.
֎ The results are mind blowing!
-- WHO IT'S FOR --
֎ Optimized for crypto markets, to catch trend movements as soon as possible and maximize profitability
֎ It's A Swing Traders Dream.
-- What You Get --
֎ Sell & Buy alerts, Stop Loss alerts and always adding new features!
֎ Customizable settings.
֎ Chrome Extension in development for fine-tuning settings automatically(COMING SOON)
-You will be able to select an asset. push a button. and the extension will find the best settings for you!
֎ Users Facebook community for learning, sharing and direct support
If you’d like to test the trading script in TradingView, I can give you access to a 10 days trial.
Please send me PM in tradingview and I’ll activate it right away.
Thank you!
在腳本中搜尋"profit"
Profit Sniper 2.0 | BACKTESTProfit Sniper 2.0 Backtest now offering up huge improvements, including multiple position triggers, derived from Bollinger Bands and Chande Momentum as well as our own bespoke stochastic ribbons that provide trend pivots .
Profit Sniper now works with regular Japanese candles, however, still provides the flexibility of Heiken Ashi settings for certain elements of the indicator, this allows the accuracy of Japanese candlestick prices, and the smooth trends of HA.
Profit Sniper 2.0 has been specifically re-written for use with automation, including our own in-house trading robot known as C.A.T (Crypto Algo Trader) and as such we have chosen to remove several noisy elements of the now defunct Profit Sniper that were underused, such as the PPO and RSI variants.
Another big decision was to remove the MACD from the indicator package, as invariably users preferred using the built in MACD .
So how does it work?
HUNT
In true Sniper fashion, when our stochastic HA ribbons pivot between short and long trends, the indicator will offer up a colour coded flag the says “1. HUNT” green for long, red for short.
SIGHT
At this stage, the indicator is now looking for a second condition, this is displayed as “2. Sight” at this point the indicator as noticed a drop in the previous momentum, to pre-empt a flip between long and short. Red is for short, green is for Long
FIRE
The final condition to be met, is based on the positioning of the Bollinger Bands , which is show as the “3. Fire Flag” again, as with hunt and sight, red is for short and green is for long.
User parameters allow traders to add trailing stop, toggle between percentage and USD value, as well as edit all the indicator settings in both HA and JPY Candles providing higher accuracy in the forecast rate.
** Please note, that trade execution occurs at the open of the candle after the FIRE condition is met, this means that it is likely that the back test may throw up slightly worse results than in real time trading with using CAT as CAT will execute on Bollinger moving average line in real time.
Profit Maxima: a crypto strategyThis strategy is designed for those who are looking for long-term positions with low risk and high profitability.
How does it work?
In short, the basis of this strategy is the frequent modeling of the price using regression equations and the estimation of the range of price movements.
The price modeling process starts from the first bars and will be repeated on each bar. This process is performed in each candle based on the data available up to that candle, and data for subsequent bars is not used.
There is also no fixed price model, but it will change from one candle to the next; Therefore, the more candles there are, the larger the statistical population and therefore the quality of the price model increases.
I have also used the concept of scarcity. Bitcoin is the first scarce digital object in the world. Once something becomes scarce enough, it can be used as money. This scarcity gradually increases and affects the price. The entire crypto market also follows Bitcoin.
However, always remember that past results in no way guarantee future performance.
Why this strategy generates a small number of trades?
Preston Pysh believed Bitcoin cycles happen in three phases: the Bull Run, the Correction, and the Reversion to the Mean. He estimates there are about 200,000 blocks per cycle and there are about 144 blocks per day.
Therefore, each cycle of Bitcoin lasts about four years. The entire crypto market follows bitcoin. On the other hand, cryptocurrency is a new phenomenon. They have a limited price history.
This strategy is designed to open a long position at the lowest possible price. In addition, due to the concept of scarcity and its continued impact on prices, trading in the “short” direction is avoided.
The combination of these factors leads to generate a small number of trades. However, you can test it on several different charts to make sure it works properly.
Default settings
{ default_qty_type } = strategy.percent_of_equity
{ default_qty_value } = 3.3
{ commission_value } = 0.1
{ pyramiding } = 3
{ close_entries_rule } = "ANY"
In a simple word, buy (Entry) and sell (take-profit) orders are each done at three different levels. At each level, 3.3% of equity is used (9.9% in total)
0.1% commission is considered for each transaction.
“close_entries_rule” determines the order in which orders are closed. The default is FIFO (first in, first out), but in this strategy, orders are executed in “first in, last out” order. In this way, the lowest buy (Entry) order corresponds to the lowest sell (take profit) order.
Choose the best chart
Charts have a significant impact on the performance of the strategy. As mentioned, the more historical bars there are, the larger the statistical population and therefore the quality of the price model increases.
You can use the Chart Quality panel to choose the appropriate chart:
The ‘Historical Bars’ field shows the number of candles in the chart. Choose the chart of an exchange that has the most historical bars.
The ‘Recommended Chart’ field shows the suggested chart for some symbols.
The “Predictability” field indicates to what extent price movements can be predicted using the model; the higher the “predictability”, the more credible the results of the strategy. "Predictability" indicates that the results of the strategy are reliable or not.
The image below shows the recommended chart for 20 different symbols:
How to use
You don't need automated trading platforms to use it. It can be used by placing simple buy and sell (take-profit) orders manually.
The green and red lines indicate the 'Entry' and 'Profit' levels respectively. If there is no order (buy / sell) active on one of these levels, it will be displayed in gray. The corresponding values are displayed in the Entry & Profit Limits table.
After choosing the appropriate chart, you can use this table to place your orders manually.
Note that trading in the "short" direction is not recommended at all.
Samples
RSI_BB_EMASPREAD strategy for profittrailerProfittrailer 2 Strategy analyzer for 3 buy triggers: RSI, EMASPREAD and Bolinger Bands
features:
- 3 buy triggers: RSI, BB, EMASPREAD
- Each fully customizable
- Each can be turned off / on
- GAIN sell trigger
- Sell trailing
- DCA trigger (ANDERSON only)
- DCA levels
- Notification trigger, which u can use to set alarms in TV
Feedback or a thank you is much appreciated. Any requests to add features you think are especially useful are welcome.
If you'd like to support me through a donation, send me a message.
Profit Trailer Tester v0.2This script combines all buy and sell strategies of the Profit Trailer bot for research, backtesting (simulation) and teaching those strategies. Due to several reasons, the script cannot emulate the Profit Trailer strategies 100%. It is more to visualize the strategies and support you in your decisions.
It is an early version and still under heavy development and testing. Currently, 'DCA' and trailing are not implemented yet.
Please send a PM to get access to the script.
NOTICE: By requesting access to this script you acknowledge that you have read and understood that this is for research purposes only, and I am not responsible for any financial losses you may incur by using this script!
Profit MAX MTF HeatMapThis is a powerfull strategy which is made from combining 3 multi timeframes into one for profit max indicator
In this case we have daily, weekly and montly.
Our long conditions are the next ones :
if we have an uptrend on all 3 at the same time, we go long.
If we have a downtrend on all 3 of them at the same time we go short.
For exit, for long, as soon as one of the 3 converts into downtrend we exit the trade.
For exit, for short, as soon as one of the 3 converts into uptrend we exit the trade.
This tool can be used on all types of markets, and can also be changed the time frames.
PROFIT MAKER |Crypto|ETH|BTC|YFIThis is a trend-following strategy that works very well for many Crypto assets in the usd or usdt pair
It can be used for both futures and spot!
Some of the assets in which this strategy is proven are
Asset Exchange TF
BINANCE:ADAUSDT Binance 45m
BINANCE:BTCUSDT Binance 1h
BINANCE:YFIUSDT Binance 30m
BINANCE:DOTUSDT Binance 45m
BINANCE:ETHUSDT Binance 30m
BINANCE:LINKUSDT Binance 45m
BINANCE:DOGEUSDT Binance 1h
And many others..
BINANCE:BTCUSDT
BINANCE:LINKUSDT
What is this strategy based on?
It is a combination of various parameters, including
-RSI: The relative strength index (RSI) is a momentum indicator used in technical analysis that measures
the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset.
-MACD: Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows
the relationship between two moving averages of a security’s price.
-ADX: ADX is used to quantify trend strength. ADX calculations are based on a moving average of price range expansion over a given period of time.
-DMI: DMI is a moving average of range expansion over a given period (the default is 14 days). The positive directional
movement indicator (+DMI) measures how strongly price moves upward; the negative directional movement indicator (-DMI)
measures how strongly price moves downward. The two lines reflect the respective strength of the bulls versus the bears.
Included:
Different forms of Take profit, included:
Take profit on squeeze candles
Take profit based on Risk-Benefit (RR)
Take profit a pre-determined %.
Different forms of Stop Loss, including
ATR-based stop loss
Trail stop loss (with option to use a trigger)
Stop loss a pre-determined %.
**All trades include 0.1% of fees + slippage
** The statistics displayed are for the year 01-01-2020 and the period from 2021 to the date of publication (14-01-2020)
For access you can send a message or consult in my social networks.
Links in my tradingview signature (below).
PTStratX Trial - Multi Period Tester for Profit Trailer 2PTStratX Trial - Multi Period Tester for Profit Trailer 2
Profit Trailer 2 introduces trading with multiple indicators and indicator settings for Buy, DCA and Sell orders.
For the first time, it is possible to test and view up to 5 indicators in different time periods (1 min - 1 week) in one chart simultaneously!
Even experienced traders and chart analysts are facing difficulties now and struggle to create suitable strategies.
This script allows to find this "best" strategy with ease, learn about the indicators, visually verify your best strategy and finally run backtests (simulation) with historical data.
You immediately see if the strategy is good for profitable trades and then can test it by using the strategy tester in TradingView to find out how lucrative it would have been.
You find a list of all features here: ptstratx.com
Attention: This is the free trial version of PTStratX. It gives you an idea of the functionality of the full featured script. Please note, this trial version is restricted to BTC/USD within 30min resolution and a timeframe from April 10th to 12th, 2018, any other parameters will show no results.
Go to for the full featured version.
For further information on the full version of PTStratX, please visit ptstratx.com.
DISCLAIMER
The creators of this script are not financial advisors, and as such, this script is no financial advice. Anything seen or used within this script is here simply for educational purposes and it is up to you to decide what to do with this information and its results. Please do your own research and verify any statements made before deciding to act upon them. Do not commit any of your own resources to any trading or cryptocurrency activities without first verifying the accuracy of the information and know that your decisions are your own.
PTStratX - Multi Period Tester for Profit Trailer 2PTStratX - Multi Period Tester for Profit Trailer 2
Profit Trailer 2 introduces trading with multiple indicators and indicator settings for Buy, DCA and Sell orders.
For the first time, it is possible to test and view up to 5 indicators in different time periods (1 min - 1 week) in one chart simultaneously!
Even experienced traders and chart analysts are facing difficulties now and struggle to create suitable strategies.
This script allows to find this "best" strategy with ease, learn about the indicators, visually verify your best strategy and finally run backtests (simulation) with historical data.
You immediately see if the strategy is good for profitable trades and then can test it by using the strategy tester in TradigView to find out how lucrative it would have been.
You find a list of all features here: ptstratx.com
For access to the full version of PTStratX, please visit ptstratx.com for further information.
DISCLAIMER
The creators of this script are not financial advisors, and as such, this script is no financial advice. Anything seen or used within this script is here simply for educational purposes and it is up to you to decide what to do with this information and its results. Please do your own research and verify any statements made before deciding to act upon them. Do not commit any of your own resources to any trading or cryptocurrency activities without first verifying the accuracy of the information and know that your decisions are your own.
Stx Monthly Trades ProfitMonthly profit displays profits in a grid and allows you to know the gain related to the investment during each month.
The profit could be computed in terms of gain/trade_cost or as percentage of equity update.
Settings:
- Profit: Monthly profit percentage or percentage of equity
- Table position
This strategy is intended only as a container for the code and for testing the script of the profit table.
Setting of strategy allows to select the test case for this snippet (percentage grid).
Money management: not relevant as strategy is a test case.
This script stand out as take in account the gain of each trade in relation to the capital invested in each trade. For example consider the following scenario:
Capital of 1000$ and we invest a fixed amount of 1000$ (I know is too risky but is a good example), we gain 10% every month.
After 10 months our capital is of 2000$ and our strategy is perfect as we have the same performance every month.
Instead, evaluating the percentage of equity we have 10% the first month, 9.9% the second (1200$/1100$ - 1) and 5.26% the tenth month. So seems that strategy degrade with times but this is not true.
For this reason, to evaluate my strategy I prefer to see the montly return of investment.
WARNING: The strategy provided with this script is only a test case and allows to see the behavior with different "trades" management, for these reason commision are set to zero.
At the moment only the provided test cases are handled:
test 1 - single entry and single exit;
test 2 - single entry and multiple exits;
test 3 - single entry and switch position;
[BullShow] Gray_Hunter_Indicator_v1.0 - Legendary ProfitOver the past 10 years, the price of Bitcoin and cryptocurrency has been dominated by miners. However, since the coronavirus, as the money supply of each government increases and the value of the money decreases accordingly, institutional investors are increasingly intervening in the price of bitcoin. In particular, it is no exaggeration to say that the rise of Bitcoin in recent years was led by institutional investors.
Accordingly, in the past, the indicator of HashRate or Profitability of Mining was an important index for cryptocurrency investment, but now is the time to examine the investment movement of institutions.
This idea is an idea to follow the movement of institutional investors.
I created an index based on the correlation and disparity between the price of institutional investors and the price of bitcoin.
Accuracy increases after the corona, when institutional investors start buying in earnest.
There is no repainting on the chart.
If you are interested in my strategy, Use the link below to obtain access to this indicator or PM me to obtain access
Indicators are shared only with supporters.
Bless you and thanks all!
지난 10년동안 비트코인 및 암호화폐의 가격은 채굴자에 의해 좌지우지 되어 왔습니다. 그러나 코로나바이러스 이후 각 정부의 화폐 공급이 많아지고 그에 따라 화폐가치가 하락하면서 기관투자자의 개입이 조금씩 많아지고 있는 상황입니다. 특히 2020년 최근들어 비트코인의 상승은 기관투자자가 이끌었다고 해도 과언이 아닙니다.
이에따라 과거에는 HashRate 또는 Profitability of Mining의 지표가 암호화폐 투자에 있어서 큰 index였지만 이제는 기관의 투자동향을 보다 더 살펴야 할 때입니다.
그래서 오늘 소개 해 드리고 싶은 전략은 기관의 움직임을 추종하는 전략입니다.
기관투자자들의 매수가격과 비트코인가격의 상관관계 및 이격도를 가지고 지표를 만들었습니다.
기관 투자자들이 본격적으로 매수를 시작하는 코로나 이후 부터 정확도가 증가합니다.
차트에 리페인팅은 없습니다.
Indicator의 공유는 Supporter 분들에게만 해 드리고 있습니다.
축복합니다 언제나 승리하세요!
Indicator Information
* Indicator is only working on the time frame (not support D,W,M and Seconds)
* Initial indicator sets under 1 to buy, over 85 sell
* The accuracy and reliability of indicators rise sharply from 2020, From the point when institutional market intervention increases rapidly
* Other altcoins buy and sell at the same time frame as Bitcoin.
* 해당 인디케이터는 시간 범위에서만 작동합니다 (D, W, M 및 초는 지원하지 않음).
* 초기 지표셋팅은 1아래에서 매수, 85 이상에서 매도
* 지표의 정확성과 신뢰성은 기관의 시장 개입이 급격히 증가하는 2020 년부터 급격히 증가합니다.
* 다른 알트 코인은 비트 코인과 동시에 매매합니다.
Back Testing
Back testing start from 2020. 01 . 01
Initial_capital: 1000
percent_of_equity: 100%
Commission: 0.2%
Profit
BTCUSDT: 559.12%
ETHUSDT: 1675.08%
XRPUSDT: 1121.74%
XLMUSDT: 1003.23%
LINKUSDT: 2087.28%
LTCUSDT: 781.35%
BCHUSDT: 310.89%
BNBUSDT: 706.14%
XMRUSDT: 667.08%
DASHUSDT: 570.35%
TRXUSDT: 796.54%
ADAUSDT: 1352.74%
CIVICUSDT: 3259.17%
IOTAUSDT: 935.22%
WAVESUSDT: 4187.95%
BEST Trailing Take Profit StrategyHello traders
Hope you enjoyed your weekend on my behalf. Was staying home working ... ^^
This is my first strategy educational post I'm doing ever
While I'm generally against posting strategies because it's very easy to fake performance numbers... I cannot prevent myself from sharing a few cool strategy snippets anyway.
So from now on, I'll be sharing a few strategies also - generally not to showcase performance but only to show what pinescript can do.
As once again strategy performance can be faked is so many ways... :)
What's on the menu?
We all know what a trailing-stop is. right? right? Ok... sharing the definition here :)
A trailing stop is designed to protect gains by enabling a trade to remain open and continue to profit as long as the price is moving in the investor's favor. The order closes the trade if the price changes direction by a specified percentage or dollar amount.
But...do you know what a trailing profit is?
Short definition : Well the same but with your profit limit order.
Long definition : A trailing profit is designed to increase your gains by enabling a trade to remain open and continue to profit as long as the price is moving in the investor's favor. The order closes the trade if the price hits the trailing profit level specified percentage or dollar amount.
Some trading strategies used both a trailing stop AND trailing profit. Not making any recommendation here - only sharing what's possible in the realm of trading and pinescripting
Trigger me I'm famous
I developed many trading strategies in my career and often I've been asked to trigger a trailing-stop or trailing-profit once a certain % move has been made.
I integrated here a Take Profit trigger - once hit, it will activate the trailing profit
On the screenshot below, the TP trigger is plotted in orange. Once the price goes past that level for the first time, I'll start trailing the profit level.
In other words, when we see a price makes an interesting move in percentage value - we decide to offset the profit as we concluded that once it reached such distance - then it leads often to more profit
Of course, using only a trailing profit without stop/trailing-stop/invalidation isn't smart and the surest way to kiss goodbye a trading capital and trading and your good mood
See you tomorrow for another strategy snippet
All the BEST
Dave
PTStratX Beta - Multi Period Tester for Profit Trailer 2PTStratX Beta - Multi Period Tester for Profit Trailer 2
This is our official beta release for our supporters to test new features.
You can find the full version here:
Changelog v1.0.9a Beta
Added:
- STOCHRSID, STOCHRSIK and STOCHRSICROSS strategy, but not as accurate as our other indicators, we will work on that in the in the following updates
Changed:
- code optimizations to reduce compilation time
PTStratX Free - Multi Period Tester for Profit Trailer 2PTStratX Free Edition - Multi-Period Backtesting Tool for Profit Trailer 2!
PTStratX is free for everyone and can be used immediately without prior activation!
It is now free for everyone to create, test and optimize your own Buy, DCA and Sell strategies.
Look how your bot will perform with your strategy and optimize and enhance it with other indicators.
Now the time has come: PTStratX Free Edition is here!
More information about PTStratX Free and other scripts can be found at PTStratX.com
Have fun and discover the incredible possibilities of PTStratX!
If you like our work, we would be pleased about a donation.
BTC: 37ufrNH75U4btRGn23PEnZmqdhn1gmysbf
BTC Profitable Wallets StrategyBTC Profitable Wallets Strategy - plots the percentage of profitable BTC wallets and places long orders when the profitable wallet share crosses above 50%, historically a very accurate point to catch the next Bull Run early.
The only setting is a smoothing option using the Moving Average method and length of your choice.
On Chain Data is queried from IntoTheBlock.
This is a 'HODL' strategy, with no exit given. If you'd like to see the historical performance check the Open Profit or place a sell order at the current date.
Khair Day trade with profit lossBest used when applied for intraday trading. Users can customize length and deviation to fit their needs. Works best for high volatility stocks.
This strategy only works intraday intervals, so it means when you try to apply it to day/week/month it won't show any entry or exits.
Bollinger band breakout with non-standard deviation along with profit targets and stop loss.
There are 2 profit targets that can be adjusted based on individual preference.
This strategy minimizes risk and only opens trades when the probability of profitability is higher.
Fixed Percent Stop Loss & Take Profit %===========
Fixed Percent Stop Loss & Take Profit %
===========
A neat example of how to set up Fixed Stops and Take Profit as a percent of the entry price.
Yup, that's about it!
You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT really profitable and NOT recommended!
You should be using this code as a way of adding Stops and Takes to your own scripts - hope it helps!
-----------
Good Luck and Happy Trading!
Jawwad Nitro_2 Crypto Forex Strategy - Highly ProfitableThis strategy is tested on selected crypto and forex pairs. It seems to be highly profitable and non-repainting. You can make some good money until you are following it properly and not playing with the settings.
1. Use 15 minute Heiken-ashi chart.
2. Apply the strategy.
3. Enjoy!!!
If this strategy works for you, please don't forget to buy me a cup of coffee... If you find anything wrong, please let me know. I shall be happy to fix it for you.
Cheers,
Jawwad
BT Profit Sniper 3.0BT Profit Sniper 3.0 is a completely new strategy built from the ground up as a successor to previous 1.0 and 2.0 versions of Profit Sniper.
Offering up huge improvements, including multiple position triggers, derived from Bollinger Bands and Chande Momentum as well as our own bespoke stochastic ribbons that provide trend pivots . Another big decision was to remove the MACD from the indicator package, as invariably users preferred using the built-in MACD .
So how does it work?
3.0 operates off two timeframes in parallel, your Trend Timeframe (Higher Timeframe concerned with identifying market up & down trends), and your Trade Timeframe (Lower Timeframe to actually backtest Longs & Shorts in).
Within each timeframe, you can tailor your preference for waiting for either Stochastic Ribbon cross only, or Ribbon Cross followed by Chande Confirmation for that additional market structure confidence.
You also have the option to trade with trend so the indicator will automatically flag & alert only Shorts in a Short trend, and Longs in a Long Trend.
User parameters allow traders to add trailing stop, toggle between percentage and USD value, providing higher accuracy in the forecast rate.
If you would like access, please send me a PM.
BTC-USD Strategy profit with cross basisHello all,
I modified a public script with long and short signals when the basis line is cross by Heikin Ashi.
It's a real-time script and not a scam. The profit is realized with one or two contracts.
You can add alerts and link it to robots for trade.
For access PM,
GaetanLpp
Profit-sync with Trexen StratThere are various scripts and indicators on Tradingview, but not many of them combine theories to improve the profitability of an indicator using settings from multiple time frames.
This script takes the Average True Range trailing exit idea to enter trades. Many other ideas have been tested to filter entry signals which may be weak or not profitable such as a second ATR with Higher TF, MFI/VFI, RSI , Momentum wavetrend, Weis Wave, MACD , Stochastic etc, but I felt the following works best:
- Over the ATR entries there is a directional filter very similar to Renko candles which can be set to a higher time frame, I use 4 hour with 15 min candles for example, this will only allow 15 min buy signals to execute if the 4 hour is also on the buy side.
- There is also a Trend directional filter which can be set to a higher/lower time frame, currently I am using this on allow setting to allow more trades
The higher both filter are, the more accurate the trades will be, but less frequent. The filters convert entry signals into exit signal which can be used as take profit point with alerts if there is a position open.
The overall theory is to follow trend and to exit with profit. I have tested different take profit alerts but think it’s better to either catch a whole price move or sell with a set trailing limit order at like 0.4/0.5%.
As I am trading BTC with a bot and not with TA I think it is good to get in on a trend reversal, follow the trend up and get out quick with profit. There is a lot of manipulation with crypto so things like Momentum indicators and money-flow may not represent what is actually happening in the market.
Profit Trailing BBandsProfit Trailing Trend BBands v4.7.5 with Double Trailing SL
A TradingView Pine Script Strategy
Created by Kevin Bourn and refined with the help of Grok 3 (xAI)
Overview
Welcome to Profit Trailing Trend BBands v4.7.5, a dynamic trading strategy designed to ride trends and lock in profits with a unique double trailing stop-loss mechanism. Built for TradingView’s Pine Script v6, this strategy combines Bollinger Bands for trend detection with a smart trailing system that doubles down on profit protection. Whether you’re trading XRP or any other asset, this tool aims to maximize gains while keeping risk in check—all with a clean, visual interface.
What It Does
Identifies Trends: Uses Bollinger Bands to spot uptrends (price crossing above the upper band) and downtrends (price crossing below the lower band).
Enters Positions: Opens long or short trades based on trend signals, with customizable position sizing and leverage.
Trails Profits: Employs a two-stage trailing stop-loss:
Initial Trailing SL: Acts as a take-profit level, set as a percentage (%) or dollar ($) distance from the entry price.
Tightened Trailing SL: Once the initial profit target is hit, the stop-loss tightens to half the initial distance, locking in gains as the trend continues.
Manages Risk: Includes a margin call feature to exit losing positions before they blow up your account.
Visualizes Everything: Plots Bollinger Bands (blue upper, orange lower) and a red stepped trailing stop-loss line for easy tracking.
Why Built It?
Captures Trends: Bollinger Bands are a proven way to catch momentum, and we tuned them for responsiveness (short length, moderate multiplier).
Secures Profits: Traditional trailing stops often leave money on the table or exit too early. The double trailing SL first takes a chunk of profit, then tightens up to ride the rest of the move.
Stays Flexible: Traders can tweak price sources, stop-loss types (% or $), and position sizing to fit their style.
Looks Good: Clear visuals help you see the strategy in action without cluttering your chart.
Originally refined for XRP, it’s versatile enough for most markets — crypto, forex, stocks, you name it.
How It Works
Core Components
Bollinger Bands:
Calculated using a simple moving average (SMA) and standard deviation.
Default settings: 6-period length, 1.66 multiplier.
Upper Band (blue): SMA + (1.66 × StdDev).
Lower Band (orange): SMA - (1.66 × StdDev).
Trend signals: Price crossing above the upper band triggers a long, below the lower band triggers a short.
Double Trailing Stop-Loss:
Initial SL: Set via "Trailing Stop-Loss Value" (default 6% or $6). Trails the price at this distance and doubles as the first profit target.
Tightened SL: Once price hits the initial SL distance in profit (e.g., +6%), the SL tightens to half (e.g., 3%) and continues trailing, locking in gains.
Visualized as a red stepped line, only visible during active positions.
Position Sizing:
Choose "% of Equity" (default 30%) or "Amount in $" to set trade size.
Leverage (default 10x) amplifies positions, capped by available equity to avoid overexposure.
Margin Call:
Exits positions if drawdown exceeds the "Margin %" (default 10%) to protect your account.
Backtesting Filter:
Starts trading after a user-defined date (default: Jan 1, 2020) for focused historical analysis.
Trade Logic
Long Entry: Price crosses above the upper Bollinger Band → Closes any short position, opens a long.
Short Entry: Price crosses below the lower Bollinger Band → Closes any long position, opens a short.
Exit: Position closes when price hits the trailing stop-loss or triggers a margin call.
How to Use It
Setup
Add to TradingView:
Open TradingView, go to the Pine Editor, paste the script, and click "Add to Chart."
Ensure you’re using Pine Script v6 (the script includes @version=6).
Configure Inputs:
Start Date for Backtesting: Set the date to begin historical testing (default: Jan 1, 2020).
BB Length & Mult: Adjust Bollinger Band sensitivity (default: 6, 1.66).
BB Price Source: Choose the price for BBands (default: Close).
Trend Price Source: Choose the price for trend detection (default: Close).
Trailing Stop-Loss Type: Pick "%" or "$" (default: Trailing SL %).
Trailing Stop-Loss Value: Set the initial SL distance (default: 6).
Margin %: Define the max drawdown before exit (default: 10%).
Order Size Type & Value: Set position size as % of equity (default: 30%) or $ amount.
Leverage: Adjust leverage (default: 10x).
Run It:
Use the Strategy Tester tab to backtest on your chosen asset and timeframe.
Watch the chart for blue/orange Bollinger Bands and the red trailing SL line.
Tips for Traders
Timeframes: Works on any timeframe, but test 1H or 4H for XRP—great balance of signals and noise.
Assets: Optimized for XRP, but tweak slValue and mult for other markets (e.g., tighter SL for low-volatility pairs).
Risk Management: Keep marginPercent low (5-10%) for volatile assets; adjust leverage based on your risk tolerance.
Visuals: The red stepped SL line shows only during trades—zoom in to see its tightening in action.
Visuals on the Chart
Blue Line: Upper Bollinger Band (trend entry for longs).
Orange Line: Lower Bollinger Band (trend entry for shorts).
Red Stepped Line: Trailing Stop-Loss (shifts tighter after the first profit target).
Order Labels: Short tags like "OL" (Open Long), "CS" (Close Short), "LSL" (Long Stop-Loss), etc., mark trades.
Disclaimer
Trading involves risk. This strategy is for educational and experimental use—backtest thoroughly and use at your own risk. Past performance doesn’t guarantee future results. Not financial advice—just a tool from traders, for traders.
Ultimate Pullback StrategyWhat is the Ultimate Pullback Strategy?
This strategy script is based on my Ultimate Pullback Indicator which detects pullback trading opportunities by analyzing price action in a very specific manner.
By combining simple trend filters with various advanced candlestick patterns it detects high-probability trend-continuation setups (and optional exits).
If you use this script to set alerts then you will never miss a pullback trading opportunity ever again!
I personally use this indicator to profitably trade pullback signals in the forex markets on multiple timeframes, from the 15-Minute chart to the 4-Hour and Daily chart.
Note: This strategy companion script is only available for subscribers of The Ultimate Pullback Indicator.