Type/to search

baguette by multigrain

ATR
1
Follow
1781
Followers

Rationale
The rationale behind this indicator is that: when the price of an asset reaches an extreme, regardless of the trend, there is a (maybe not equal but) opposite reaction.

Settings
The default settings will not be the best for whatever timeframe you choose. I personally believe a longer than 'normal' JMA Length is best.

JMA Source: The source in which the Jurik Moving Average calculations are based off of.
JMA Length: Controls the length of the Jurik Moving Average.
JMA Phase: A lag controller of sorts. Increasing the phase increases overshoots but reduces lag, decreasing the phase decreases overshoots but increases lag.

ATR Length: The length in which an average true range value will be calculated with.
ATR Multiplier: This multiplier controls the 'width' of our envelope or our extreme bands.

Credits
@gorx1 for the improved and more accurate (?) Jurik Moving Average calculations.
@redktrader for the ATR envelope calculations.

回测

img

Source
Pine
/*backtest
start: 2022-04-07 00:00:00
end: 2022-05-06 23:59:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © multigrain
//@version=5
Strategy parameters
Strategy parameters
JMA
JMA Source
JMA Length
JMA Phase
Envelope
ATR Length
ATR Multiplier
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)