I'm thinking something like a sideways triangle pointing to the right, maybe:
DrawTraingleRight("tag",AnchorBarsago,AnchorPrice, HorzitonalSize(inBars),VerticalSize(inTicks),Color ,Opacity)
ex.
DrawTraingleRight("tag",0,Close[0],0.75,1.25,Color.Blue,4)
1> The 2 anchor parms, would place the apex at a specific point on price bar.
2> Ideally the horizontal and vertical sizes would be in decimals to give better granularity.
I'm thinking of attempting to write such a method/indicator using DrawPolygon to accomplish this but it is pushing my C# skill level. I looked at the code in "CustomPlotSample" but it seems to draws graphics in static locations on a chart. I want the graphic to be attached to the price like the internal chart markers, so it moves with the price bars when the chart is resized or additional price bars come in.
I also looked in file sharing and could not find this, hopefully it is there and I just missed it, and someone can direct me to the right thread.
Any help or sample code would be appreciated.
Comment