mlsignups Posted July 18, 2023 Report Share Posted July 18, 2023 Hi guys - I want to create a scan that shows me the first minute volume of the day multiplied by a factor. For instance, if there is 100K in volume on the first minute bar I'd like to take that 100K and multiply by 10 and show in a column on the scan. Can you suggest how i get the volume from the first minute bar of the day? Thanks Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted July 18, 2023 Report Share Posted July 18, 2023 int DayNum = -1; double FirstMinVol = 0; public void MainCalculation() { if (TradingDay.DayNumber!=DayNum) { DayNum = TradingDay.DayNumber; FirstMinVol = BarVolume; } SetScanResult(FirstMinVol*10); } Quote Link to comment Share on other sites More sharing options...
mlsignups Posted July 18, 2023 Author Report Share Posted July 18, 2023 Thanks Mike Quote Link to comment Share on other sites More sharing options...
mlsignups Posted July 18, 2023 Author Report Share Posted July 18, 2023 (edited) Maybe I'm doing something dumb... but if I remove the 10x and just leave SetScanResult(FirstMinVol) it doesn't seem to be doing what I hoped. For instance, RIVN first minute volume bar today per my data was 643,000 shares. Scan is showing 226 if I set to "intraday" and 10,367,950 if I set to "Historical" Similarly MSFT I see the first bar in the software at 699K shares. Setting to "Historical" scan is showing 5,496,130 shares. Thoughts? ********** I had premarket volume on ********** so took off and results are correct ******* thanks. Edited July 18, 2023 by mlsignups Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted July 18, 2023 Report Share Posted July 18, 2023 make sure the extended hours on your scan is set to "never" if you want the 1st candle to be the first session candle. 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.