Login Page - Create Account

Support Board


Date/Time: Tue, 28 May 2024 17:13:36 +0000



Post From: VolumeAtPriceThresholdAlertV2 why use it all AVAILABLE Subgraphs?

[2018-06-11 22:28:11]
TedMar - Posts: 189
Hi, im not undersatnd why is all Subgraphs use needed ? What is the reson?
Example: Studie8.cpp
scsf_VolumeAtPriceThresholdAlertV2


if (sc.SetDefaults)
.....
.....
for (int SubgraphIndex = 0; SubgraphIndex < SC_SUBGRAPHS_AVAILABLE - 13; ++SubgraphIndex)
    {
      SCString SubgraphName;
      SubgraphName.Format("Trigger %d", SubgraphIndex);

      sc.Subgraph[SubgraphIndex].Name = SubgraphName;
      sc.Subgraph[SubgraphIndex].PrimaryColor = RGB(255, 128, 0);
      sc.Subgraph[SubgraphIndex].DrawStyle = DRAWSTYLE_SQUARE_OFFSET_LEFT_FOR_CANDLESTICK;
      sc.Subgraph[SubgraphIndex].LineWidth = 8;
      sc.Subgraph[SubgraphIndex].DrawZeros = 0;
      sc.Subgraph[SubgraphIndex].DisplayNameValueInWindowsFlags = 0;
    }

in fact when a Bar have more as 60 Price Levels with ThresholdAlert (true) , then all Allerts over 60 Subgraphs no displayed on BAR.

I tryed output over one graph only , but i get only 1 Price level alert.