From Hari P. Krishnan's book, The Second Leg Down: Strategies for Profiting after a Market Sell-Off : "We start by specifying the year on year (YoY) change in the index. Next, we calculate the 5 year trailing Z score of the YoY returns. We also calculate the 5 year trailing Z score of 1 month historical volatility for the index, using daily returns. Our...
Quick and simple BB bubble indicator for Futures Draw an arrow if candle corpse is out of Bollinger Band (Upper / Lower) It's not a signal. I use it to off-load my charts
The new feature of arrays allows for a multitude of new possibilities within Pinescript. This script implements a bubble sort function with most probable efficiency of О(n^2) with a best-case being O(n). This sort does not require large amounts of memory to process and has advantages when sorting small lists of data. The main advantages: Bubble sort is an...
In the era of central bank's helicopter money, the market will always be skyrocketing up and up given enough time. What's the strategy to profit from indices? Only short the market when its in a state of euphoria /irrational exuberance bubble, or sell when it is confirmed (20% drawdown). Otherwise, you really have no reason not to long at every chance. ...