HeWhoMustNotBeNamed

VixFixLinReg-Strategy

This idea came up while discussing about strategies with one of the trading enthusiast from tradingview community.

Strategy basically uses existing script of Vix Fix by Chris Moody:


VixFix is a great indicator for finding the market bottoms. But, sometimes it generates signal too early. But, we can apply linear regression on vix fix to find vix fix top to make timing much better.

Entry condition:
  • Wait for Vix fix bar to turn lime.
  • Once vix fix is turned lime, then wait for linear regression (shown below 0) to turn lime from green. This indicates VIX-Fix has started declining.
  • Go long once above two conditions are satisfied

Exit Condition:
  • ATR Based Stop
  • Applied only if linear regression is green - which means VixFix rising.

Note: This is ideal for identifying market bottom. May not yield good results on individual stocks.

Skript med en öppen källkod

I sann TradingView-anda har författaren till detta skript publicerat det som öppen källkod, så att handlare kan förstå och verifiera det. Skål för författaren! Du kan använda den gratis men återanvändning av den här koden i en publikation regleras av våra Ordningsregler. Du kan göra den till favorit för att använda den i ett diagram.

Vill du använda det här skriptet i ett diagram?
Please PM me if you need access to any invite only scripts.

Join tradingview: https://www.tradingview.com/gopro/?share_your_love=sudh

Kommentarer

Hello HeWhoMustNotBeNamed,

I really love this idea it is awesome! Thanks for your contribution :)
When using the original script from Chris Moody, I tweak some parameters and it became much more accurate. He had recommended this in the description because the initial ones were designed for Intraday.

So, I tweak those same parameters in the Bottom Finder of your script, but I was wondering if there were parameters that could be exposed to further tweak the linear regression part (some of the entries are too late or lead to negative returns). It is a very good script though, just asking by curiosity.

Thank you again :)
100 coins
+1 Svara
HeWhoMustNotBeNamed OnlyLogicNoEmotions
@OnlyLogicNoEmotions, Hi, thanks for your comments. I will check parameter tweaks.

For linear regression, I think only thing you can control is Period - which is same for standard deviation calculator as well. I can add separate parameter for that if that helps.

Also, check my recent script which is similar but uses moving average candles instead of OHLC.

+1 Svara
OnlyLogicNoEmotions HeWhoMustNotBeNamed
@HeWhoMustNotBeNamed, Yeah a period parameter should help. Many tweaks I make often involve changing period lengths.

For your other script, I actually tried it first, but I need to wrap my head around it. The first thing is that not all parameters of the bottom finder are there so I would need to re-think my tweaking.
And the second thing is that I still don't fully understand how to use it. But I am definitely considering it.

It too looks awesome! Thanks :)
+1 Svara
SugarTrader77 OnlyLogicNoEmotions
Hello @OnlyLogicNoEmotions, thanks for your feedback, I am also a fan vix fix. i am currently testing it, using original but also this version from HeWhoMustNotBeNamed
Do you mind sharing your settings that you tweaked? and on which timeframe you look at? Thanks
+1 Svara
Really good idea. thank you.
+1 Svara