Support Board
Date/Time: Tue, 26 Nov 2024 08:52:25 +0000
Post From: Ticks per second
[2023-12-26 23:22:37] |
Sawtooth - Posts: 4120 |
Take a look at this Study Collection I made. It is intended to be applied to a chart with a Bar Period Type of 'Price Changes Per Bar', and a Bar Period Value of 1. It finds the bar direction, which is the same as UpTick/DownTick because the Bar Period is 1. Then it sums the UpTicks and DownTicks for the last 10 bars. (You can edit the formula for a different lookback.) Then it subtracts the UpTick count from the DownTick count and draws a histogram. (If you don't see the histogram, do a Chart Recalc.) There are several things you could do with the Sums: - Subtract them and draw a histogram, as in the Study Collection. - When UpTicks are greater than DownTicks, mark the price bars with Background Transparent. Same for the opposite. - Replicate the Sum pairs to create several different lookbacks, then sum their differences to draw a histogram, or mark price bars when all are in one direction. Date Time Of Last Edit: 2023-12-26 23:23:34
|
UpTicks DownTicks sum for n bars+.StdyCollct - Attached On 2023-12-26 23:22:09 UTC - Size: 80.39 KB - 432 views |