Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //@version=4
- study("mean",overlay=true)
- count=open?1:0
- number=cum(count)
- sum=cum(close)
- mean=sum/number
- plot(mean)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement