This indicator looks simple but it was bit tricky to code and to make it work on all time frames .
I have used array in this to showcase the use of array, array give you more flexibly.
It works on all time frame 1m 2m 3m 5m 10m 15m 30m 60m 120m.
When the time frame is greater than the or equal to "D" it will show the current bar volume only.
Total volume is...
Buying and Selling Smoothed with Histogram
Smoothed version with version with a red line representing the selling pressure and a green line which represents the Buying pressure.
If the green line is above the red line it would mean that the Buying pressure is more and vice versa.
The difference between the two is plotted as a Histogram. This is a cumulative...
Buying and Selling Pressure Raw
Raw Buying and selling pressure Indicator. The Raw buying and selling indication is provided in terms of a Columns.
Green bars above zero show the buying pressure and the red bars below the zero line show the selling pressure.
This presents a good visual representation of the dominating pressure.
This strategy allows you to back test longing or shorting or do nothing during time increments of 30 minutes. The price trends in one direction every 30 minutes and this strategy allows you to test various 30 minute time frames across a range of dates to capitalize on this.
Make sure you are in the 30 minute time frame while viewing the performance and trade history.
This indicator show a simple rolling cumulative volume. A field is specified. Then all last volume indicators are summed.
For example it could calculate last 24h Volume if you use the 1h bars and set the length for 24.