[Max] Volume Entropy Divergence FilteredAn indicator that represent in 3 line my Volume Entropy Divergence Heatmap indicator.
I've use a very basic sum with some weights like this : Long therm > Mid therm > short Therm, But short and mid therm can still have influence.
Some people did request this indicator to be able to use the heatmap in there indicators with the new tradingview link function. There still a problem that will be the subject of a future update, when the divergence is to high it's often mean that instead of a divergence, we have a continuation or a parabolic.
This indicator still also need a location checker to try to don't short the bottom.
There is 3 lines, 2 are the sum of the negative/positive divergences.
The third one is the result off a karman volatility filter, with differents weigths for each line off the heatmap, it can easily used to find reversals.
You have some options to play with the volatility filter, the defaults settings are the ones I think is the best.
This script will still private for the same reasons raised in the original heatmap.
My policy : If you can provide me nice updates, I will give you the source code, if within 3 month I don't use it anymore it will pass in public.
If you have any improvement idears I will be please to ear them.
Have a nice day !
Max
Bernoulli
Bernoulli Process - Binary Entropy FunctionThis indicator is the Bernoulli Process or Wikipedia - Binary Entropy Function . Within Information Theory, Entropy is the measure of available information, here we use a binary variable 0 or 1 (P) and (1-P) (Bernoulli Function/Distribution), and combined with the Shannon Entropy measurement. As you can see below, it produces some wonderful charts and signals, using price, volume, or both summed together. The chart below shows you a couple of options and some critical details on the indicator. The best part about this is the simplicity, all of this information in a couple of lines of code.
Using the indicator:
The longer the Entropy measurement the more information you are capturing, so the analogy is, the shorter the signal, the less information you have available to utilize. You'll run into your Nyquist frequencies below a length of 5. I've found values between 9 and 22 work well to gather enough measurements. You also have an averaging summation that measures the weight or importance of the information over the summation period. This is also used for highlighting when you have an information signal above the 5% level (2 sigma) and then can be adjusted using the Percent Rank Variable. Finally, you can plot the individual signals (Price or Volume) to get another set of measurements to utilize. As can be seen in the chart below, the volume moves before price (but hopefully you already knew that)
At its core, this is taking the Binary Entropy measurement (using a Bernoulli distribution) for price and volume. I've subtracted the volume from the price so that you can use it like a MACD, also for shorter time frames (7, 9, 11) you can get divergences on the histogram. These divergences are primarily due to the weekly nature of the markets (5 days, 10 days is two weeks,...so 9 is measuring the last day of the past two weeks...so 11 is measuring the current day and the past two weeks).
Here are a couple of other examples, assuming you just love BTC, Stocks, or FOREX. I fashioned up a strategy to show the potential of the indicator.
BTC-Strategy
Stock-Strategy (#loveyouNFLX)
FOREX - (for everyone hopped up on 40X leverage)