Support Board
Date/Time: Thu, 06 Mar 2025 09:46:35 +0000
Post From: Revising Kiwi's ATR Trailstop to take over average calculation
[2022-01-17 22:42:58] |
Kiwi - Posts: 375 |
In the code you'll find two lines (spaces may be different but): Subgraph_diff2[pos] = max(Lref , max(HiLo, Href));
sc.MovingAverage(Subgraph_diff2, Subgraph_atrmod, MOVAVGTYPE_WILDERS, pos, period); Just change MOVAVGTYPE_WILDERS to MOVAVGTYPE_SIMPLE to change the moving average type. |