For the momentum lines -- red indicates that there has been a reducing pivot with momentum, this continues as a grey line for continuation, and will be cancelled when an increasing pivot with momentum is encountered.
Forward looking trend triangle captures the +/- stated standard deviation from the latest bar_index over 2 periods. Movements that trace outside of this can be considered a precursor to an upcoming pivot, and by analyzing skewness and kurtosis, the probability of an upcoming pivot should be better understood.
I have really only looked at this for timescales greater than 5 minutes. Adjust the lookback length accordingly when moving to different timescales:
For example, 1 hr at 10m timescale will be a lookback length of 6 which is too low for accurate analysis, so keep the lookback length appropriate for the timescales being used.
Also realize that trade volume will skew the deviations and regression if you are including data outside of regular trading hours (futures are different, but also experience volume sensitivity -- I maylook into accounting for this in future versions.)
© TheGeeBee
Refined the momentum directionality indicator dots to more accurately capture pivots that are probability driven, rather than just momentum driven.
Added historical values to the Moment data chart (visibility is selectable in the settings).
Added Variance and Mean values to the Moment data chart.
Moved some plots around to see if I could get layering of the data to work, but it doesn't seem to make any difference to z-order of the plots.
Made the background all black, because that's cool and I want to be cool too.
Added further details into the state of the various indicators used - can be disabled in the settings ; it's something I use for debugging and analyzing how the various indicators interact with each other to produce a plottable directional result.
Shifted to using volume weighted moving average in order to lessen the effects of movements outside trading hours / with futures.
Fixed some small bugs in the way entry and skew pivots are calculated
Removed variance from the value display and replaced with R-squared -- if the price movement is too erratic over the channel length, R-squared will drop and indicate that the data being provided for the regression is invalid
Added an setting to allow user to not display boxes on the chart when skew / kurtosis is above or below the critical values.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.