API 3.8 Problem - Cross-Symbols, Drawings(Object) objectname.CrossSymbol = true; its Missing - Objects Deleting
API 3.8 Problem - Cross-Symbols, Drawings(Object) objectname.CrossSymbol = true; its Missing - Objects Deleting
13 Aug 2020, 16:00
I would like to say that, in my opinion, your platform is much better than mt4 or mt5, they crash alot.
so thanks very much its really appreciated.
O.K regarding the problem
var rectangle = Chart.DrawRectangle(name , x1, y1, x2, y2, color);
rectangle.IsFilled = true;
rectangle.IsInteractive = true;
rectangle.IsLocked = true;
rectangle.CrossSymbol = true; is missing
This, now - since new API - has cause a problem for
private void OnChartObjectRemoved(ChartObjectRemovedEventArgs args)
{
}
It now deletes the objects when the symbol changes, its ok if you change timeframes.
perhaps there is another way to stop it?
thanking you
kind regards
Paul Williams
paul.williams125
13 Aug 2020, 16:28
I mean, it deletes the object,
which automatically calls this :-
private void OnChartObjectRemoved(ChartObjectRemovedEventArgs args)
{
my code
}
this effects my program
@paul.williams125