I want an alert for intraday dry up volume. So what I need is an alert when volume on a specifed bar is less than a certain amount at the bars conclusion. I dont know of any charting or other software that will do this. Do you?
Try Esignal. Heres a script fot Bid Ask Analysis http://share.esignal.com/groupcontents.jsp?folder=Volume&groupid=84 /***************************************************************** Provided By : eSignal. (c) Copyright 2003 Version: 2.0 Notes: 2.0 - Added validation for 0 bid/ask data. *****************************************************************/ function preMain() { setStudyTitle("Bid\/Ask Volume"); setCursorLabelName("Ask Vol", 0); setCursorLabelName("Inside Vol", 1); setCursorLabelName("Bid Vol", 2); setDefaultBarFgColor(Color.green, 0); setDefaultBarFgColor(Color.black, 1); setDefaultBarFgColor(Color.red, 2); setDefaultBarThickness(8, 0); setDefaultBarThickness(6, 1); setDefaultBarThickness(4, 2); setPlotType(PLOTTYPE_HISTOGRAM, 0); setPlotType(PLOTTYPE_HISTOGRAM, 1); setPlotType(PLOTTYPE_HISTOGRAM, 2); } var nBidVol = 0; var nInsideVol = 0; var nAskVol = 0; var vVol = null; var bPrimed = false; var nAsk = null; var nBid = null; function main() { if (getCurrentBarIndex() < 0) return; var nState = getBarState(); if (nState == BARSTATE_NEWBAR) { nBidVol = 0; nInsideVol = 0; nAskVol = 0; vVol = 0; } var vPrevVol = null; if (vVol != null && bPrimed == true) vPrevVol = vVol; var nTempAsk = getMostRecentAsk(); var nTempBid = getMostRecentBid(); if (nTempAsk != null && nTempAsk != 0) nAsk = nTempAsk; if (nTempBid != null && nTempBid != 0) nBid = nTempBid; var vClose = close(); vVol = volume(); var vTradeVol = vVol - vPrevVol; if (bPrimed == false && vVol != null) { bPrimed = true; return; } else { if (vClose <= nBid) { nBidVol += vTradeVol; } else if (vClose >= nAsk) { nAskVol += vTradeVol; } else { nInsideVol += vTradeVol; } } return new Array(nAskVol, nInsideVol, nBidVol);
Heres some modifications you will want to make. The bar period will be the time frame you set the chart to ie 5m. Instead of totall bid volume or Ask volume just simplify the script and total the traded volume 'Voltradetot'. if (nState == BARSTATE_NEWBAR) { nBidVol = 0; nInsideVol = 0; nAskVol = 0; vVol = 0; if (Voltradetot < 1000) Alert.playSound("DUVol_alert.wav"); Voltradetot = 0; } Save in DUVol_alert.wav C:\Program Files\eSignal\Sounds Should work. You can email me if you run into trouble. Esignal have a 30 day trial