12. 2. 2023

5 9

ATRトレーリングストップ

ATR Trailing Stops. Works in 137 and higher.

Blog post: https://strategyquant.com/blog/the-atr-trailing-stops-indicator-when-and-how-to-use-it-for-effective-trading/

 

 

 

あなたは私をクロネックスとして知っている。. 私はアイヴァン・ハデックです。ここで使用されている無料のブロックを作成し、その背景にある研究について以下の場所で執筆しています: algotrading.space. 何か作りますか? 一緒に働きましょう.
9 コメント
最古の
最新 最も投票された
ピーター・モロー
16. 2. 2023 9:04 am

hi my code editor can’t compile this script, nor MAMAFAMAKAMA. Hope i spelt that correctly. 😛

イーストピース
18. 2. 2023 1:17 pm

Hello, clonex,
Why multiply the ATR by ATRMultiplier twice, which seems to make the final result meaningless.

            double atrMultiplied = averageCalculator.getValue() * ATRMultiplier;
            double Stop = atrMultiplied*ATRMultiplier;
tjunjie

is there a new link?

エマニュエル
16. 3. 2023 8:59 am

Excellent , Thank you Ivan

GaryAitcheson
12. 5. 2023 10:25 am

This looks really promising. However when I try to run a backtest on MT5 it gives me these errors:
Tester program file ‘SqATRTrailingStops’.ex5 read error
Tester program file Indicators\’SqATRTrailingStops’.ex5 read error
Custom Indicator loading of ‘SqATRTrailingStops’ GBPUSD,H1 failed [557]
Strategy 1.41.74 (GBPUSD,H1) 2017.01.04 00:00:00  cannot load custom indicator ”SqATRTrailingStops” [4802]
Strategy 1.41.74 (GBPUSD,H1) 2017.01.04 00:00:00  indicator create error
Tester OnTester critical error