ATR ratio

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

ATR ratio

Postby Alexander.Gettinger » Fri May 26, 2017 2:11 pm

Formula:
ATR ratio = ATR_S/ATR_L, where
ATR_S - Average True Range with [ShortPeriod] number of periods,
ATR_L - Average True Range with [LongPeriod] number of periods.

ATR_Ratio_JS.PNG


Download:
ATR_Ratio_JS.jsl
(1.89 KiB) Downloaded 500 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 14 guests