Support Board
Date/Time: Sat, 01 Feb 2025 01:45:03 +0000
sc.ATR has different result with ATR study's
View Count: 697
[2019-06-14 11:40:22] |
PK - Posts: 12 |
Hi, I tested on USDJPY pair and rather surprise why the result produced by sc.ATR (0.00254) is far different with the one produced by ATR study (0.035) at current index. +my code: sc.ATR(sc.BaseDataIn, TrueRange, AverageTrueRange,14, MOVAVGTYPE_SIMPLE); s_RMessage.Format("ATR: %.5f", AverageTrueRange[sc.Index]); sc.AddMessageToLog(s_RMessage,1); +for the inputs of ATR study, I also set 14 and Simple moving average type. Could you support to double-check on the issue? Thanks & regards. |
To post a message in this thread, you need to log in with your Sierra Chart account: