Jump to content
Medved Trader Forums

Unhandled exception alert window in MT while running price volume spike scan


Recommended Posts

Hi Mike, I'm getting the following alert window "The given key was not present in the dictionary" in MT when running the price volume spike scan that you created for ARG in this "Help with price/volume spike scandiscussion. Code seems to work fine just get this error window when first alert is triggered. Your code I'm using is pasted below. 

Thanks and regards,

Rob

 964254287_Capturealert.JPG.f966bf59233d628c7c09aff151fa27ef.JPG

 

 

 

MTspike.PBExport

Edited by Bigbocarat
added software file
Link to comment
Share on other sites

3 minutes ago, Bigbocarat said:

Hi Mike, I'm getting the following alert window "The given key was not present in the dictionary" in MT when running the price volume spike scan that you created for ARG in this "Help with price/volume spike scandiscussion. Code seems to work fine just get this error window when first alert is triggered. Your code I'm using is pasted below. 

Thanks and regards,

Rob

 964254287_Capturealert.JPG.f966bf59233d628c7c09aff151fa27ef.JPG



		

 

 

 

 

 

Link to comment
Share on other sites

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at MT.ChartWindow.OnGotOptionChain(String sender, SubNotifyEventArgs e) in C:\MedvedTrader\MT\ChartWindow.cs:line 4413
   at MT.ChartWindow.UpdateMaxPainitnerestTree(Boolean MaxPain, Boolean InterestTree, Boolean isManual) in C:\MedvedTrader\MT\ChartWindow.cs:line 4358
   at MT.ChartWindow.OnSymbolChanged(MTSymbol oldSymbol, MTSymbol newSymbol) in C:\MedvedTrader\MT\ChartWindow.cs:line 1020
   at MT.ChartWindowHist.OnSymbolChanged(MTSymbol oldSymbol, MTSymbol newSymbol) in C:\MedvedTrader\MT\ChartWindowHist.cs:line 90
   at MT.MTContentWindow.SetSymbol(MTSymbol value, Boolean UpdateLink) in C:\MedvedTrader\MT\MTContentWindow.cs:line 2449
   at MT.MTContentWindow.<>c__DisplayClass274_0.<SymbolLinkMgr_SymbolChanged>b__0(Object <p0>) in C:\MedvedTrader\MT\MTContentWindow.cs:line 4564


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
MT
    Assembly Version: 1.0.0.0
    Win32 Version: 1.1.9490.100
    CodeBase: file:///C:/Program%20Files/Medved%20Trader/MT.exe

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...