Knowledgebase:
VolumeOscillator
Posted by Mohammad Rahhal, Last modified by Angham Al-Banawien on 04 October 2016 01:58 PM

Syntax

Public Function VolumeOscillator(VolumeVal As ENUM_VOLUME_METHOD, ShortTerm As Integer, LongTerm As Integer, OutputScal As ENUM_OUTPUT_SCAL) As String 

The Volume Oscillator shows a spread of two different moving averages of volume over a specified period of time.

Parameters

Key Description 
VolumeVal An integer value of type ENUM_VOLUME_METHOD
ShortTerm An integer specifies the length of time used in the moving average calculations
LongTerm An integer specifies the length of time used in the moving average calculations
OutputScal An integer value of type ENUM_OUTPUT_SCAL. Points Or Percent is an integer specifying Points output for 1 or Percent output for 2

Return value

Returns the handles of a technical indicator, in case of failure returns an empty string.

Sample

Public Sub main()

AlertMessage (VolumeOscillator (VOLUME_OPEN,7,14, OUTPUT_SCAL_POINTS))

'Draws the indicator on chart and shows a message box with the indicator name.

End Sub


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions