输入/搜索内容

baguette by multigrain

ATR
复制: 4
点击次数: 1361
1
关注
1815
关注者

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

策略源码
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
策略参数
策略参数
JMA
JMA Source
JMA Length
JMA Phase
Envelope
ATR Length
ATR Multiplier
评论
全部评论 (0)
暂无数据
暂无数据
  • 1
社区
回测系统
APP 下载
iPhone 下载
© 2015 - ∞ INVENTOR PTE LTD (SG)