Cava Signals Backtesting/VisualizerPLEASE READ THE DESCRIPTION CAREFULLY
Trying this again, as it seems I keep violating the rules unintentionally. Moderator, please forgive me as I try to make this right.
This backtesting/visualizer script was created for me to get a visual idea of the Cava Signals indicator throughout its development time and continuous optimization.
This script is to be used on the 30-minute timeframe on supported markets, and whether I can only publish strategies on regular candles, the indicator is meant to trigger on heikin ashi candles.I understand backtesting on non-regular candles produces unrealistic results, but I emphasize that this script is more for visualization purposes rather than accurate $ amounts from the trades. The signals are used along with a dedicated bot configuration, so part of the strategy is not managed by the script, but by the bot's config.
Some behind the scenes on what we are looking at:
a combination of ema and sma crosses on different time frames (5m, 15m, 30m, 60m and 90m) - we call this the wave trend
a combination of stochastic rsi on different time frames (10m, 30m)
a combination of schaff trend cycles on different time frames (5m, 20m and 30m)
a combination of money flow index on different time frames (10m and 30m)
volume information for each supported market/pair
and a couple of other info particular to each pair
With the above combination of data points, we try to optimize our strategy for an entry, for dca'ing down in case the coin goes down as well as dca'ing up to maximize profit when a coin is going up, take profit levels when we recognize a good time to do so, and of course, a closing level. I would like to emphasize the *visualization* purpose of this script in recognizing lows, highs, and market structure to identify the important levels to signal - this script is NOT to be used for accurate backtesting, but for an idea of the overall performance of when signals are triggered.
Let me try to explain the workflow and icons you see on the chart:
The colored circles on the bottom of the chart are all buy signals; each color corresponds to a particular buy signal, we have a combination of 9 possible situations that would trigger a buy signal. Some would trigger a buy signal only in combination with other buy signals or other indicators within the script. we also display a green upwards arrow below bars when a buy signal is triggered.
The colored arrows pointing down on the top of the chart are close signals. We have a combination of 5 closing criteria each color corresponds to one, just like the buy signals do. We only close a trade in profit. If not in profit, we will look to DCA down.
DCA signals are shown by the green flag above bars. they are signals to DCA up or down depending on the trade being negative or positive. DCA'ing up or down is also managed by the bot's configuration for limits on when to accept the signal.
Take Profit levels are shown by the green diamond above bars and work in conjunction with the bot's config on when to take the signal if at all and other take profit levels. Usually, when we hit the first take profit level we move our stop loss to entry via the bot's take profit safety feature. You can see this call with the close entry named TPS .
The black bars you may see on the chart is to illustrate when the market is extended based on a particular strategy. During this period we will not trigger a buy signal unless there is a huge spike in positive volume .
The green number below the bars is the total positive delta volume on the buy candles.
On the table on the right upper corner, we show some information on the market and performance of the backtesting - for visualization purposes only!
Currently, the script is tailored to work with the following markets/pairs:
Binance Spot: ADA, ALGO, ATOM, AVAX, BNB, BTC , DOT, ETH, LINK, LUNA, MATIC, SOL, VET, XRP, XTZ
Binance Futures: BTC , ETH, ADA, ALGO, ATOM, BNB, COMP, DOT, ENJ , LINK, OCEAN, OMG, SOL, VET, XMR, XRP, XTZ, AVAX, AAVE, DOGE, LTC, LUNA, MKR , NEAR, ONT, RUNE, SUSHI, LTC, XLM , COMP, ONT, THETA, FTM , EGLD , WAVES, ONE, HTN , CHZ , HOT, MANA, CRV , RVN, BAT, ANKR, 1INCH, ALICE, ATA , AXS , CHR , COTI, NKN , RAY, REN, SRM , SXP , TLM
ByBit Inverse Perpetual: BTCUSD , ETHUSD
ByBit Futures: AAVE, ADA, ALGO, AVAX, AXS , BNB, BTC , DOT, ETH, LINK, LTC, MATIC, SOL, SUSHI, UNI , XEM, XRP, XTZ
The chosen pairs are subject to change based on the best-performing assets we are constantly analyzing.
I hope this helps to understand the script, its purpose and ideas. I hope this satisfies the community rules - it was not my intention to break them - if there's anything on the above or the script that still violates the guidelines, please let me know and accept my apologies in advance.
If anyone would like to know more, let me know in the comment section.
Thank you!
Profittrailer2
[ProfitTrailer] MVWAPPERCENTAGE Buy/Sell StudyProfitTrailer buy/sell study for MVWAPPERCENTAGE strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] VWAPPERCENTAGE Buy/Sell StudyProfitTrailer buy/sell study for VWAPPERCENTAGE strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] Fibonacci Swing TraderThis script implements one of the ProfitTrailer example strategies: Fibonacci Swing Trader.
For complete info about this strategy please refer to PT wiki.
[ProfitTrailer] DEMA Spread Buy/Sell StudyProfitTrailer buy/sell study for DEMASPREAD strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] DEMAGAIN Buy/Sell Study (standalone)ProfitTrailer buy/sell study for DEMAGAIN strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] DEMAGAIN Buy/Sell StudyProfitTrailer buy/sell study for DEMAGAIN strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] DEMA Cross Buy/Sell StudyProfitTrailer buy/sell study for DEMACROSS strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] HMASPREAD Buy/Sell studyProfitTrailer buy/sell study for HMASPREAD strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] HMACROSS Buy/Sell StudyProfitTrailer buy/sell study for HMACROSS strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] HMAGAIN Buy/Sell Study (standalone)ProfitTrailer buy/sell study for HMAGAIN strategy (standalone indicator).
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] HMAGAIN Buy/Sell StudyProfitTrailer buy/sell study for HMAGAIN strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] OBV Buy/Sell studyProfitTrailer buy/sell study for OBV strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] SMA Spread Buy/Sell studyProfitTrailer buy/sell study for SMASPREAD strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] EMA Spread Buy/Sell studyProfitTrailer buy/sell study for EMASPREAD strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] EMAGAIN StudyProfitTrailer buy/sell study for EMAGAIN strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] EMAGAIN Study (standalone)ProfitTrailer buy/sell study for EMAGAIN strategy. Plot is shown in a standalone chart.
The script highlights regions where trailing is most likely to succeed.
[ProfitTrailer] SMAGAIN StudyProfitTrailer buy/sell study for SMAGAIN strategy.
The script highlights the regions where trailing is most likely to succeed.
[ProfitTrailer] SMAGAIN Study (standalone)ProfitTrailer buy/sell study for SMAGAIN strategy. Study is plotted in a standalone chart.
The script highlights the regions where trailing is most likely to succeed.
[ProfitTrailer] MACD StudyProfitTrailer buy/sell study for MACD strategy.
The script highlights the region where trailing is most likely to succeed.
[ProfitTrailer] RSI StudyProfitTrailer buy/sell study for RSI strategy.
The script highlights the regions where trailing is most likely to succeed.
[ProfitTrailer] Stoch StudyProfitTrailer buy/sell study for STOCH strategy.
The script highlights the regions where trailing is most likely to succeed.
[ProfitTrailer] SMA Cross StudyProfitTrailer SMACROSS study for buy/sell strategies.
The script highlights the regions where trailing is most likely to succeed.