GA - Trend WavesIntroduction
GA - Trend Waves (GA Waves) is a Trend Productivity Tool.
Its main purpose is to follow the trend for its entire duration, marking trend variations.
Besides, it highlights Buying and Selling Waves, and Wave Segments.
GA Waves plots the beginning of Buying and Selling Waves, including Wave Segments. It can favor the Main Trend or the Buying-Selling Wave.
This means that the Algorithm can highlight Waves Segments favoring the trend continuation. In the same way, it can highlight Wave Segments riding any wave for its entire duration.
The core of the tool is a set of mathematical functions that discretize the market behavior. These functions define the trend progression and its variations. They discretize buying-selling waves and their wave segments, for short-term and long-term tracking.
As well, the Algorithm includes the strengthens and weakness in the Bullish-Bearish Momentum.
By default, GA Trend Waves shows a colored envelope. It is around a particular curve that discretizes the main trend.
This curve is the Underlying Trend. It is not slow and it follows the trend changes with a high accuracy. The curve is green when the trend is bullish. Instead, the red color marks the curve when the trend is bearish.
The envelope around the underlying trend curve is a control tool. It has 2 important uses:
1 - It defines volatility boundaries on the Underlying Trend. The Algorithm uses these boundaries to reduce the uncertainty.
2 - It shows green and red areas highlighting Buying and Selling Waves in the trend.
Together with the Underlying Trend there is the Overlying Trend. By default, it is not visible on the chart. But it colors the price line.
The Overlying Trend is a short-term curve. It is very fast. The Algorithm uses this curve to define Wave Segments.
The Overlying Trend follows the segmentation of a buying-selling wave with high accuracy.
This accuracy is possible because each curve formula includes weighted moving averages. Each formula uses a recursive application of weighted moving averages.
Overlying and Underlying Trend takes advantages from the calculation of weighted moving averages. The advantage is the high precision even with a very short period.
Then, Overlaying and Underlying Trends are fast curves. They fit at the best their respective trend variations.
The Overlying Trend and the Underlying Trend with its envelope are Stochastic Series.
GA Trend Waves itself does not trigger an entry or an exit. But its indications highlight beginning, continuation, and ending of Buying-Selling Waves. This happens considering also the Trend Momentum and the Price Extension.
Buying-Selling Wave IN Points are the discretization of the trend variations. They show how Accumulation-Distribution Points sustain a Bullish or a Bearish Trend. These particular points mark the beginning of the new wave. In the same way, they show also the ending of the previous wave.
Buying-Selling Wave Segments are discretization of the wave variations. They show strength and weakness of the wave, changing the price line color by green or red. Besides, the Algorithm highlights Wave Segments that favor the continuation of the wave.
The user can choose to plot indications of Buying-Selling Wave Segments in 2 ways:
1 - Following the Trend Momentum.
2 - Following the Buying-Selling Wave.
For a fast trading, the user can get advantage from the opportunities that the wave can offer. But for the purpose to follow the trend, the user can ride waves, according to the trend direction.
The Overlying Trend discretize the Wave Segments, from the beginning to the end of the Wave. Instead, the Underlying Trend discretize the Bullish-Bearish Trend and its momentum.
GA Trend Waves on the Chart Pane - Main Features
GA Trend Waves in its Pane
-
Important Note
The GA Trend Waves purpose is to understand the nature of trend activity. If there is no trend, it would not be useful.
But GA Waves is an adaptive tool. It can work following Buying Waves and Selling Waves in the development of a Trading Area. Then, if the trading area is large enough, in relation to the contest, it can show relevant wave segments.
In any case, Traders should not attempt to make it work in conditions to which it does not work at the best. In this condition, the experience of the trader is the most valuable tool.
I restrict access to the tool. Use the links in my signature field to gain access to the script. Feel free to send me a PM for any question.
-
Buying-Selling Wave IN Point
GA Waves Algorithm uses a stochastic process to determinate Buying-Selling Wave IN Points. This function has a fast reaction to the trend waves. This is possible because it considers acceleration and deceleration in cyclical time patterns.
The stochastic series returns the beginning of each new wave. But the beginning of a wave is also the ending of the previous wave. Then, following a buying-selling wave, usable for trading, it shows when to exit the market.
Instead, enter the market depends on the wave conditions. Then, the Buying-Selling Wave IN Point is not enough to decide to enter the market. More parameters are necessary.
Bullish-Bearish Wave Segments
The beginning of a Wave Segment highlights the continuation of the wave. The Overlying Trend discretizes the Wave Segmentation. The Algorithm plots the wave segments on the price line. This happens coloring the curve with green or red.
GA Waves highlights the beginning of a Wave Segment according to specific conditions. The visible result is the plotting of relevant points in the chart to show the continuation of the wave. If the Price Extension is too big, the Algorithm skips to plot the wave segments that carries high risk.
Overlying and Underlying Trend Changes and Confirmation
GA Waves highlights changes of the trend using Line, Line Break, Step Line, Circles, and Crosses. The use of Line, Line Break, Step Line, and so on, marks the turning points. In particular, the Underlying Trend confirms the change of the Trend. This changing becomes useful to decide the type of investment to do and pyramiding.
Overlying and Underlying Trend with Envelope
Step Line highlighting Directions and Changes in Underlying and Overlying Trends
-
Note: I restrict access to the tool. Use the links in my signature field to gain access to the script. Feel free to send me a PM for any question.
Thank you
Girolamo Aloe
Founder of Profiting Me Finance Analytics
-
Disclaimer
Nobody in Girolamo Aloe websites and trading view profile is a Financial Advisor. Nothing therein is intended to be constructed as Financial Advice. The content on his websites is for information and educational purposes only.
Trading carries high risk. You should not invest money that you cannot afford to lose. Past performance is not an indication of future results.
Cerca negli script per "profit"
FTSMA - Trend is your frendThis my new solid strategy: if you belive that "TREND IS YOUR FRIEND" this is for you!
I have tested with many pairs and at many timeframes and have profit with just minor changes in settings.
I suggest to use it for intraday trading .
VERY IMPORTANT NOTE: this is a trend following strategy, so the target is to stay in the trade as much as possible. If your trading style is more focused on scalping and/or pullbaks, this strategy is not for you.
This strategy uses moving averages applied to Fourier waves for forecasting trend direction.
How strategy works:
- Buy when fast MA is above mid MA and price is above slow MA, which acts as a trend indicator.
- Sell when fast MA is below mid MA and price is below slow MA, which acts as a trend indicator.
Strategy uses a lot of pyramiding orders because when you are in a flat market phase it will close 1 or 2 orders with a loss, but when a big trend starts, it will have profit in a lot of orders.
So, if you analize carefully the strategy results, you will note that "Percent Profitable" is very low (30% in this case) because strategy opened a lot of orders also in flat markets with small losses, BUT "Avg # bars in winning trades" is very high and overall Profit is very high: when a big trend starts, orders are kept open for long time generating big profits.
Thanks to all pinescripters mentioned in the code for their snippets.
I have also a study with alerts. Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.
HOW TO USE STRATEGY AND STUDY TOGHETER:
1- Add to chart the strategy first, so your workspace will be as clean as possible.
2- Open the Strategy Tester tab at footer of the page.
3- Modify settings to get best results (Profit, Profit Factor, Drawdown).
4- Add study with alerts to your chart with same setting of strategy.
I WILL PROVIDE A DETAILED QUICK INSTALLATION GUIDE WITH THE STUDY!
Please use comment section for any feedback or contact me if you need support.
Self-Adjusting Parabolic SARWhat is this tool?
This is an implementation of the well-known Parabolic SAR indicator that can adjust parameters on the fly to achieve a better profitability.
The algorithm was borrowed from Profitable Parabolic SAR and connected to the basic Parabolic SAR implementation. So, now it will switch parameters automatically without any manual work required.
Profitable Parabolic SAR indicator can be found here:
Parabolic SAR indicator can be found here:
GA - Momentum DivergencesGA Momentum Divergences Script highlights Trend Strength, Overbought-Oversold Conditions, Regular-Hidden Divergences. Besides, it shows the Buying-Selling Pressure.
The practical use of any Momentum Curve helps in the comprehension of:
Supply-Demand Absorption.
Thrusts and their shortening.
The reversing and the continuation of the trend.
True Strength of the Trend.
Price Strength.
Increase and Decrease in Buying-Selling Pressure.
You choose which curve to show, according to your needs. There are 2 groups of curves.
Momentum Curves
GA Momentum.
Commodity Channel Index ( CCI ).
Relative Strength Index ( RSI ).
Stochastic %K.
True Strength Indicator ( TSI ).
Money Flow Curves
GA Money Flow.
Chaikin Money Flow.
Money Flow Index.
Every Curve used in this script has 0 as center. This means that RSI and Stochastic Curves wave around 0 and not around 50.
Fractal Algorithm for Pivots and Divergences
GA Momentum script highlights Divergences. This is possible by the Fractal Calculation of Pivot Points .
The sensibility of the algorithm depends on the look back and on the look forward of pivot points . This means that it does not highlight every divergence. But it marks divergences according to settings.
Besides, the interpretation of those divergences depends on the experience of the trader.
This feature has a particular use for the purpose to simplify and optimize. Besides, it is a very important feature provided by the GA Money Flow script.
Regular and Hidden Divergences highlight the weakening and strengthening of the price behavior. They give an anticipation to price changing. Besides, they enforce the judgment on the condition that marks the price continuation.
The Fractal Algorithm can also mark a Channel. This happens enveloping the Curve between its marked pivot points .
Flags and lines mark Divergences in the Curve. GA Momentum Divergences highlights Regular Divergences and Hidden Divergences.
Price and Momentum, Volume and Money Flow
The GA Momentum script works with any marketplace. It uses price variations and volume variations, according to needs and market.
Every curve available in the script is a mathematical discretization of the market. But in those marketplaces that includes the volume you can use Money Flow Curves. Where the volume is missing the Money Flow Curves return zero. In this case, a Momentum Curve is the right choice because it uses the price variations.
GA Momentum and GA Money Flow are formulas built for this script. They include several peculiarities that are a privilege of other functions. This gives a better visual impact by their practical use.
TSI Curve or RSI Curve are the right choices to replace Money Flow Curves where the volume is not available. In the same way, RSI Curve can replace the TSI Curve for the Trend Strength. Then, the RSI Curve is universal. It works on any marketplace giving a lot of information, using it in the right way.
RSI is a slow curve. It waves above and below the middle line, according to the bullish and bearish trend . This is why it incorporates the Trend Strength in its calculation.
Instead, other choices give Faster Momentum Curves that give different advantages and peculiarities. The final result and purpose do not change.
Market Conditions
Overbought and Oversold Conditions could not cause the immediate reversing of the trend. The changing occurs according to Thrusts and their shortening.
This happens by one or more rebounds in the price action. Indeed, this marks hesitation to continue the advancing or the declining of the price.
The Momentum Curve can highlight the absorption of Supply Pressure and Supporting Demand. This precedes the Climactic Point so as a Thrust during the advancing or declining of the price.
True Strength and Money Flow curves follow the trend. They show where the trend is weakening or strengthening.
When these curves rise together with the trend, this confirms the trend. Instead, when these curves hesitate, they are marking a changing.
TSI and Money Flow have advantages. They show the continuation of the trend by its positive or negative value. Besides, they show the shortening of the trend. Moreover, the curve anticipates the shortening of the thrust.
Money Flow Curves highlights the prevailing of Buying Pressure of Selling Pressure. This is possible because their formulas includes the volume . But the TSI discretization that uses prices, works giving a fair result.
This returns an unconditional conclusion. The volume has a high relevance because of the correlation between effort and result. But despite this, the mathematical discretization of the market can work without it.
Short and Long Signal Lines
The GA Momentum plots 2 extra curves to support the market momentum interpretation. They are Exponential Moving Average applied to the momentum curve.
The Short Signal Line follows the main curve and it gives the first crossing for an entry signal. Of course, this is useful only when there are the right condition for an entry point.
Instead, the Long Signal Line exists to be a trending indicator. When the main curve is approaching it, rebounds, the shortening of the thrust, can mark a changing. Following the thrust, these curves become closer and closer for some waves. This becomes better visible by the plotting of the Histogram.
The Histogram shows the difference between the main curve and the Long Signal Line. The distance between those curves becomes relevant and helpful in many circumstances. This highlights the changing in the Strength or Weakness of the trend.
Short and Long Signal Curves can have a partial plotting. This reduces the impact of those curves on screen. The script can show them only when they give a relevant visual impact for the trading practice.
Coloring
GA Momentum Script colors curve and price bars. It highlights conditions where the price is Overbought or Oversold. But it highlights also divergences with labels and colored lines.
The script plots colors on bars with extended prices. Besides, the script plots colors on bars that are the ending of divergences
GA Momentum script colors the price bars using the same criteria applied to color curves. Color used on the Curve are the same used on the price bars.
True Strength Curve and Momentum Curves color price bars. This happens for the entire Trend Strength. Then the prevailing of the Buying Pressure or Bearish Pressure is also visible on bars. This occurs by the persistent green or red colors according to Pressure and Trend.
Alerts
GA Momentum provides 2 alerts for Bearish and Bullish Signals. Both uses the crossing of Short and Long Signals in the same direction.
Note: I restrict access to the tool.
Regards
Girolamo Aloe
Founder of Profiting Me
Algorithm Builder - Single Trend+ (Plug&Play)Hello traders
I. SCRIPTS ACCESS AND TRIALS
1. For the trial request access, they have to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
Due to the new scripts publishing house rules, I won't mention the URL here directly. As I value my partnership with TradingView very much, I prefer showing you the way for finding them :)
3. You may also contact me directly for more information
II. Algorithm Builder - Single Trend+ Plug&Play
2.1 Concept
That script is an upgrade of the Single Trend:
The Algorithm Builder - Single Trend+ (Plug & Play) is made to detect the convergence of many unrelated indicators, and give a BUY or SELL signal whenever all the selected sub-indicators are converging in the same direction.
The Single Trend+ (Plug & Play) gives one single entry per identified trend - unlike the Multiple Trends editions (also available on my scripts page) which may give more than 1 entry per trend.
The traders select the sub-indicators they want, and see in real-time the BUY and SELL triangles being updated.
III. Plug & Play
Hope you're ready to be impressed. Because, what I'm about to introduce, is my best-seller feature - and available across many of my indicators.
In TradingView, there is a feature called "Indicator on Indicator" meaning you can use an external indicator as a data source for another indicator.
I'm using that feature to connect any external indicator to our Algorithm Builder Single Trend+ Plug & Play (hence the plug and play name).
Let's assume you have your RSI divergence indicator - which is not part of the Algorithm Builder - but noticed that the convergence of an RSI divergence and a MACD gives strong signals.
I mentioned an RSI divergence, but you may connect any oscillator (MACD, On balance volume, stochastic RSI, True Strenght index, and many more..) or non-oscillator (divergence, trendline break, higher highs/lower lows, candlesticks pattern, price action, harmonic patterns, ...) indicators.
Any indicator that displays visual signals are eligible for this feature .... in other words.... all possible indicators. You're welcome :)
THE SKY IS (or more likely your imagination) is the limit :)
Fear no more. The Plug&Play technology allows you to connect it and use it in the convergence/confluence calculations.
Hence, whenever the MACD and RSI divergence will be in the same direction for the first time, you'll get a signal. For the first time only because this is a Single trend edition - you may enter multiple times using our Algorithm Builders - Multiple Trends editions.
To connect your external indicator to ours, we're using a native TradingView feature, which is not available for all users.
It depends on your TradingView subscription plan ( More info here )
If you intend to use our Algorithm Plug&Play indicator, and/or our Backtest Plug&Play suites, then you must upgrade your TradingView account to enjoy those features.
We value our relationship with our customers seriously, and that's why we're warning you that a compatible TradingView account type is required - at least PRO+ or PREMIUM to add more than 1 Plug&Play indicator per account.
We go in-depth on our website why the Plug&Play is an untapped opportunity for many traders out there - URL available on my profile status and signature
IV. Why the Algorithm Builder Single Trend+ (Plug&Play) may help you
I worked with many traders during my career, and their feedback about trading is often pretty similar.
They all tried a lot of complicated indicators, losing their capital, and finally getting back to the basics (even to the basic indicators if I might say)
The art is finding a good combination of indicators and setting strict money/risk management rules.
Easy in concept, but more than 90+% of traders lose money on the markets... which teach us that trading is not only about drawing trendlines, or using cool indicators but finding ways to ease our psychology while trading.
4.1 The Algorithm Builder trading framework
The sub-indicators (full list on our website) weren't chosen randomly. They're based on a trading method we've developed over the last 6 years - while working with traders and other trading quants.
The Algo Builders are made to detect a convergence - and as such, will give a signal once a trend has been identified.
They're not made to detect reversal but have been designed to give a signal when all sub-indicators are either ALL bullish (green) or ALL bearish (red).
We provide a framework based on indicators we selected because they:
1. make sense to be used altogether
2. work on asset classes like INDEX, CRYPTO, STOCK OPTIONS, FOREX, COMMODITIES
3. it may expand your knowledge about what detecting a convergence with pre-selected indicator really means
4.2 Supports and Resistances
The indicator displays the main algorithmic supports and resistances according to our trading method.
I think they're relevant for all asset classes, but you're absolutely free to use any different supports/resistances logic if you want to.
I'm not against it because I know that pivots, Fibonacci levels, etc. may work very well also.
4.3 Choose your favorite risk management algorithm
1/ Pre-defined Algo S/R method using:
- a supertrend of the stop-loss
- the nearest algorithmic resistances for the take profit levels.
2/ Define your own Stop-loss and Take-profits level in real-time
Stop-Loss Management
For what's following, let's assume that 2 is the stop-loss value you inserted in the indicator, and the Algorithm Builder gives a BUY signal.
This is NOT a recommendation at all, only an example to explain how this feature works.
- %Trailing: The Stop-Loss starts 2% away from the entry price - and will move up (because we're on a BUY trade as per our example) every time your trade will gain 2% profit
- Percentage: The Stop-Loss stays static 2% away from the entry price. There is no trailing here
- TP Trailing: This is a very awesome feature. The stop-loss is set 2% away when the trades start.
When the TP1 is hit, the stop-loss will be moved to the Entry price (also called breakeven).
When the TP2 is hit, the SL is moved to the previous TP1 position
- Fixed: Set the Stop-Loss at a fixed position (value should be in currency/units)
Take Profits Management
You can manage up to 2 take profit levels defined as a percentage or price value.
The expected input is in percentage value (for instance, setting the % target of TP1 to 2% will set the TP1 level 2% away from the entry price
4.4 Built-in Trade Manager
This is very likely the most loved utility script that we shared on TradingView.
It's included in your Algorithm Builder - Single Trend+, and will certainly help you immensely to analyze your charts and your trades.
We made sure that all the graphical elements on the chart will be updated in real-time whenever our user change anything on the indicator configuration.
You'll also be able to change the Trade Manager labels positions as you wish :)
4.5 Built-in Risk-to-Reward Panel
The good stuff doesn't stop here.
You'll notice that this sometimes green (when in a LONG), sometimes red (when in a SHORT) panel at the right of your chart.
It displays for the selected trading algorithmic (see 2.3.2 above), a ton of useful real-time analytics.
- Entry Price: the price when the Algorithm Builder will give a signal.
- The Trade PnL in percentage.
- Entry Stop Loss: Distance (in currency/units) between the selected stop-loss algorithm (percent, trailing, TP trailing, etc.) and the entry price.
- Entry TP1: Distance (in currency/units) between the entry price and the first take profit
- Entry TP2: Distance (in currency/units) between the entry price and the second take profit
- Risk/Reward TP1: Using the Stop-loss distance at entry, and Take Profit 1 at entry to compute the risk-to-reward ratio.
- Risk/Reward TP2: Using the Stop-loss distance at entry, and Take Profit 2 at entry to compute the risk-to-reward ratio.
For more details, please check the guides section of my website. Links are in my signature and profile status.
4.6Hard Exits
Our trading method is known for the hard exits, also called invalidation.
The Single Trend+ includes a hard exit based on a MACD - settings are flexible and you may update them.
Having a stop-loss protecting your trade is a best practice - Protecting your stop-loss also from getting hit is incredible.
We prefer invalidate a few positions, even if sometimes we don't want to. Rather than the market hard exiting on us, and leaving with our hard-working money.
4.7 Alerts
Alerts are enabled for:
- BUY/SELL triangles signals
- Trade Manager (SL, TP1, TP2)
- Hard Exits
V. Pain points that we're trying to solve with our Algorithm Builders
Issue #1 There are many informations / indicators / strategies / backtests / noise. Finding the right ones is not a simple task.
Solution #1 A reliable system that removes the external noise is much needed in trading to stay "in the game".
Issue #2 Trading could be quite stressful - The majority doesn't lose in trading because technical analysis is hard, but because managing our psychology is one of the hardest things a human can do.
Solution #2 Some ways to reduce the "trading stress" could be: getting better quality signals and trading like a "machine". Forgetting about Twitter and trusting the system you designed.
Issue #3 Trading without strict rules and only based on what we feel, or what we think the market should do is the fastest way to kiss our money goodbye.
Only 1 indicator generally is not enough. Traders generally use a combination of several indicators but they're monitoring them individually.
It's normal then to feel exhausted at the end of the day ^^ (to say the least)... and exhaustion leads to mistakes which leads to..... (I'm sure you got it) ... capital loss.
Solution #3 As a trader, I needed a trading framework and a method. I offer our trading method but they're plenty others out there. We cannot claim obviously it's the best ever ....but let's say we're using those exact same
scripts ourselves for our trading. And this what we've been recommending our clients to trade with for the past years. Also, having a tool detecting the convergence of several indicators and giving 1 unique signal
for BUY/SELL position will save you a lot of time/energy, and perhaps might help you out getting better trading performance.
VI. Resolving a complex puzzle and having fun in the process
Trading has to stay a passion and not (only be) a source of intense stress.
The most successful traders I know are "trading geeks" - literally always looking for optimizing, searching for the best possible entries, setups, indicators, tools, etc.
For them, it's not even about the money anymore, but only about beating their previous performance.
Why are they doing this? Because it's fun
Might appears as a bold statement, but I guarantee that looking for setups is fun.
One of our users even told us, that it's like playing with "Legos" and we couldn't possibly agree more.
VII. Designing a system that "makes sense"
Another bold statement now. Brace yourselves ladies and gentlemen
The Algorithm Builders allow to design trading systems quickly. What could takes days/weeks/months to find out... might be now within your reach in less than a few hours.
With a bit of practice, less than an hour might be enough per asset/timeframe to find a system that makes sense to you and adapted to your trading capital and psychology.
Assuming our users read our guides and are fully committed to learning a new way of trading - then we do guarantee you'll be able to design kick-ass trading systems that make sense.
"Making sense" doesn't mean at all it's guaranteed to win, it means you're the one defining the convergence of indicators, using your Algorithm Builder, and observe that most of the time - whenever there is a BUY signal, the candlesticks are going upwards - whenever there is a SELL signal, it's going downwards.
This is a necessary step to make real progress from a trading analyst perspective - and hopefully could lead to profits.
VII. Algorithm Builder versus the main trader enemy(=psychology)
This indicator has the goal to help solving one of the MAIN issues encountered by traders.
Most of traders realize, they can't perform with only 1 indicator (or 1 price pattern or 1 price action) and need a combination of multiple indicators before getting in a trade.
Far from being a magic pill, if it could at least reduce the stress you have while trading, then we'll consider we made a great job - it's a technical "useless noise remover", and needs to be followed strictly.
Such trust in a trading system can only be built by testing your Algorithm Builder configuration on either:
1. a demo account
2. or a live account with small bids. And then, increasing progressively the bids if your capital increases progressively.
Though, you should still use your common sense. (for instance: if we get a BUY signal right on a big timeframe resistance we're hitting for the first time).
I'm aware this is a new way of trading but for many, and while we cannot foresee the future, neither predict performance, we believe it might save you a lot of time to find good signals.
My maximum level of happiness will be reached the day when our users will contact me and showing me setups being mine.
I'm sure that even I can learn from my users and, we can all learn from each other Algorithm Builder configuration
VIII. What is a wrong or bad configuration?
Simply put. If you see that most of your signals react such as described below:
1. a buy triangle predicts, most of the time an upwards move
2. a sell triangle predicts, most of the time a downwards move
3. you estimated yourself the stop-loss needed to give enough room for your trades.
4. take profits based on algorithmic support and resistances or your own take profit method.
So what's a good Algorithm Builder configuration? A configuration you're happy with and makes sense.
A better Algorithm Builder setup is one used in demo or a live account w/ small bids for a few weeks, and you're consistent in your trading performance.
If you have any doubt or question, please hit me up directly or ask in the comments section of this script.
I'll never claim I have the best trading methodology or the best indicators. You only will be the judge, and I'll appreciate all the questions and feedback you're sending my way.
They help me a ton to develop indicators based on all the requests I received.
Kind regards,
Dave
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.
Self-Adjusting SuperTrendWhat is this tool?
This is an implementation of the well-known SuperTrend indicator that can adjust parameters on the fly to achieve a better profitability.
The algorithm was borrowed from Profitable SuperTrend and connected to the basic SuperTrend implementation. So, now it will switch parameters automatically without any manual work required.
Alerts
The same alerts as for the basic SuperTrend + special alert to notify user about parameters switching.
Profitable SuperTrend indicator can be found here:
SuperTrend indicator can be found here:
Good luck!
Ichimoku Trend Long StrategyFantastic trading system allowing for high probability trading.
I prefer to use lesser timeframes, like in this example, for lower probability per trade but higher % profits over time. On some timeframes probability can be between 70-100%.
Settings for cryptocurrency:
Conversion: 20
Base: 60
Span B: 120
Displacement: 30
Enjoy!
Please contact me for version with alerts for use on bots like ProfitTrailer, 3Commas, Gunbot etc.
Bert LONG BTC Study (Alerts) - Profit 2018: 1319 % (no leverage)Bert LONG Term BTC study (BITMEX) - script for setting alerts and trading bots
This is a revolutionary strategy for bitcoin (XBT) trading. The strategy is perfectly configured for trading on the Bitmex exchange. No further configuration and setup is required.
The strategy itself recognizes a volatile period or whether the market is in downtrend, uptrend or sideways. Accordingly, it applies the appropriate orders to reach maximum profit.
The strategy can be handled manually, you can receive alerts (popup, email, sms) or can be fully automated by bot (works with: Autoview, Gunbot, Profitview, Jubot and others) without any manual intervention.
What is the minimum and maximum capital I can trade with?
You can trade with 0.0001BTC – 1000BTC. That is one of many advantages of using this strategy on XBT. There is enough liquidity to execute the order for the market price with a big investment amount.
What is the recommended setting?
Timeframe: 45m
Chart: Bitcoin/USD Dollar Perpetual Inverse Swap Contract (XBT)
Leverage: 2x
Orders: Long and Shorts
Why was this strategy created?
You have basically two option how to make money in crypto market. HODL (buy the coin and believe it will rise to the moon) and TRADING (only 3-5% traders are profitable, most of them are full time traders with 5+ years of experience in trading).
If you HODL btc in this year, you are -70 % this year
If you are TRADING, the results depend on how good you are (think about this, if you decide to be a heart surgeon, rocket star or NBA player, do you think you can be? Yes, you can but the chances are very small. The same probability you have that you will be in the 3-5% profitable traders 😊). It takes time, you need experience and still 96% all of you will never be a profitable traders!
If you use Bert BTC long term strategy, you are + 1319 % this year
How well the Bert BTC strategy performs?
Profit in 2018 was 1319 % / 13x (without leverage)
Profit in 2018 was 11 477 % / 115x (with leverage 2)
If you invested (with leverage 2) 1 000 USD you have now 114 766 USD
If you invested (with leverage 2) 10 000 USD you have now 1 147 660 USD
Detailed trades report for 2018 (you can calculate your own profit with specific investments and leverage) – download excel here
Notes:
You will hardly find better strategy on the market which achieves similar results with minimal risk and can operate in any market condition (downtrend, uptrend, sideways).
We guarantee the strategy does not repaint, and we use real candles (not heikin ashi or renko which does not reflect real prices).
We wish you to become financially independent and all your secret wishes to be fulfilled.
And in case if you still want to HODL or you want to be TRADING all the days watching to your monitors, consider to try our strategy at least with a minimum capital invested, you will see that you will not regret in long run. Be patient and the money will come to you!
For access to this strategy visit website: www.cryptobert.io
Bert LONG BTC Strategy - Profit 2018: 1319 % (without leverage)Bert LONG Term BTC Strategy (BITMEX)
This is a revolutionary strategy for bitcoin (XBT) trading. The strategy is perfectly configured for trading on the Bitmex exchange. No further configuration and setup is required.
The strategy itself recognizes a volatile period or whether the market is in downtrend, uptrend or sideways. Accordingly, it applies the appropriate orders to reach maximum profit.
The strategy can be handled manually, you can receive alerts (popup, email, sms) or can be fully automated by bot (works with: Autoview, Gunbot, Profitview, Jubot and others) without any manual intervention.
What is the minimum and maximum capital I can trade with?
You can trade with 0.0001BTC – 1000BTC. That is one of many advantages of using this strategy on XBT. There is enough liquidity to execute the order for the market price with a big investment amount.
What is the recommended setting?
Timeframe: 45m
Chart: Bitcoin/USD Dollar Perpetual Inverse Swap Contract (XBT)
Leverage: 2x
Orders: Long and Shorts
Why was this strategy created?
You have basically two option how to make money in crypto market. HODL (buy the coin and believe it will rise to the moon) and TRADING (only 3-5% traders are profitable, most of them are full time traders with 5+ years of experience in trading).
If you HODL btc in this year, you are -70 % this year
If you are TRADING, the results depend on how good you are (think about this, if you decide to be a heart surgeon, rocket star or NBA player, do you think you can be? Yes, you can but the chances are very small. The same probability you have that you will be in the 3-5% profitable traders 😊). It takes time, you need experience and still 96% all of you will never be a profitable traders!
If you use Bert BTC long term strategy, you are + 1319 % this year
How well the Bert BTC strategy performs?
Profit in 2018 was 1319 % / 13x (without leverage)
Profit in 2018 was 11 477 % / 115x (with leverage 2)
If you invested (with leverage 2) 1 000 USD you have now 114 766 USD
If you invested (with leverage 2) 10 000 USD you have now 1 147 660 USD
Detailed trades report for 2018 (you can calculate your own profit with specific investments and leverage) – download excel here
Notes:
You will hardly find better strategy on the market which achieves similar results with minimal risk and can operate in any market condition (downtrend, uptrend, sideways).
We guarantee the strategy does not repaint, and we use real candles (not heikin ashi or renko which does not reflect real prices).
We wish you to become financially independent and all your secret wishes to be fulfilled.
And in case if you still want to HODL or you want to be TRADING all the days watching to your monitors, consider to try our strategy at least with a minimum capital invested, you will see that you will not regret in long run. Be patient and the money will come to you!
For access to this strategy visit website: www.cryptobert.io
Renko Strategy Open_CloseSimple Renko strategy, very profitable. Thanks to vacalo69 for the idea.
Rules when the strategy opens order at market as follows:
- Buy when previous brick (-1) was bearish and previous brick (-2) was bearish too and actual brick close is bullish
- Sell when previous brick (-1) was bullish and previous brick (-2) was bullish too and actual brick close is bearish
Rules when the strategy send stop order are the same but this time a stop buy or stop sell is placed (better overall results).
Note that strategy open an order only after that condition is met, at the beginning of next candle, so the actual close is not the actual price.
Only input is the brick size multiplier for stop loss and take profit: SL and TP are placed at (brick size)x(multiplier) Or put it very high if you want startegy to close order on opposite signal.
Adjust brick size considering:
- Strategy works well if there are three or more consecutive bricks of same "color"
- Expected Profit
- Drawdown
- Time on trade
This strategy uses Renko charts with TRADITIONAL bricks, so no repaint.
Study with alerts, MT4 expert advisor and jforex automatic strategy are available at request.
Please use comment section for any feedback.
Wave & Trend Accompanying Backtesting StrategyVersion 1.0
Purpose
This backtesting strategy indicator is a accompanying tool for use with my popular trading and alert indicator: Wave & Trend Autoview Advanced Indicator & Alerts
Reference Indicator Link:
Features
This strategy has been programmed to act exactly how the accompanying indicator would be used with an automated strategy such as Autoview or through manual trading
Has identical coloured signals with correct icons for reference with the indicators standard alert conditions (BUY/SELL)
The ability to toggle on or off all the logic and UI presets you could previously use to enhance the standard indicator
No short / longs for the most accurate representation of buys and sells, The strategy will keep buying on every optimal signal (+1 order quantity each time) and then sell all assets on a met sell condition (-all quantity), matching exactly how the reference indicator is used to buy/sell on eg. Binance and also give the most accurate statistics.
Fully customisable in the settings regarding trading strategy to match exactly how you have the reference indicator set up with alerts or how you are trading manually with it.
Ability to choose a timeframe, want to ignore the crypto boom at the latter stages of 2017? Sure you can, change the time frames in the settings to see a more recent representation of your trades.
Access
This indicator is free for existing owners of my Wave & Trend Indicator linked above as an accompanying tool to improve their strategy and net more profit. If you would like access to any of my indicators or would like to know more please find me on my community discord channel where you can find indicator details/documentation and general help:
Discord Link: discord.gg
Thank you for the immense support everyone, happy trading!
- Falco
Multi-RSI BB Accompanying Backtesting StrategyVersion 1.0
Purpose
This backtesting strategy indicator is a accompanying tool for use with my popular trading and alert indicator: Multi RSI BB Fast Trader Autoview Alerts Indicator
Reference Indicator Link:
Features
This strategy has been programmed to act exactly how the accompanying indicator would be used with an automated strategy such as Autoview or through manual trading
Has identical coloured signals with correct icons for reference with the indicators standard alert conditions (BUY/SELL)
The ability to toggle on or off all the logic and UI presets you could previously use to enhance the standard indicator
No short / longs for the most accurate representation of buys and sells, The strategy will keep buying on every optimal signal (+1 order quantity each time) and then sell all assets on a met sell condition (-all quantity), matching exactly how the reference indicator is used to buy/sell on eg. Binance and also give the most accurate statistics.
Fully customisable in the settings regarding trading strategy to match exactly how you have the reference indicator set up with alerts or how you are trading manually with it.
Ability to choose a timeframe, want to ignore the crypto boom at the latter stages of 2017? Sure you can, change the time frames in the settings to see a more recent representation of your trades.
Access
This indicator is free for existing owners of my Multi RSI BB Indicator linked above as an accompanying tool to improve their strategy and net more profit. If you would like access to any of my indicators or would like to know more please find me on my community discord channel where you can find indicator details/documentation and general help:
Discord Link: discord.gg
Thank you for the immense support everyone, happy trading!
- Falco
Pharoceus PT-V2 CryptoScalper RSI+BB+SRSI+Stochastic IndicatorThis is the updated Version of the ProfitTrailerV2 RSI+BB+StochRSI+Stochastic Oscillator Signal+Alerts
Description
This is an all-in-one indicator with alerts that most people call signals and it's designed for Cryptocurrency leverage trading. This indicator features, the most popularly used indicators in technical analysis and are the basic technical analysis indicators any successful trader should master before going into more advance technical analysis tools. The Pharoceus ProfitTrailerV2 CryptoScalper RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts features the Bollinger Bands, Relative Strength Index, Stochastic RSI and Stochastic Oscillator, and it was designed for use with Pharoceus ProfitTrailerV2 CryptoScalper and can also be used with all other trading bots or on its own as a powerful market leveraging and trading indicator using alerts.
The ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts can be customized to any trader specific trading patterns and offers the ability to choose a combination of indicators from the featured ones to use. With the Buy and Sell Signal feature, trading on any cryptocurrency exchange can be automated and with the alerts feature, the Pharoceus ProfitTrailerV2 CryptoScalper RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts will automated buying and selling signals for any crypto trading bot but I'll always recommend using for making buys only when using with any bot. This indicator/script can be used with any base pair; BTC, ETH, and USD or USDT.
As mentioned above, all four indicators can be combined to find a very safe and secure buy and profitable sell signals, which maximizes your profit margins and overall earnings over time. Also, 2 or 3 could be combined as well, depending on the traders knowledge on how to use each indicator independently to find its best settings. My recommendation would be to test all independently and or together with very little capital to find what works best for you. I recommend this because the cryptocurrency market in a very volatile market and unpredictable, some combination of indicators would work for some certain coin pairs and not all, while others would work better with a different setting and a particular coin pair.
As with all script use at your own risk and only trade what you can afford to lose, while this indicator isn't designed to lose you money and I will not be held liable for any losses due to misuse. I am also not a financial advisor and the ProfitTrailerV2 RSI+BB+SRSI+Stochastic Oscillator Signal+Alerts will be made available soon as it's still undergoing rigorous testing and it's in no way and manner affiliated with any group of individuals or bot.
Trade Smart and with only what you can afford. Donations are also welcome to encourage my work, This is a totally free to use script to help traders, small time or big time that works towards making the indicator sharing world accessible to all who will not definitely be ripped-off and support a community of sharing.
discord.gg
BTC: 199qMzu4gvr3bUXWEpLG5uS6TEKKvw5pbe
ETH: 0xf8339952a224a228f2f8c58a5666a8ffleddebfb
BCH: qqmmds8u3f8m6ek387jtefg07525dvaxzqrshd86gz
Stock Profit Calculator — Live Mode
## Overview
This Pine Script indicator calculates, in real time, the financial impact of a stock trade, including purchase/sale commissions, capital gains tax (CGT), and return on investment (ROI). It displays a compact table with key values and also calculates the breakeven price to see at what level the net P/L returns to zero.
---
## Inputs and customization
- **Number of shares:** `shares` defines the purchased quantity.
- **Purchase price:** `buyPrice` is the unit cost; the total purchase is calculated from this.
- **Live selling price:** `sellPrice = close` uses the last bar’s price for live valuation.
- **Fixed or percentage commissions:** `useFixedComm` selects the model.
- **Fixed:** `buyCommFixed`, `sellCommFixed`.
- **Percentage:** `buyCommPct`, `sellCommPct` (applied to notional value).
- **CGT rate:** `cgtRate` is the percentage rate, applied only in case of profit.
- **Table position:** `tablePosition` with predefined options.
- **Visual style:** `colTxt`, `colPos`, `colNeg`, `colBg`, `colHdr`, `colFrame` for text color, positive/negative P/L, background, header, and borders.
> Tip: if your broker uses minimum fees or composite fees, turn on “Use fixed commissions?” and enter the two fixed fees; otherwise, use the percentage model.
---
## Calculation logic
#### Purchase costs
- **Total purchase:**
\
- **Purchase commission:**
\
- **Net entry cost:**
\
#### Sale revenues
- **Total sale (with live price):**
\
- **Sale commission:**
\
- **Net exit revenue:**
\
#### P/L and taxes
- **Gross P/L:**
\
- **CGT (only on positive P/L):**
\
- **Net P/L:**
\
#### ROI
- **Percentage ROI on invested capital:**
\
#### Breakeven
- **Gross breakeven** shown in the table: the unit price that makes the net P/L exactly zero, including purchase cost and an estimate of the sale commission.
\
In the script, if commissions are fixed it adds the fixed sale fee; if percentage-based, the sale component is not included in this row (conservative approximation).
- **Breakeven with tax** (calculated but not shown):
\
Useful when you want the post-CGT result to be exactly zero. Not displayed in the table but ready for use.
> Note: CGT applies only on positive profits; near breakeven, the tax effect is null or only kicks in beyond a threshold. That’s why the script distinguishes between the “gross” and “with tax” versions.
---
## On-screen table
- **Displayed rows:**
- **Purchase:** total net entry cost (with commissions).
- **Sale:** total net exit revenue (with commissions).
- **Gross P/L:** difference between netSell and netBuy.
- **CGT:** estimated tax only if there’s a gain.
- **Net P/L:** P/L after taxes.
- **ROI (%):** percentage return on netBuy.
- **Breakeven:** gross unit breakeven price.
- **Conditional colors:**
- **P/L and ROI:** green for ≥ 0, red for < 0.
- **Headers and cells:** customizable via the color inputs.
- **Efficient refresh:** the table updates only on the last bar via `barstate.islast` to avoid unnecessary redraws.
---
## Behavior and performance
- **Overlay:** displayed on the price chart.
- **Persistent variable:** table is created once with `var table`.
- **Live price:** `sellPrice` follows the current `close`, making P/L, ROI, and breakeven dynamic.
---
## Limitations and suggestions
- **Commission model:** when using percentage commissions, the breakeven in the table doesn’t add the sale percentage fee in the “breakevenPrice” formula. For more precision, you could solve the equation including the percentage fee on exit.
- **Breakeven with tax:** `breakevenWithTax` is a linear estimate; near zero profit, tax may be null. You might choose to display it instead of, or alongside, the gross breakeven.
- **Precision and formatting:** values are shown with `format.mintick`. If the symbol has very small ticks, consider a custom format for better readability.
- **Edge cases:** ROI is undefined if `netBuy = 0` (unlikely in practice but good to note).
> Pro tip: if you want to show the breakeven with tax, add a “Breakeven (post-CGT)” row printing `breakevenWithTax`. If you prefer a single row, replace the shown value with the post-CGT one.
---
Spent Output Profit Ratio Z-Score | Vistula LabsOverview
The Spent Output Profit Ratio (SOPR) Z-Score indicator is a sophisticated tool designed by Vistula Labs to help cryptocurrency traders analyze market sentiment and identify potential trend reversals. It leverages on-chain data from Glassnode to calculate the Spent Output Profit Ratio (SOPR) for Bitcoin and Ethereum, transforming this metric into a Z-Score for easy interpretation.
What is SOPR?
Spent Output Profit Ratio (SOPR) measures the profit ratio of spent outputs (transactions) on the blockchain:
SOPR > 1: Indicates that, on average, coins are being sold at a profit.
SOPR < 1: Suggests that coins are being sold at a loss.
SOPR = 1: Break-even point, often seen as a key psychological level.
SOPR provides insights into holder behavior—whether they are locking in profits or cutting losses—making it a valuable gauge of market sentiment.
How It Works
The indicator applies a Z-Score to the SOPR data to normalize it relative to its historical behavior:
Z-Score = (Smoothed SOPR - Moving Average of Smoothed SOPR) / Standard Deviation of Smoothed SOPR
Smoothed SOPR: A moving average (e.g., WMA) of SOPR over a short period (default: 30 bars) to reduce noise.
Moving Average of Smoothed SOPR: A longer moving average (default: 180 bars) of the smoothed SOPR.
Standard Deviation: Calculated over a lookback period (default: 200 bars).
This Z-Score highlights how extreme the current SOPR is compared to its historical norm, helping traders spot significant deviations.
Key Features
Data Source:
Selectable between BTC and ETH, using daily SOPR data from Glassnode.
Customization:
Moving Average Types: Choose from SMA, EMA, DEMA, RMA, WMA, or VWMA for both smoothing and main averages.
Lengths: Adjust the smoothing period (default: 30) and main moving average length (default: 180).
Z-Score Lookback: Default is 200 bars.
Thresholds: Set levels for long/short signals and overbought/oversold conditions.
Signals:
Long Signal: Triggered when Z-Score crosses above 1.02, suggesting potential upward momentum.
Short Signal: Triggered when Z-Score crosses below -0.66, indicating potential downward momentum.
Overbought/Oversold Conditions:
Overbought: Z-Score > 2.5, signaling potential overvaluation.
Oversold: Z-Score < -2.0, indicating potential undervaluation.
Visualizations:
Z-Score Plot: Teal for long signals, magenta for short signals.
Threshold Lines: Dashed for long/short, solid for overbought/oversold.
Candlestick Coloring: Matches signal colors.
Arrows: Green up-triangles for long entries, red down-triangles for short entries.
Background Colors: Magenta for overbought, teal for oversold.
Alerts:
Conditions for Long Opportunity, Short Opportunity, Overbought, and Oversold.
Usage Guide
Select Cryptocurrency: Choose BTC or ETH.
Adjust Moving Averages: Customize types and lengths for smoothing and main averages.
Set Thresholds: Define Z-Score levels for signals and extreme conditions.
Monitor Signals: Use color changes, arrows, and background highlights to identify opportunities.
Enable Alerts: Stay informed without constant chart watching.
Interpretation
High Z-Score (>1.02): SOPR is significantly above its historical mean, potentially indicating overvaluation or strong bullish momentum.
Low Z-Score (<-0.66): SOPR is below its mean, suggesting undervaluation or bearish momentum.
Extreme Conditions: Z-Scores above 2.5 or below -2.0 highlight overbought or oversold markets, often preceding reversals.
Conclusion
The SOPR Z-Score indicator combines on-chain data with statistical analysis to provide traders with a clear, actionable view of market sentiment. Its customizable settings, visual clarity, and alert system make it an essential tool for both novice and experienced traders seeking an edge in the cryptocurrency markets.
Mean Reversion Pro Strategy [tradeviZion]Mean Reversion Pro Strategy : User Guide
A mean reversion trading strategy for daily timeframe trading.
Introduction
Mean Reversion Pro Strategy is a technical trading system that operates on the daily timeframe. The strategy uses a dual Simple Moving Average (SMA) system combined with price range analysis to identify potential trading opportunities. It can be used on major indices and other markets with sufficient liquidity.
The strategy includes:
Trading System
Fast SMA for entry/exit points (5, 10, 15, 20 periods)
Slow SMA for trend reference (100, 200 periods)
Price range analysis (20% threshold)
Position management rules
Visual Elements
Gradient color indicators
Three themes (Dark/Light/Custom)
ATR-based visuals
Signal zones
Status Table
Current position information
Basic performance metrics
Strategy parameters
Optional messages
📊 Strategy Settings
Main Settings
Trading Mode
Options: Long Only, Short Only, Both
Default: Long Only
Position Size: 10% of equity
Starting Capital: $20,000
Moving Averages
Fast SMA: 5, 10, 15, or 20 periods
Slow SMA: 100 or 200 periods
Default: Fast=5, Slow=100
🎯 Entry and Exit Rules
Long Entry Conditions
All conditions must be met:
Price below Fast SMA
Price below 20% of current bar's range
Price above Slow SMA
No existing position
Short Entry Conditions
All conditions must be met:
Price above Fast SMA
Price above 80% of current bar's range
Price below Slow SMA
No existing position
Exit Rules
Long Positions
Exit when price crosses above Fast SMA
No fixed take-profit levels
No stop-loss (mean reversion approach)
Short Positions
Exit when price crosses below Fast SMA
No fixed take-profit levels
No stop-loss (mean reversion approach)
💼 Risk Management
Position Sizing
Default: 10% of equity per trade
Initial capital: $20,000
Commission: 0.01%
Slippage: 2 points
Maximum one position at a time
Risk Control
Use daily timeframe only
Avoid trading during major news events
Consider market conditions
Monitor overall exposure
📊 Performance Dashboard
The strategy includes a comprehensive status table displaying:
Strategy Parameters
Current SMA settings
Trading direction
Fast/Slow SMA ratio
Current Status
Active position (Flat/Long/Short)
Current price with color coding
Position status indicators
Performance Metrics
Net Profit (USD and %)
Win Rate with color grading
Profit Factor with thresholds
Maximum Drawdown percentage
Average Trade value
📱 Alert Settings
Entry Alerts
Long Entry (Buy Signal)
Short Entry (Sell Signal)
Exit Alerts
Long Exit (Take Profit)
Short Exit (Take Profit)
Alert Message Format
Strategy name
Signal type and direction
Current price
Fast SMA value
Slow SMA value
💡 Usage Tips
Consider starting with Long Only mode
Begin with default settings
Keep track of your trades
Review results regularly
Adjust settings as needed
Follow your trading plan
⚠️ Disclaimer
This strategy is for educational and informational purposes only. It is not financial advice. Always:
Conduct your own research
Test thoroughly before live trading
Use proper risk management
Consider your trading goals
Monitor market conditions
Never risk more than you can afford to lose
📋 Release Notes
14 January 2025
Added New Fast & Slow SMA Options:
Fibonacci-based periods: 8, 13, 21, 144, 233, 377
Additional period: 50
Complete Fast SMA options now: 5, 8, 10, 13, 15, 20, 21, 34, 50
Complete Slow SMA options now: 100, 144, 200, 233, 377
Bug Fixes:
Fixed Maximum Drawdown calculation in the performance table
Now using strategy.max_drawdown_percent for accurate DD reporting
Previous version showed incorrect DD values
Performance metrics now accurately reflect trading results
Performance Note:
Strategy tested with Fast/Slow SMA 13/377
Test conducted with 10% equity risk allocation
Daily Timeframe
For Beginners - How to Modify SMA Levels:
Find this line in the code:
fastLength = input.int(title="Fast SMA Length", defval=5, options= )
To add a new Fast SMA period: Add the number to the options list, e.g.,
To remove a Fast SMA period: Remove the number from the options list
For Slow SMA, find:
slowLength = input.int(title="Slow SMA Length", defval=100, options= )
Modify the options list the same way
⚠️ Note: Keep the periods that make sense for your trading timeframe
💡 Tip: Test any new combinations thoroughly before live trading
"Trade with Discipline, Manage Risk, Stay Consistent" - tradeviZion
Spent Output Profit Ratio | JeffreyTimmermansSOPR
The "Spent Output Profit Ratio" , aka SOPR indicator is a valuable tool designed to analyze the profitability of spent Bitcoin outputs. SOPR is derived by dividing the selling price of Bitcoin by its purchase price, offering insights into market participants' profit-taking or loss-cutting behavior.
This script features two selectable SOPR metrics:
SOPR 30D: A 30-day Exponential Moving Average (EMA) for short-term trend analysis.
SOPR 365D: A 365-day EMA for assessing long-term profitability trends.
How It Works
Key Levels: The horizontal reference line at 1.0 acts as a critical threshold:
Above 1.0: Market participants are generally in profit, indicating bullish sentiment.
Below 1.0: Market participants are selling at a loss, often signaling bearish sentiment.
Background Colors
Green: Indicates bullish conditions when the selected SOPR value is above 1.
Red: Highlights bearish conditions when the value is below 1.
Dynamic Selection
Easily switch between SOPR 30D and SOPR 365D in the settings for tailored analysis.
Features
Customizable SOPR Selection: Toggle between 30-day and 365-day SOPR views based on your trading preferences.
Dynamic Label: A floating label displays the current SOPR value in real-time, along with the selected SOPR metric for easy monitoring.
Background Highlights: Visual cues for bullish and bearish conditions simplify chart interpretation.
Real-Time Alerts
Bullish Alerts: Triggered when the selected SOPR crosses above 1.
Bearish Alerts: Triggered when the selected SOPR crosses below 1.
Clean Visualization
The indicator includes a horizontal reference line and clear color schemes for easy trend identification.
The SOPR Indicator is an essential tool for traders and analysts seeking to understand Bitcoin market sentiment and profitability trends. Whether used for short-term trades or long-term market analysis, this script provides actionable insights to refine your decision-making process.
-Jeffrey
EMA Crossover Strategy with Take Profit and Candle HighlightingStrategy Overview:
This strategy is based on the Exponential Moving Averages (EMA), specifically the EMA 20 and EMA 50. It takes advantage of EMA crossovers to identify potential trend reversals and uses multiple take-profit levels and a stop-loss for risk management.
Key Components:
EMA Crossover Signals:
Buy Signal (Uptrend): A buy signal is generated when the EMA 20 crosses above the EMA 50, signaling the start of a potential uptrend.
Sell Signal (Downtrend): A sell signal is generated when the EMA 20 crosses below the EMA 50, signaling the start of a potential downtrend.
Take Profit Levels:
Once a buy or sell signal is triggered, the strategy calculates multiple take-profit levels based on the range of the previous candle. The user can define multipliers for each take-profit level.
Take Profit 1 (TP1): 50% of the previous candle's range above or below the entry price.
Take Profit 2 (TP2): 100% of the previous candle's range above or below the entry price.
Take Profit 3 (TP3): 150% of the previous candle's range above or below the entry price.
Take Profit 4 (TP4): 200% of the previous candle's range above or below the entry price.
These levels are adjusted dynamically based on the previous candle's high and low, so they adapt to changing market conditions.
Stop Loss:
A stop-loss is set to manage risk. The default stop-loss is 3% from the entry price, but this can be adjusted in the settings. The stop-loss is triggered if the price moves against the position by this amount.
Trend Direction Highlighting:
The strategy highlights the bars (candles) with colors:
Green bars indicate an uptrend (when EMA 20 crosses above EMA 50).
Red bars indicate a downtrend (when EMA 20 crosses below EMA 50).
These visual cues help users easily identify the market direction.
Strategy Entries and Exits:
Entries: The strategy enters a long (buy) position when the EMA 20 crosses above the EMA 50 and a short (sell) position when the EMA 20 crosses below the EMA 50.
Exits: The strategy exits the positions at any of the defined take-profit levels or the stop-loss. Multiple exit levels provide opportunities to take profit progressively as the price moves in the favorable direction.
Entry and Exit Conditions in Detail:
Buy Entry Condition (Uptrend):
A buy position is opened when EMA 20 crosses above EMA 50, signaling the start of an uptrend.
The strategy calculates take-profit levels above the entry price based on the previous bar's range (high-low) and the multipliers for TP1, TP2, TP3, and TP4.
Sell Entry Condition (Downtrend):
A sell position is opened when EMA 20 crosses below EMA 50, signaling the start of a downtrend.
The strategy calculates take-profit levels below the entry price, similarly based on the previous bar's range.
Exit Conditions:
Take Profit: The strategy attempts to exit the position at one of the take-profit levels (TP1, TP2, TP3, or TP4). If the price reaches any of these levels, the position is closed.
Stop Loss: The strategy also has a stop-loss set at a default value (3% below the entry for long trades, and 3% above for short trades). The stop-loss helps to protect the position from significant losses.
Backtesting and Performance Metrics:
The strategy can be backtested using TradingView's Strategy Tester. The results will show how the strategy would have performed historically, including key metrics like:
Net Profit
Max Drawdown
Win Rate
Profit Factor
Average Trade Duration
These performance metrics can help users assess the strategy's effectiveness over historical periods and optimize the input parameters (e.g., multipliers, stop-loss level).
Customization:
The strategy allows for the adjustment of several key input values via the settings panel:
Take Profit Multipliers: Users can customize the multipliers for each take-profit level (TP1, TP2, TP3, TP4).
Stop Loss Percentage: The user can also adjust the stop-loss percentage to a custom value.
EMA Periods: The default periods for the EMA 50 and EMA 20 are fixed, but they can be adjusted for different market conditions.
Pros of the Strategy:
EMA Crossover Strategy: A classic and well-known strategy used by traders to identify the start of new trends.
Multiple Take Profit Levels: By taking profits progressively at different levels, the strategy locks in gains as the price moves in favor of the position.
Clear Trend Identification: The use of green and red bars makes it visually easier to follow the market's direction.
Risk Management: The stop-loss and take-profit features help to manage risk and optimize profit-taking.
Cons of the Strategy:
Lagging Indicators: The strategy relies on EMAs, which are lagging indicators. This means that the strategy might enter trades after the trend has already started, leading to missed opportunities or less-than-ideal entry prices.
No Confirmation Indicators: The strategy purely depends on the crossover of two EMAs and does not use other confirming indicators (e.g., RSI, MACD), which might lead to false signals in volatile markets.
How to Use in Real-Time Trading:
Use for Backtesting: Initially, use this strategy in backtest mode to understand how it would have performed historically with your preferred settings.
Paper Trading: Once comfortable, you can use paper trading to test the strategy in real-time market conditions without risking real money.
Live Trading: After testing and optimizing the strategy, you can consider using it for live trading with proper risk management in place (e.g., starting with a small position size and adjusting parameters as needed).
Summary:
This strategy is designed to identify trend reversals using EMA crossovers, with customizable take-profit levels and a stop-loss to manage risk. It's well-suited for traders looking for a systematic way to enter and exit trades based on clear market signals, while also providing flexibility to adjust for different risk profiles and trading styles.
Stocks & Options P/L TrackerOverview:
The Stocks & Options P/L Tracker is a custom TradingView indicator developed to offer traders precise tracking of stocks & options trades’ profit and loss in real-time. It features a detailed display of P/L intervals, stop-loss and take-profit levels, and an adaptable trailing stop mechanism to help traders manage risk and optimize their trading strategies. This tool is particularly useful for active traders who seek immediate visual feedback on their trades’ performance.
Key Features:
Real-Time P/L Display: Computes and displays the P/L per contract/share and total P/L dynamically on the chart based on the specified entry price, relative to the current market price, and number of contracts or shares.
Configurable Take Profit and Stop Loss: Users can set take-profit and stop-loss amounts, and the indicator will visually mark these levels with corresponding dollar amounts for easy reference.
Trailing Stop Functionality: Offers an option to enable a trailing stop that automatically adjusts based on price movements.
Interval-Based P/L Tracking: Uses customizable intervals to display projected P/L levels above and below the entry price, helping users understand potential profit or loss scenarios at a glance.
Dynamic Labeling and Alerts: Visual labels are used to mark P/L, take-profit, stop-loss, trailing stop, and entry levels. These labels update dynamically on each new price bar to provide immediate insights into trade performance. NOTE: Due to TradingView's limitations with server-side alerts on fixed prices, dynamic alerts (for Take Profit, Stop Loss, and Trailing Stop) that adjust with price changes are not yet available. Alerts must be manually reset to your desired price each time.
Clean and Responsive Design: Utilizes color-coded labels and lines for P/L intervals, making it easy to distinguish profit, loss, stop, and take-profit zones. Colors adjust automatically to the current price to maintain clarity.
User Input Validation: Ensures appropriate input values for items like entry price, contract/share size, and profit/loss intervals to prevent errors and optimize performance.
Efficient Object Management: Implements object reusability for lines and labels to stay within Pine Script's object limits, ensuring smooth operation and maximum accuracy in real-time tracking.
Automatic Adjustments Based on Market Changes: Calculates and adjusts trailing stop levels dynamically based on highest price movement, which provides traders flexibility while maintaining risk controls.
Trader Benefits:
This indicator empowers traders with a robust tool to manage their trades visually and strategically on TradingView. The real-time feedback and customization options help traders make informed decisions, minimize risks, and maximize potential profits.
Happy Trading! :)
Innocent Heikin Ashi Ethereum StrategyHello there, im back!
If you are familiar with my previous scripts, this one will seem like the future's nostalgia!
Functionality:
As you can see, all candles are randomly colored. This has no deeper meaning, it should remind you to switch to Heikin Ashi. The Strategy works on standard candle stick charts, but should be used with Heikin Ashi to see the actual results. (Regular OHLC calculations are included.)
Same as in my previous scripts we import our PVSRA Data from @TradersReality open source Indicator.
With this data and the help of moving averages, we have got an edge in the market.
Signal Logic:
When a "violently green" candle appears (high buy volume + tick speed) above the 50 EMA indicates a change in trend and sudden higher prices. Depending on OHLC of the candle itself and volume, Take Profit and Stop Loss is calculated. (The price margin is the only adjustable setting). Additionally, to make this script as simple and easily useable as possible, all other adjustable variables have been already set to the best suitable value and the chart was kept plain, except for the actual entries and exits.
Basic Settings and Adjustables:
Main Input 1: TP and SL combined price range. (Double, Triple R:R equally.)
Trade Inputs: All standard trade size and contract settings for testing available.
Special Settings:
Checkbox 1: Calculate Signal in Heikin Ashi chart, including regular candle OHLC („Open, High, Low, Close“)
Checkbox 2/3: Calculate by order fill or every tick.
Checkbox 4: Possible to fill orders on bar close.
Timeframe and practical usage:
Made for the 5 Minute to 1 hour timeframe.
Literally ONLY works on Ethereum and more or less on Bitcoin.
EVERY other asset has absolute 0% profitability.
Have fun and share with your friends!
Thanks for using!
Example Chart:
Total Value and Profit for Multiple StocksThis Pine Script code example can be useful for traders and investors who want to monitor and analyze multiple stocks simultaneously on the TradingView platform. Here's a description of how the code can be used and what it is useful for:
1. **Monitoring Multiple Stocks:** The code allows users to input data for up to 10 different stocks, including stock symbols, purchase prices per share, and the number of shares they own. This makes it easy to monitor their portfolio of multiple stocks in one place.
2. **Total Value and Profit:** For each of the entered stocks, the code calculates the total value of the holdings (number of shares multiplied by the current price) and displays it as a label on the chart. It also calculates the profit (or loss) by subtracting the purchase price from the current price per share and multiplying it by the number of shares. This provides traders with a quick overview of how much money they have invested and how much they have earned or lost.
3. **Monitoring Daily Movements:** The code also displays information about the day's price movements, including the lowest and highest prices for the current trading session. It also calculates the price difference since the last closing, providing insight into how the stocks are performing compared to the previous trading day.
4. **Color Coding for Profit/Loss:** The labels displayed on the chart are color-coded. They appear in green if there's a profit and in red if there's a loss. This makes it easy to identify how each stock in the portfolio is performing.
5. **Quick Identification:** With this code, users can quickly identify and focus on the stocks that require attention. They can see which stocks are yielding profits and which are incurring losses, as well as get an overview of the entire portfolio at a glance.
In essence, this code provides traders and investors with the ability to monitor and analyze multiple stocks simultaneously, allowing them to make informed decisions about their portfolio's performance and any adjustments that may need to be made. It also offers a visual way to assess profit or loss for each stock, which can be valuable for risk management and strategy development.
Bitcoin Halving Cycle ProfitThe Bitcoin Halving Cycle Profit indicator, developed by Kevin Svenson , unveils a consistent and predetermined profit-taking cycle triggered by each Bitcoin halving event. This indicator streamlines the analysis of halving occurrences, providing explicit signals for both profit-taking and Dollar-Cost Averaging strategies.
Following each Bitcoin halving event, a fixed number of weeks consistently mark the period of maximum profitability for profit-taking:
🔄 Halving Cycle Profit Timeline Explained:
• 40 Weeks (Post-Halving) = Start of the optimal profit-taking zone.
• 80 Weeks (Post-Halving) = "Last Call" for profit-taking before the onset of a bear market.
• 125 Weeks (Post-Halving) = The optimal timeframe to begin Dollar-Cost Averaging.
(Bitcoin Weekly Chart using Halving Cycle Profit)
One standout feature of this indicator is its inherent clarity and comprehensive labeling. This quality makes it exceptionally easy to discern the locations of key factors and turning points, enhancing your understanding of the market dynamics it highlights.
(Bitcoin Daily Chart using Halving Cycle Profit)
🚀 This indicator doesn't limit its effectiveness to just Bitcoin; it seamlessly integrates with top blue-chip altcoins like Ethereum and most household names in the crypto industry.
( Ethereum Weekly Chart using Halving Cycle Profit)
🛠️ Customizable display options are availible. Users have the flexibility to toggle/adjust labels, lines, and color fills according to their preferences.
📑 In summary, the Bitcoin Halving Cycle Profit indicator is a versatile and user-friendly tool, offering clarity and customization for traders navigating both Bitcoin and top altcoins.
⚠️ It's important to note that while the Bitcoin Halving Cycle Profit indicator provides historical insights, past performance does not guarantee future results. Timing profitability in the cryptocurrency market involves inherent risks, and this indicator should not be construed as financial advice. Users are encouraged to exercise caution, conduct thorough research, and make informed decisions based on their individual risk tolerance and financial goals.