Jason Posted April 23, 2021 Report Share Posted April 23, 2021 I'm using the following code in a simple paintbar: And it's returning this error: Medved Trader encountered an Error Array dimensions exceeded supported range. Please contact Medved Trader technical support and provide the error details AppVer: 1.1.9300.1 Err.Flags: Log, ShowIndicator, ShowToUser System.OutOfMemoryException: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at MT.Charting.Editor_Paintbar.<OnParameterChanged>d__9.MoveNext() in [ROOT]\Charting\Paintbars\Editor_Paintbar.cs:line 105 Thanks for your assistance. Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted April 24, 2021 Report Share Posted April 24, 2021 you found a bug Thanks. I will fix the bug. Meantime do this: (add the the 0, at the start) SetColorAndShape(0, 0x4dc4b6FF, PBShape.Fill) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.