PCT Trailing Stoploss-Strategy
I am not a financial advisor and this is not financial advice. This is provided for illustration only for a Percent based Trailing Stoploss.
I have been looking for a Percent based Trailing Stoploss and have not been able to find one that would work for me so I wrote my own. This works in both a Strategies and Indicators I put comments inline of where to add or remove comments// depending on which one you are aiming for. The simple EMA crossovers are there just to give the strategy something to do. To use, copy the Stoploss section, the inputs at the top, and the reset under the sell section to your own script. When I first started out I found the code for removing the redundant signals and then used it in most of my scripts. For the life of me I do not remember where I got it - either in a comment in Tradingview or on a reddit post, so if you wrote that part, thank you.
About me:
I have only been working with PineScript since January 2022 and have never been much of a coder from a professional standpoint but decided to jump in and learn Pine mainly because I am a crap, emotional trader and this way I can remove that aspect of it and lose my money programmatically as opposed to making it a conscious decision :)
תבניות גרפים
pi RSI StrategypiRSI Strategy is based on my relative strength index indicator pi RSI because it uses the first 15 sequential numbers in Archimedes constant "pi" 3.14159265358979.. I felt that the never ending, non-repeated number, pi, was a good candidate for an input that tracks the constantly changing trends these days.
This is a price momentum strategy that helps you evaluate overbought or oversold conditions. By the default colors, when the white line is above the purple it's going bullish. And when the white line is under the purple it's going bearish.
Also, on the scale, 50 is neutral, below 25 is getting oversold and above 75 is getting overbought. This strategy is useful in conjunction with other price and volume indicators / strategies to help redundantly confirm future price action.
I've spent exhaustive effort on new research & development, engineering, back testing accuracy, real time capital testing, & future version revision of my trading indicator / strategy scripts.
FibVIP StrategyThis is version 1.0 FibVIP Strategy. It's based on my Fibonacci VIP indicator script. Fibonacci VIP (Fibonacci Volume Indicator Precision) is a volume indicator that I made to help me have precise entry and exit timing. It's based on the well-known Fibonacci sequence 1, 2, 3, 5, 8, 13, 21, 34, 55, 89...
The default colors I like to use can be changed to whatever you want. The numbers inputted are based on volume.
Bullish momentum in ascending order is 21 = white, 13 = blue, 8 = green.
Bearish momentum descending order is 89 = red, 55 = yellow, 34 = purple.
Immediate momentum 1 = orange, 2 = blue, 3 = neon green, 5 = lime.
Four high, mid high, mid low & low dashed channel lines with transparent fill colors lime, green, maroon & red.
Also, there's a gray zero line & white dynamic horizontal dotted line to help keep momentum in perspective.
The most bullish signal is when all colors are in a top-down order 1, 2, 3, 5, 8, 13, 21, 34, 55, 89. The most bearish signal is when all colors are reversed and have a bottom-up order of 89, 55, 34, 21, 13, 8, 5, 3, 2, 1.
A crossover, cross-under, divergence or convergence of these colors, help signal the future price action. For example, green crossing over red is bullish, but green crossing under red is bearish.
If colors are low / below the zero line that's bearish and if they are above the zero line, that's bullish.
The FibVIP works great as a leading indicator to confirm future price action of the underlying security momentum.
Combo 2/20 EMA & Adaptive Price Zone This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
The adaptive price zone (APZ) is a volatility-based technical indicator that helps investors
identify possible market turning points, which can be especially useful in a sideways-moving
market. It was created by technical analyst Lee Leibfarth in the article “Identify the
Turning Point: Trading With An Adaptive Price Zone,” which appeared in the September 2006 issue
of the journal Technical Analysis of Stocks and Commodities.
This indicator attempts to signal significant price movements by using a set of bands based on
short-term, double-smoothed exponential moving averages that lag only slightly behind price changes.
It can help short-term investors and day traders profit in volatile markets by signaling price
reversal points, which can indicate potentially lucrative times to buy or sell. The APZ can be
implemented as part of an automated trading system and can be applied to the charts of all tradeable assets.
WARNING:
- For purpose educate only
- This script to change bars colors.
MomGulfingLong Position Rules:
RED -> GREEN,
Green close > previous red high,
Green candle volume > previous red candle volume
or
RED -> GREEN -> GREEN
First green close < previous red high,
Second green close > previous red high,
Second green candle volume > previous red candle volume
or
RED -> GREEN -> GREEN -> GREEN
First green close < previous red high,
Second green close < previous red high,
Third green close > previous red high,
Third green candle volume > previous red candle volume
Short Position Rules:
GREEN -> RED,
Red close < previous green low,
Red candle volume > previous green candle volume
or
GREEN -> RED -> RED
First red close > previous green low,
Second red close > previous green low,
Second red candle volume > previous green candle volume
or
GREEN -> RED -> RED -> RED
First red close > previous green low,
Second red close > previous green low,
Third red close < previous green low,
Third red candle volume > previous green candle volume
Risk Management:
First bar's low/high stop loss level
RR:2.5 take profit level
Leverage: 80/percent(stop level)
Pyramiding: 3
Update tp/sl at every signal
STRATEGY R18-F-BTCHi, I'm @SenatorVonShaft
Just finished the strategy "STRATEGY R18-F-BTC" for trading on #bitcoin and other cryptocurrencies.
As any strategy on TradingView, R18 opens Long/Short positions (with no leverage) on certain price points for assets in the chart. But I intentionally make this strategy for Bitcoin . Strategy is effective with 1h chart and it has %36 winning trade ratio for #bitcoin trade. As strategy uses approximately 1/3 ratio of SL/TP levels, gross profit for 1 year backtest is above %200 (I mean above 3x for only BTC )
Strategy is built on combination of:
- MACD
- RSI
- FIBONACCI levels
- BTCUSDT price itself as indicator (for different crypto assets and BTCUSDTPERP trading. You can select different assets you like for indicator (it's BTCUSDT:Binance by default))
I fine-tuned all levels of indicators above accordingly (it has more than 10 variables that effects strategy itself).
You can find out your own strategy levels by adjusting long/short tp&sl variables as well as initial capital ratio variable.
Reverse option open reverse positions of the strategy





