Support Board
Date/Time: Mon, 07 Jul 2025 11:07:32 +0000
Post From: Indicator Support
[2019-10-30 18:18:36] |
Vivil - Posts: 7 |
Is it that what you mean? (see attachment) double Vol = 0; double hi = (double)sc.High[sc.Index-1]; double lo = (double)sc.Low[sc.Index-1]; double op = (double)sc.Open[sc.Index-1]; double cl = (double)sc.Close[sc.Index-1]; for (int i = sc.Index -1; i > sc.Index - 1 - In_VolumePeriode.GetInt(); i--) { Vol += sc.Volume[sc.Index]; } double dValue = ((cl-lo) - (hi-cl))/(hi-lo)*Vol; sg_Indikator[sc.Index] = dValue; Date Time Of Last Edit: 2019-10-30 20:09:00
|