Arrows as Chart Objects
Created at 01 Feb 2014, 08:01
Arrows as Chart Objects
01 Feb 2014, 08:01
Hello,
Does the the cAlgo support Arrows to be drawn as Chart Objects, from inside an Indicator?
I only saw API from ChartObjects implementing lines only.
Replies
Elogos
09 Feb 2014, 03:18
XMarshall it is already covered with draw text at the moment.
ChartObjects.DrawText(String.Format("Arrow{0}", index), "▲", index, MarketSeries.Low[index], VerticalAlignment.Center, HorizontalAlignment.Center, Colors.Green);
Open up CharMap and lookup the extended character ranges.
Since cTrader supports these ranges there isn't need for stuff like wingdings.
Some constants for help:
private const string StraightUp = "↑"; private const string StraightDown = "↓"; private const string Sideways = "→"; private const string DiagonalUP = "↗"; private const string DiagonalDown = "↘";
@Elogos
Spotware
03 Feb 2014, 11:33
cAlgo doesn't support arrows yet. Please vote for your favorite features: vote.spotware.com
@Spotware