![]() ![]() 2) Once created, you can edit the new study and manipulate code and/or variables to do rather interesting things. Capability to examine lower timeframe bars (default 5,000 intra-bars) for enhanced precision. 1) Copy all of the stock TOS Volume Profile study code into a new study youre creating (maybe call it VolumeProfileME, or whatever you want). Support for a high resolution of up to 2,500 rows. This is the same code optimized and with User Inputs to adjust to any length averages you wish:ĭef volLastNDayAvg = Average(todayV, length) ĭef percentOfDay = Round((todayV / volLastNDayAvg) * 100, 0) ĭef avgNBars = Average(curVolume, length) ĪddLabel(ShowDayAvg, "Daily Avg: " + Round(volLastNDayAvg, 0), Color.LIGHT_GRAY) ĪddLabel(ShowTodayVolume, "Today: " + todayV, (if percentOfDay >= UnusualVolumePercent then Color.GREEN else if percentOfDay >= 100 then Color.ORANGE else Color.LIGHT_GRAY)) ĪddLabel(ShowPercentOfDayAvg, percentOfDay + "%", (if percentOfDay >= UnusualVolumePercent then Color.GREEN else if percentOfDay >= 100 then Color.ORANGE else Color.WHITE) ) ĪddLabel(ShowBarAvg, "Avg 30 Bars: " + Round(avgNBars, 0), Color.LIGHT_GRAY) ĪddLabel(ShowCurrentBar, "Cur Bar: " + curVolume, (if curVolume >= avgNBars then Color.GREEN else Color. This indicator provides a high-resolution and high-precision implementation of Volume Profile with flexible range settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |