Weekly Returns with BenchmarkSome time ago I published Monthly returns table. Now It's time for weekly one.
To get it work you need a pretty big screen, but I hope it will be useful for some of you.
Features of this table includes:
Display weekly returns of your strategy, benchmark, and alpha over this benchmark.
Select benchmark to be another instrument
Select the date from which you want to compute monthly returns
Show/hide benchmark and alpha
Choose colors for gradient for gain/loss values
Use it with any type of strategy
Use it with replay
Thanks to @MUQWISHI to help me coding it.
It's not about the strategy itself but the way you display returns on your chart. So pls don't critique my choice of the strategy and its performance 🙂
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Pivotlow
ABCD StrategyOne from many harmonic pattern that consists of two equivalent price legs. The ABCD pattern that helps traders predict when the price is about to change direction.
Tracing And Calculation
This code using pivot high and pivot low built-in method and calculate with Fibonacci Retracement.
Limitation
To find ABCD pattern is very difficult, just coming up a few from thousand candle. That why this code using little bit tolerance ratio to get more pattern.
Smoothed Pivot Reversal Strategy [QuantNomad]With this strategy trying to rethink the standard pivot reversal strategy.
Don't like the idea that for 10/10 pivot you have to wait for 10points to confirm it. So I used multiple pivot levels and calculated the average line. This way when we have a new high level approaching it smoothly.
This way you can have a bit better price for entries but the risk of fake entries bit bigger as well.
I'm using the usual trailing stop loss as an exit for this strategy.
Parameters for this strategy is pretty simple:
Left/Right bars for pivot points.
Additional smoothing - you can additionally smooth pivot lines with EMA
% for Traling SL
PRP - Pivot Reversal + PSAR Strategy [QuantNomad]PRP is a combination of Pivot Reversal and PSAR Strategy. With this strategy, I tried to be in a position for big moves in the market.
The strategy uses Pivot Reversal entries with an additional condition that TR of entry bar should be at least X ATRs. This allows to filter out some false signals.
For exits, I recoded the PSAR indicator as trailing stop loss. So I start PSAR Y ATRs below the Pivot level price crossed at entry. After that PSAR behaves as usual.
For stability and easier execution, I check conditions only on the close, no stop/limit orders are used.
TFs Pivot Reversal StrategyThe Pivot Reversal strategy script uses pivot points to create a support and resistance level; based on this levels the strategy creates virtual stop-market orders to catch the trend if the price is crossing the pivot lines.
A configurable trailing-stop and stop-loss is being used to exit an open position.
How to use
The strategy works with all timeframes; the current chart setting is using a 15min timeframe. The strategy enters about 10 trades per day, depending on the used settings.
I'm also providing a "study" version of this strategy, which can be used to automate the strategy by using webhooks for instance.
The script is using a default commission of 0.075% which reflects Bitmex' Taker-Fees. This is just a default and can be modified in the strategy settings for each instrument individually.
How to access
This strategy is a "Invite Only" script. You can can subscribe or purchase the strategy ; please use the link below or send me a message via Tradingview to obtain access to the strategy and study script.
For enabling the script in your Tradingview chart window, click on "Indicators" and select "Invite-Only Scripts".
Full list of parameters:
"Pivot Left Bars" ... Number of bars on the left of the pivot point - used for pivot/peak detection
"Pivot Right Bars" ... Number of bars on the right of the pivot point - used for pivot/peak detection
"Entry Offset " ... Entry price offset after crossing pivot line (in %)
"Trailing Activation Level " ... Trailing stop activation level above/below average price (in %)
"Trailing Offset " ... Trailing stop price (in %)
"Stop Loss " ... Absolute stop-loss (in %)
"Capital Risk Factor " ... Capital risk factor (in %)
"Margin / Leverage " ... Optional leverage factor which can be used to leverage position (in %)
"Backtest ..." ... Backtest timeframe; area outside this timeframe will be grayed out
I'm looking forward to any feedback, reviews or change requests!
Pivot of Pivot Reversal Strategy [QuantNomad]Continue looking for more signifcant pivot points.
This script is based on my "Significant Pivot Reversal Strategy".
In this strategy I use concept of pivot of pivot points.
So for PoP I require that pivot highs point should have 2 lower pivot highs points around them and pivot low 2 higher pivot lows points.
Transparent lines represent usual pivot levels ints.
Not transparent lines represent pivot of pivot levels.
Link to original script:
QuantNomad - Significant Pivot Reversal StrategyI'm working on improving the Pivot Points Reversal Strategy.
As one of the ways to filter out insignificant levels I decided to check that pivot point is not above/below neighbors, but check that it's above/below at least by a certain amount.
I use ATR, so in params, you can set length of ATR and also ATR multiplier. The new level will be calculated only if PP will be above/below neighbors by atr * atr_mult.
It seems this approach might help in some cases.
Here I have PivotPoint + RSI strategy:
Pivot Point Reversal + RSI StrategyThis strategy joins the Pivot Reversal strategy with the RSI indicator.
We check RSI level at the pivot point level and only if RSI condition is satisfied we update levels for stop orders.
The strategy works pretty good for crypto, 30m, 1h, 2h timeframes.
QuantNomad - Pivot Reversal Strategy - XBTUSD - 1hPivot reversal strategy almost always works pretty good for crypto.
Here is setup with 4 left, 4 right bars for pivot points for XBTUSD 1h chart.
It shows a pretty nice performance of 350% with only 10% dd, Sharpe is 1.16.
If you're interested in using this strategy in my scripts you can find alerts for it and a version with added backtesting range.
And remember:
Past performance does not guarantee future results.
Pivot Reversal Strategy with backtest date rangeThis is standard Pivot Reversal Strategy with backtest date range added.
In parameters you can select from/to date for backtesting range.