OPEN-SOURCE SCRIPT

Price Move Exceed % Threshold & BE Evaluation1

Handy to see history or quick back test of moves. Enter a decimal for percentage wanted [i.e. 0.10 for 10%] and choose the time frame wanted [i.e. 1D for daily back test]. The occurrences of the up or down threshold are plotted in the panel as maroon or green squares and can be read as red or green text in the panel data and on the right hand scale [expand scale to make all values visible if wanted]. The last [blue] number in the panel is the average move for the chosen [in inputs] period.

My usage is mostly to see what % has been exceeded for break even prices of option trades. Example: in SPY a spread has a break even of 567 when the price is 570; I get the percentage of the $3 move by dividing 3/570 to get 0.0526 [rounding though not okay not to]; the results show as described above.
CyclesTrend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité