obv sma high
Forums › ProRealTime English forum › ProScreener support › obv sma high
- This topic has 9 replies, 3 voices, and was last updated 1 year ago by robertogozzi.
-
-
07/30/2023 at 5:33 PM #21833407/30/2023 at 6:17 PM #21833607/30/2023 at 7:54 PM #21833807/30/2023 at 8:13 PM #21834007/31/2023 at 12:55 PM #218373
avgOBV=average[20](myOBV) * 4 actually multiplies the average, not OBV as 4 times OBV would be avgOBV=average[20](myOBV * 4).
Anyway, it might depend on other conditions requiring more than 256 units.
Are you using other conditions?
07/31/2023 at 12:58 PM #218374You can simply create this indicator to spot the values returned:
123myAVG = avgOBV=average[20](myOBV)myAVG4 = avgOBV=average[20](myOBV) * 4return myAVG AS "average[20](myOBV)",myAVG4 AS "average[20](myOBV) * 4"07/31/2023 at 1:29 PM #21838107/31/2023 at 1:33 PM #218383Hi Roberto,
It doesn’t matter if you first multiply the OBV by four and then calculate the average or if you multiply the average by four, the result is the same…
Average[20](myOBV)*4 = Average[20](myOBV*4)
(Why more than 256 units…?)
1 user thanked author for this post.
07/31/2023 at 2:57 PM #21839807/31/2023 at 4:19 PM #218401IF he has more conditions that exceed 256 bars the calculations could be affected. Just guessing.
I got your explanation aboyt the multiplier 🙂
-
AuthorPosts
Find exclusive trading pro-tools on