ScrewTurn

Active Trader Strategies API Community ChartStyles Community Commissions Community Components Community Indicators Community Providers Community Visualizers Knowledge Base Misc Optimizers PosSizers Standard Indicators TASC Traders Tips TASCIndicators Tutorial Videos
RSS

Navigation







Quick Search
»
Advanced Search »

PoweredBy

Syntax


public void PriceVolumeHeatMap(int lookback, int binCount)
public void PriceVolumeHeatMapAtBar(int currentBar, int lookback, int binCount)

Parameter Description

Lookback Number of bars used in the distribution
binCount Number of bins
currentBar Current bar

Description

Price/Volume Heat Map is created by Andrew (avishn). Original thread at the Wealth-Lab .NET forum: here.

The concept is very simple -
  • take price and volume information over lookback period (such as last 40 bars)
  • split price range into a number of "bins"
  • calculate EMA of volume for each bin over the lookback period
  • calculate standard deviation for all bins at the given bar
  • plot it on the chart using yellow for volume values within standard deviation range and red for volume above standard deviation

It seems to help in identifying congestion areas as well as "resistance becoming support" scenarios.

Example


using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using Community.Components;

namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { Calculate c = new Calculate( this ); c.PriceVolumeHeatMap(40, 40); } } }

Here is a sample output:

Price/Volume Heat Map

Price/Volume Heat Map

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes.

Used under license from FMR Corp. Copyright 2008 FMR Corp. All rights reserved.


ScrewTurn Wiki version 3.0.2.509. Some of the icons created by FamFamFam.