Support Board
Date/Time: Thu, 16 Jan 2025 19:07:22 +0000
Post From: POIV
[2017-11-09 20:40:28] |
Sierra Chart Engineering - Posts: 104368 |
The study can only be used on Historical Daily charts that have open interest data. Here is how it is calculated: sc.OnBalanceVolume(sc.BaseDataIn, Array_OBV);
float TrueHighLowDifference = sc.GetTrueHigh(sc.BaseDataIn) - sc.GetTrueLow(sc.BaseDataIn); if (TrueHighLowDifference != 0) { Array_IntermediateCalculation[sc.Index] = ( (sc.BaseDataIn[SC_OPEN_INTEREST][sc.Index] * (sc.BaseDataIn[SC_LAST][sc.Index] - sc.BaseDataIn[SC_LAST][sc.Index - 1]) ) / TrueHighLowDifference ) + Array_OBV[sc.Index]; sc.CumulativeSummation(Array_IntermediateCalculation, Subgraph_POIV); } else { Subgraph_POIV[sc.Index] = Subgraph_POIV[sc.Index - 1]; } Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |