Bigbocarat Posted January 27, 2022 Report Share Posted January 27, 2022 (edited) 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 scan" discussion. 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 MTspike.PBExport Edited January 27, 2022 by Bigbocarat added software file Quote Link to comment Share on other sites More sharing options...
Bigbocarat Posted January 27, 2022 Author Report Share Posted January 27, 2022 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 scan" discussion. 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 Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 27, 2022 Report Share Posted January 27, 2022 Please copy/paste the text from the details section. Otherwise it cuts off all the needed info Quote Link to comment Share on other sites More sharing options...
Bigbocarat Posted January 27, 2022 Author Report Share Posted January 27, 2022 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 Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 27, 2022 Report Share Posted January 27, 2022 got it. thanks. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 28, 2022 Report Share Posted January 28, 2022 will be fixed in next update Quote Link to comment Share on other sites More sharing options...
Bigbocarat Posted January 28, 2022 Author Report Share Posted January 28, 2022 Thanks Jerry Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 28, 2022 Report Share Posted January 28, 2022 we released new production version. it should have that fixed. Quote Link to comment Share on other sites More sharing options...
Bigbocarat Posted January 28, 2022 Author Report Share Posted January 28, 2022 got it this A.M. and not seeing any error boxes while running scan - thanks! 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.