PROTECTED SOURCE SCRIPT
Up Down Ratio

WORKS ONLY IN LIVE MARKET. NO BACK TESTING POSSIBLE.
A Tick block is defined as a set of last 'n' ticks. 'n' is user specified and default is 100.
Script calculates the ratio of upticks to downticks in every tick block. This is called UDR (up down ratio)
It also calculates the lowest price in the tick block.
The price lows (in each block) are matched with UDR and looks for convergence or divergence.
Script generates entry and exit signals based on convergence/ divergence.
Profit and loss can be user defined.
Default settings work for CRUDE OIL (Indian Rupee)
Convergence is Bullish
Divergence is Bearish.
Ticks per second for the last tick block is displayed as TPS.
TPS may be used to gauge activity level and co-relates largely with volume acceleration.
A Tick block is defined as a set of last 'n' ticks. 'n' is user specified and default is 100.
Script calculates the ratio of upticks to downticks in every tick block. This is called UDR (up down ratio)
It also calculates the lowest price in the tick block.
The price lows (in each block) are matched with UDR and looks for convergence or divergence.
Script generates entry and exit signals based on convergence/ divergence.
Profit and loss can be user defined.
Default settings work for CRUDE OIL (Indian Rupee)
Convergence is Bullish
Divergence is Bearish.
Ticks per second for the last tick block is displayed as TPS.
TPS may be used to gauge activity level and co-relates largely with volume acceleration.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.