This is the first release of my MD indicator for MC,
loosely based on the non-db version of the same indicator posted here:
http://forum.tssupport.com/viewtopic.php?t=2380 which is turn is based on MD code posted in TS forums:
https://www.TS.com/Discussion ... c_ID=55757
NOTE: This indicator is based on ADE, which is based on ELCollections extension to TS, which is also compatible with the latest beta of MC (1.90.644.1126). In addition, for debugging purposes, this code also uses the GlobalVariables extension.
Version Log:
- Version 1.00:
- Initial release
- UPDATE:
I've discovered that I've accidentaly exported the code the AutoSave=5 by default, please change this to 0 for the time being...,
Thanks, and sorry for any problems I may have caused to anyone...
- Version 1.01
- Minor display bug fixes
- Simplified the Save indicator, now it contains less inputs and is implemented more efficiently
- Added a new display option, DisplayBA, which allows for a total of 3 display modes for the plot indicator as demonstrated in the screenshots below...
- exported the code with AutoSave=0, until the AutoSave feature works properly.., again, apologies to anyone who had the indicator raise errors. My bad.
http://forum.tssupport.com/viewtopic.php?t=2483
If all goes well, you, the brave soul who installs this, should have this view in front of you...
By the way, the screenshots below were taken with a freshly started instance of multi charts, so that the MD foot print show above is all loaded from the MD "DataBase"...
This indicator is really made up of two parts:
- The indicator which saves the MD - "ADE Save MD"
- The indicator which plots the MD - "ADE Plot MD"
- UseFile - True/False, A standard ADE input which instructs the indicator to read/write the DB, you would normally want to turn this on, The default uses the output of ADE.UseFile function which can also be changed to return True by default...
- AutoSave - How often in minutes to autosave the MD data, use "0" to turn the feature off, this feature is still buggy ATM, so please keep it at "0"
- UseFile - True/False, A standard ADE input which instructs the indicator to read/write the DB, you would normally want to turn this on, The default uses the output of ADE.UseFile function which can also be changed to return True by default...
- DisplayTotalDelta - True/False, Shoult the indicator display the accumulated delta for the bar below the MD footprint of the bar, in the sample screenshots, those would be the text elements with white border around them
- DisplayDelta - Should the MD foot print include a delta, the top screenshot is taken when DisplayDelta is set to True, the bottom is taken when it is set to false...
- DisplayBA - True/False Should the MD foot print include a B x A style of display
- Width - Another display related variable, set this to the minimal size of charchters you want the text elements to occupy on screen, if this is set to 6, for example, each text element (Bid, Ask or Total Delta) takes up 6 charchters, this creates the nice effect of seeing the footprint, feel free to play with this...
- FontName - Font to use to draw the text, USE ONLY FIXED SIZED FONTS for this indicator to look acceptable, use "Courier New", or as I use, "ProggyTiny", which can be downloaded here: http://www.lowing.org/fonts/
- FontSize - ... Guess...
- UseLogColorGradient - For Future use, it is not implemented correctly, so leave it be for now...
- ColLimit - Again, has to to with gradient coloring, leave it for now....