• Overview
  • Reviews
  • Comments
  • What's new

Basic statistics weekdays

Basic statistics and variation series of a financial instrument during weekdays.


Comment to the algorithm

Basic statistics and variation series are calculated once in the process of the indicator's initialization.

Algorithms for calculating the mean standard deviation, mode and corresponding frequency shift (probabilities) are built directly in the indicator.


Comment to trading

The indicator is designed for monitoring the most important dynamic statistics (mean standard deviation, mode) and probability of occurrence of the fluctuation band of the given symbol's prices.


Input parameters:

_I - block header

  • minuend - minuend price to form the range
  • subtrahend - subtractive price to form the range
  • pqToDisplay - data which are higher than this probability are displayed in different color
  • theScaleFactor - scale ratio

_II - block header

  • theNumberOfBarsToCalculateTF - number of bars to calculate statistics on the current timeframe

_III - block header

  • font - font of the indicator's data
  • maxFontSize - font size of the table header string
  • subFontSize - font size of the table header substring
  • tableFontSize - font size of the main data in the table

_IV - block header

  • shift_Y_Total - total shift of all objects along the Y axis
  • shift_X_Total - total shift of all objects along the X axis

_V - block header

  • shift_0RNC - shift of the main header of the indicator table
  • shift_1RNC - shift of the subheader of the indicator table

_VI - block header

  • colorPQ - color to display probabilities higher than the preset one
  • colorDay - color to display a label of the current weekday
  • colorDayWeek - color to display a label of the current weekday
  • color1RNC - table header color
  • color2RNC - table header substring color
  • color3RNC - color of statistics header elements
  • color4RNC - color of string elements of data headers
  • color5RNC - table data color
No reviews
Version 2.0 - 2015.10.27
Optimized code.