INVITE-ONLY SCRIPT

Premium PRISM Algorithm [ByteBoost]

Aggiornato
The ByteBoost PRISM strategy is designed to operate in various market conditions by leveraging the concept of brownian motion theory, which refers to the unpredictable movement of particles suspended in a fluid. This characteristic of random motion can be effectively utilized for analyzing time series data, such as market candles. Based on this notion, we are making the following assumptions regarding the market.
  • The stock price exhibits characteristics of Brownian motion.
  • The stock price is distributed in a log-normal pattern.
  • Volatility remains constant over time.
  • Options can only be exercised upon expiration.
  • Risk-free interest does not fluctuate over time.
  • There are no random or arbitrary opportunities present in the market.


Development Notes
This Strategy was developed with the PineScript language, version 5. This indicator, and most of the descriptions below, were derived largely from the TradingView reference manual. Feedback and suggestions for improvement are more than welcome, as well as recommended input settings and best practices to assist and guide new users effectively.

Features
The ByteBoost PRISM indicator is capable of analyzing multiple aspects of market behavior simultaneously such as:
  • Detection of potential trend reversals.
  • Assessment of trend strength and market sentiment.
  • Identification of stop loss levels.
  • Discovery of potential entry and exit points.
  • Ensuring compatibility and effectiveness with other indicators.
  • Visualization of strategy using historical data.
  • Customization options available.


istantanea

Strategy Description
PRISM is an all in one strategy that allows the visualization of entry and exit points as well as the historical performance for every set of parameters. PRISM is a slow paced indicator recommended for the 1h timeframe, because it operates on the belief that markets move in a Brownian motion, for which it leaves enough space and time for the market to decide a trend and catch it at the right time as well as finding appropriate exits given the trend.

PRISM can exist in either an uptrend or downtrend state, but it does not necessarily imply that it reflects the true trend being observed. Instead, it emphasizes capturing significant movements and capitalizing on them by utilizing oscillator levels and exit points calculated based on oversold or overbought values, along with the volatility associated with these movements.

Usage
To use this strategy it is first needed to select a correct set of inputs that correspond to the market you are using, the extra, win difference and oscillator length are dependent on the current market and the average price it manages, so these inputs need to be modified for every pair of assets used.
The long and short tags signify the opportune moment to initiate a new position in the market, whether it's a long or short position, respectively. The exit tags indicate when these positions should be closed. If no exits occur before a new long or short position emerges, it is essential to conclude the existing position and commence a new one in the opposite direction.
Regarding exits, up to two exits can be executed for each movement. The user has the flexibility to determine how these exits are utilized. In the input section, a specific percentage of equity can be selected to be sold during the first exit. If set to 100%, only a single exit will be presented. Otherwise, the remaining equity will be sold during the second exit or at the next trend reversal depending on which action occurs first.
In case the user requires additional exits beyond the initial two, the alternative exits option can be activated in the inputs. This will provide access to supplementary exits, although they may be less advisable compared to the primary exits.

istantanea

Inputs / Settings
Capital - If using any leverage multiply the amount of money to invest by the leverage, else input the amount to be invested in every trade.
Start date - The date from which the strategy should begin its analysis. Leave unchanged to start from the earliest available date based on your account's plan.
End date - The date until which the strategy should conduct its analysis. Leave unchanged to continue until the current date.
Extra - The minimum gain required in the market to trigger an exit opportunity. It can be a negative number to allow exits at a loss, potentially minimizing losses.
First exit % - If an exit is decided to be partial, it is very likely that there will be a second exit, this parameter determines the percentage of equity to be sold at the first exit. Note that a second exit may not always be applicable.
Win difference - The minimum difference between the entry point and the first exit to determine whether it should be a full exit or a partial exit, as the exit price approaches the entry price, the probability of a trend reversal increases, a full exit is beneficial.
Limit length - Specifies the number of candles to consider for the overbought and oversold market calculation.
Low limit - Sets the minimum value of the limit to decide a short exit.
High limit - Sets the maximum value of the limit to decide a long exit.
Band length - Determines the number of candles to consider for the volatility analysis.
Band height - Sets the multiplication factor of the band to set the maximum and minimum height.
Increment - Determines the rate at which trend reversals occur. A higher value brings the line closer to the current price faster.
Candles exit - Specifies the minimum number of candles required to pass for an exit to become available after initiating a new position.
Oscillator - Enables or disables the main oscillator, which helps determine entry points. Not all assets may benefit from this parameter.
Oscillator length - Specifies the number of candles considered for the entry points oscillator.
Highlighter - Applies a light color between the trend and average price of each bar.
Trend Labels - Displays labels indicating an uptrend or downtrend.
Signal Labels - View the labels indicating a new long or short position.
Exit Labels - Displays the labels indicating exit points.
Candle color - Color codes the inside of the candles with the current signal.
Cloud - Visualize the average price cloud to determine trend direction.
Oscillator points - Adds visual dots to indicate when the oscillator has changed its trend.
Oscillator line - Displays the values of the oscillator to indicate upcoming trend changes.
Alternative exits - Shows additional exits to the ones we recommend, useful if the user missed an exit or needs to have more than two.
Color uptrend - Determines the color scheme for identifying uptrend movements.
Color downtrend - Determines the color scheme for identifying downtrend movements.
Color long - Sets the color scheme for a new long position.
Color short - Sets the color scheme for a new short position.
Color exit - Decides the color scheme for the exit tag and cross shown.
Color alternative exit - Changes the color scheme for the alternative exit cross.
Color oscillator line - Determines the color scheme used for the oscillator line.

Indicator Visuals
The strategy plots the direction of the trend on the chart and changes its color based on this. It also plots shapes on the chart to denote potential buy (Long) and sell (Short) points, where the signals of short and long will appear as well as exit points which can be found as three different,
Exit 1 - A partial exit which sells the previously selected percentage of equity.
Exit 2 - A second exit that can only happen after an Exit 1 has happened, and sell the remaining amount of equity.
Exit Full - A full exit is executed when the price at the exit point is lower than the entry price plus the win difference value. This condition indicates that it is more advantageous to take a single exit rather than waiting for a second exit.

Strategy Alerts
The strategy does not include built-in alerts. However, alerts can be added using the TradingView interface based on the strategy's buy and sell conditions. This way you will be able to receive notifications on your computer or phone when a new signal goes out.

Details
Repainting: It is important to mention that the strategy can mark false long or short signals, as the oscillator is allowed to repaint on the same candle. So users must make sure the candle has closed on buy/sell conditions.

Excessive capital issue: If you configure the strategy with a big amount of capital (+$1,000,000 for example) it is possible that it will completely stop calculating exit signals, as they will be too big for TradingView’s engine to process.


Conclusion
The ByteBoost PRISM strategy empowers traders by providing comprehensive market analysis, clear entry and exit signals, and the ability to visualize strategy performance using historical data. It is a superior algorithm that maximizes profit potential and minimizes risks, making it the preferred choice for traders seeking a competitive edge in the financial markets.

Disclaimer
This strategy is provided as-is, with no guarantee of profits or responsibility for losses. Trading involves risk, and you should only trade with money you can afford to lose. Always conduct your own research and consider your financial situation before engaging in trading.
Note di rilascio
Update Notes
  • Removed all repainting issues.
  • Fixed issues with exits amount miscalculations.
  • New early entry parameter, which allows for faster but often riskier trades by not waiting for a trend reversal before allowing a secondary transaction.
  • New leverage calculation option for all futures traders to manage risk levels.
    - Leverage: Enables the calculation of the leverage.
    - Leverage amount: Indicates the multiplication factor being used.
    - Leverage flag: Shows a flag at the end of the bars to indicate if the position was liquidated at a certain trade, indicating the leverage being used it too big.
    - Leverage points: Shows exactly where the maximum leverage was exceeded and caused a liquidation.
  • Minor changes.
Note di rilascio

  • Added Commoditiy Channel Index (CCI) for better precision at all given exit points.
byteboostPivot PointsprismstrategyTrend Analysis

Script su invito

L'accesso a questo script è riservato agli utenti autorizzati dall'autore, solitamente dietro pagamento di una commissione. Puoi aggiungerlo ai preferiti, ma sarai in grado di utilizzarlo solo una volta ricevuto il via libera da parte dell'autore. Per ulteriori informazioni, contatta ByteBoost o segui le istruzioni dell'autore riportate di seguito.

TradingView non suggerisce di pagare per uno script e di utilizzarlo a meno che non ci si fidi al 100% del suo autore e non si comprenda il suo funzionamento. In molti casi, è possibile trovare gratuitamente una buona alternativa open-source nei nostri Script della comunità.

Istruzioni dell'autore

To use this algorithm please continue to our official website listed on our tradingview profile.

Vuoi usare questo script sui tuoi grafici?

Attenzione: leggi prima di richiedere l'accesso.

ByteBoost, the smarter way to trade.
Anche su:

Declinazione di responsabilità