Jump to content
Medved Trader Forums

Jason

Members
  • Posts

    140
  • Joined

  • Last visited

  • Days Won

    1

Jason last won the day on June 21 2019

Jason had the most liked content!

Reputation

1 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm glad I found a legitimate bug. It was hiding before but now we can squash it. In the interim it's functioning now with the workaround. Thanks.
  2. I am using the following code: public void MainCalculation() { if ( Close[1] >= High[1] - .10*(High[1] - Low[1]) ) { SetColorAndShape(0x4dc4b6FF, PBShape.Fill); //TriggerAlert("OF", @"OF"); SetScanResult(@"OF"); } if ( Close <= Low[1] + .10*(High[1] - Low[1]) ) { SetColorAndShape(0xa33c14FF, PBShape.Fill); //TriggerAlert("OF", @"OF"); SetScanResult(@"OF"); } } And it's producing 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 Second attempt, couldn't get the code to go through the first time.
  3. 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.
  4. I'm a little late to this party. I know it's been a while since this was asked about but I hope it hasn't been ruled out. I would be very interested in this.
  5. Hmm, is there any way I can see the underlying code used by an indicator? I want to play with it and I'm going to have to re-implement it.
  6. Is there any way I can retrieve the value of an indicator at a specified candle on my chart, say for an EMA or RSI or something, through the API? I would like to request that this be implemented. How difficult would this be? I wouldn't think it would be THAT hard since all the values are already calculated sitting right there in the program/chart and I just need them to be exposed to get access to them. I wouldn't expect you guys to anticipate every conceivable use case one could imagine for every possible scenario. I'm not suggesting we be able to modify or set indicator parameters or anything like that. Just something simple. Like an API call that returns an enumerated list of all the indicators on the chart and an option to have the API spit out one of them.
  7. I've sent the Log/Settings but I can't get a screenshot of the glitch.
  8. Wanted to report a glitch that only seems to happen with the Black Visual Style selected. If you select that style then open the Settings Window, you can see crosshair flickering when you move the mouse over the title bar of the Settings window. The crosshairs, when the mouse is on the title bar, appear right on the default system mouse pointer when this is done. So what you see is the default mouse pointer AND the crosshairs flickering. This occurs when the Settings window is hovering above a chart. Also, the popup "tooltip" window showing current bar OHLC data will flicker on the chart when moving the mouse over the title bar of the Settings window. Also, if I have a watchlist open with Ribbon Tabs minimized and single left-click on the Main tab, the ribbon flickers sporadically. This occurs with the Black Visual Style selected. I can't reliably reproduce this with the watchlist window maximized. But it can be reproduced when the window is shrunk such that the width of the window is shorter than the length of the title in the title bar which is how I use it. In addition, there is a little up/down arrow at the top right of the window allowing us to manually maximize or minimize the ribbon. If I minimize the ribbon and then select, for example, the Main tab that selection opens the ribbon but the up/down arrow at the upper right-hand corner of the window doesn't reflect that the ribbon has been opened. So if, at that point, I left click that up/down arrow instead of minimizing the ribbon, the ribbon simply flickers as if it's being opened again.
  9. Awesome. Looks like just subscribing to Stockwatch was big mistake.
  10. I recently subscribed to Stockwatch but am already unhappy with how the time and sales data is sent out in 1 second bursts rather than live real time. Am thinking of trying Quotestream. Do they do this as well? Generally, how do they compare?
  11. Okay, everything is working now. Thanks for the help.
  12. Okay, I've changed everything in the portfolios to Stockwatch but I'm still seeing an active streaming connection with IB. I want to totally sever this connection. All backfill options have been set to Stockwatch.
  13. Okay so basically I established an account with Stockwatch years ago that was a trial account. I used the same username and password to upgrade from the trial to a paid subscription today. Unfortunately it seems to be sending out quote data in bursts every 1 second interval. That's odd, not used to that. One other question I had. I am not going to be using IB anymore. But can't seem to deactivate it in the settings. When I try to uncheck the boxes for the data feeds (Level 1, Level 2, etc.) nothing happens. When I click on Sources from the dashboard it still shows IB as an active stream.
  14. Jason

    Rounding?

    Thank you for the confirmation. I suspected and hoped that was the case. I'm used to working in a scripting language which has some wonky results when it comes to the functions used for this purpose and didn't want to spend a huge amount of time testing and wondering how it would work in MT.
×
×
  • Create New...