LonesomeTheBlue

Pivot Point SuperTrend [Backtest]

Hello All,

This is backtesting result of following indicator/strategy. I didn't work on adding other indicators. maybe in the future I can try to combine this with other indicators.

You can visit following link to see "Pivot Point SuperTrend". by using this backtesting tool, you can test&find better options


There is option "Use Center Line to Close Entry for 50%". by default it's not enabled. if you enable this option, pivot point center line may push you to close your entry for 50% (can be used as early stoploss/take profit line if you think it's risky)


Enjoy!
Release Notes: Made some improvements in the strategy.

Also following options added:
"Enter Only Long Position" option added.
"Min profit Rate if Center Line Used" option added. it doesn't close half of the position if it didn't reach defined profit rate. %1 by default
Remove from Favorite Scripts Add to favorite indicators
If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9

Earn $30
https://www.tradingview.com/gopro/?share_your_love=LonesomeTheBlue

Comments

@LonesomeTheBlue I believe there is a fundamental flaw in the code. I see the built in functions "pivothigh" and "pivotlow" were used. These functions are not meant to be used within strategies because they repaint (you can test it out in replay mode....the pivothigh and pivotlows don't appear until about 4-5 candles after the high/low was formed). They are only meant for live trading to use as reference points.
+13 Reply
@janor123, You need to understand pivot points first. then you can understand why pivot point appears later. it's not a random number, it appears when it confirms that if it's highest/lowest of left and right bars. when you give 5 for period, it checks 5 bars left and 5 bars rigth then it decides it's PP not not. this is not repaint, this is latency to find PPs. also no relation between PPs latency and this strategy/study and repaint is not possible in it. I recommend you to check and undertsand the the idea and script.
+1 Reply
AnthonyS999 LonesomeTheBlue
@LonesomeTheBlue, Thank you so much for the wonderful script. Especially making it non-repainting. I can confirm that it does not repaint from forward testing in the last two weeks.
Reply
Does it repaint ??? Reply
+7 Reply
I like your strategy, i'have implemented a second strategy Range Filter Buy and Sell and i made as whichever comes firts...doesn't look bad at all
+3 Reply
kkhaial riodda
@riodda, Hello friend, wondering if your willing to share your modification ?

Thanks mate
Reply
Hello! I apologize for the stupid question, how to use this script?
+2 Reply
If you make the backtest using trailing stop and take profit then it works quite well.
+2 Reply
@LonesomeTheBlue thank you, I love it, It's better than the normal one, at catching trends, I got no problems with it, I Optimize it for each asset class I trade, & it works pretty well. / I'm using it mainly to trade NAS100USD & USDWTI. The best settings results I've seen are 1 / 2,6 / 2, Start there and tailor it for your Assets, Each one is Unique No one settings fits all.
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out