February 12, 2023

5 6

ATR Trailing Stops

ATR Trailing Stops

6 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Peter Morrow
Peter Morrow
February 16, 2023 9:04 am

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

eastpeace
eastpeace
February 18, 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;
Emmanuel
Emmanuel
March 16, 2023 8:59 am

Excellent , Thank you Ivan