• 概述
  • 评论
  • 评论
  • 新特性

Variational series

Basic statistics and variation series of a financial instrument.


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
  • theScaleFactor - scale ratio

_II - block header

  • theNumberOfBarsToCalculateM1 - number of bars to calculate statistics on M1
  • theNumberOfBarsToCalculateM5 - number of bars to calculate statistics on M5
  • theNumberOfBarsToCalculateM15 - number of bars to calculate statistics on M15
  • theNumberOfBarsToCalculateM30 - number of bars to calculate statistics on M30
  • theNumberOfBarsToCalculateH1 - number of bars to calculate statistics on H1
  • theNumberOfBarsToCalculateH4 - number of bars to calculate statistics on H4
  • theNumberOfBarsToCalculateD1 - number of bars to calculate statistics on D1
  • theNumberOfBarsToCalculateW1 - number of bars to calculate statistics on W1
  • theNumberOfBarsToCalculateMN1 - number of bars to calculate statistics on W1

_III - block header

  • font - font of the indicator's data
  • 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

  • pqToDisplay - data which are higher than this probability are displayed in different color
  • colorPQ - color to display probabilities higher than the preset one
  • 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
无评论
版本 3.0 - 2015.10.27
Optimized code.
版本 2.0 - 2015.10.21
Implemented an option for the calculation of the fluctuation range of two consecutive bars' prices with the same name. Example: if minuend=Open and subtrahend=Open, then by вафгде minuend=Open[i] and subtrahend=Open[i+1].