Syntax
public static void UnusualVolumeOnPricePane(this WealthScript obj, Color clr)
public static void UnusualVolumeOnPricePane(WealthScript obj, Color clr)
Parameter Description
obj | Pass an instance of WealthScript |
clr | Volume series color |
Description
This
static method created by Robert Sucher plots a mountain graph of Volume as an overlay on PricePane. If the method does not plot anything, turn off
Semi-Log Scale. It's intended to work with the
Linear axis scale chart only.
Hint: pass a semi-transparent color for a nice looking chart.
Example
Example using C# extension methods + Legacy syntax (commented out):using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
namespace WealthLab.Strategies
{
public class MyStrategy : WealthScript
{
protected override void Execute()
{
this.UnusualVolumeOnPricePane( Color.FromArgb( 35, Color.Blue ) );
//Community.Components.Utility.UnusualVolumeOnPricePane(this, Color.FromArgb( 35, Color.Blue ) );
}
}
}