3/5/2024 0 Comments Volume profile in thinkorswimIn this case, I used the absolute value rather than the negative number output of the sell volume pressure for the sell volume pressure average. The average types and lengths are adjustable. The next indicator I created is a two average indicator, an average for buy volume pressure and an average for sell volume pressure. tPaintingStrategy(paintingStrategy.HISTOGRAM) ĪddLabel(yes, "Total Volume: " + volume(), color.LIGHT_GRAY) ĪddLabel(yes, "Buy Volume: " + buyvol, color.GREEN) ĪddLabel(yes, "Sell Volume: " + absValue(sellvol), color.RED) ĪddLabel(yes, "BVP%: " + buyvolper, color.GREEN) ĪddLabel(yes, "SVP%: " + sellvolper, color.RED) Def buyvol = Round(((high - open) + (close - low)) / 2 / (high - low) * volume(), 0) ĭef sellvol = Round(((low - open) + (close - high)) / 2 / (high - low) * volume(), 0) ĭef sellvolper = absValue(sellvol) / volume() * 100 ītPaintingStrategy(paintingStrategy.HISTOGRAM)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |