/*********************************************************************************************** Title: TradeFlow Activity Indicator for eSignal By: Divergence Software, Inc. Web: http://www.sr-analyst.com ================================================================================================ Dislaimer: For educational purposes only! Obviously, no guarantees whatsoever and use at your own risk. ************************************************************************************************ Project Description: =================== The TradeFlow-Activity indicator provides a visual cue on current buying and selling activity. You define a share-size group to monitor and the indicator will graphically track the buying and selling over the most recent 50 to 200 trades within that share-size group. A trade that represents buying/covering is plotted as a green square in the upper half of the indicator while a trade that represents selling/ shorting is plotted as a red square in the lower half of the indicator. On the right-hand side of the indicator the current ask and bid prices are displayed along with a percentage value that represents the ratio of buying to selling and vice-versa. An up or down arrow is also displayed near the bid and ask prices indicating the direction of the last change in price. TradeFlow-Activity can be loaded into any intraday chart (tick or interval) at any time. The defaults are set with the SP eMini in mind so you may need to adjust the Min/Max trades sizes to values that make sense for the symbol you are using. Usage Notes: =========== The TradeFlow-Activity indicator uses data that is available in realtime only and, as such, it provides no historical plot (i.e., it begins operating from the current price bar when it is loaded). Indicator Parameters: ==================== Define Trade Size to Monitor: Minimum Trade Size: The smallest trade size (in shares/contracts) for a trade to be considered for purposes of accumulating data. Default is 1. Maximum Trade Size: The largest trade size (in shares/contracts) for a trade to be considered for purposes of accumulating data. Default is 10000. # of Trades to Monitor: This is the number of trades to keep track of for purposes of assigning a percentage. The valid range is from 50 to 200 and the default is 50. Buy/Cover Color: The color to use for plotting trades that represent buying. Default is green. Sell/Short Color: The color to use for plotting trades that represent selling. Default is red. Reference Line Color: The color to use for plotting the reference line (zero-line). Default is black. Thickness: The plot thickness to use. Default is 1. Range is 1-10. Line Type: Select from Solid, Dot, Dash, DashDot, DashDotDot. Default is Solid. Text Color: The color to use for drawing the bid/ask prices in the indicator pane. Default is navy. Text Font Size: The font size to use when drawing the bid/ask prices. Default is 12. Range is 8 to 55. Decimals: The decimal precision to use when drawing the bid/ask prices. Default is 2. Range is 0 to 6. Disclaimer: For educational purposes only! Obviously, no guarantees whatsoever and use at your own risk. *******************************************************************************************************/