Public Function FractalChaosBands(chart_Id As Long, period As Integer) As String
The chaotic nature of stock market movements explains why it is sometimes difficult to distinguish hourly charts from monthly charts if
the time scaleis not given.The patterns are similar regardless of the time resolution.
Like the chambers of the nautilus, each level is like the one before it, but the size is different.
To determine what is happening in the current level of resolution, the fractal chaos band indicator can be used to examine these patterns.
|chart_Id||Chart identifier, 0 is the current chart ,value of type Long
|period||The calculation period, on which the indicator will be calculated, value of type Integer.
Returns the handles of a technical indicator, in case of failure returns an empty string.
Public Sub main()AlertMessage (FractalChaosBands(0,10)) 'Draws the indicator on chart and shows a message box with the indicator name.End Sub