candlestick size & shadow
Created at 08 Mar 2013, 22:38
candlestick size & shadow
08 Mar 2013, 22:38
i'm looking for candle size and shadow indicators??, please...,
Replies
Kate
09 Mar 2013, 22:55
RE:
using System; using cAlgo.API; using cAlgo.API.Indicators; namespace cAlgo.Indicators { [Indicator(IsOverlay = true)] public class CandleSize : Indicator { public override void Calculate(int index) { double candleSize = Math.Abs(MarketSeries.Open[index] - MarketSeries.Close[index]); double candleSizePips = Math.Round(candleSize / Symbol.PipSize, 3); ChartObjects.DrawText( index.ToString(), candleSizePips.ToString(), // object name and text index, MarketSeries.High[index], // location VerticalAlignment.Top, HorizontalAlignment.Center); } } }
I think that's it.
@Kate
Kate
09 Mar 2013, 17:47
What do you mean? There is a standard "High Minus Low" indicator, it is a "candle size".
@Kate