GeyzsonKristoffer

Median Value Traded

GeyzsonKristoffer מעודכן   
The Median Value Traded script is an indicator that allows traders to visualize the median value traded for a particular asset. The median value traded is an important metric as it provides a clearer understanding of the trading activity for an asset, which can be used to inform trading strategies.

To use this script, simply add it to your chart and adjust the "Lookback Period" input as desired. The "Lookback Period" input determines the number of bars used in the median calculation, with a default value of 20.

The median value traded is calculated by taking the product of the volume and closing price for each bar in the lookback period, calculates the median value, and then divides by one million for easier readability.

The script also includes color inputs for the positive and negative columns, allowing traders to customize the appearance of the plot to their liking.

Overall, the Median Value Traded script is a useful tool for traders looking to gain a deeper understanding of trading activity for a particular asset.
הערות שחרור:
- Added median value traded values for less than the length, allowing for more accurate and complete visualization of the median value traded.
- Updated the script to properly function when changing the input length. Previously, changing the length input would not properly update the calculations, resulting in inaccurate median values. With this update, the script now functions as intended and provides accurate median values regardless of the length input.

סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?