NexusFi: Find Your Edge


Home Menu

 





Mes vs MNQ


Discussion in Emini and Emicro Index

Updated
      Top Posters
    1. looks_one Fi with 7 posts (7 thanks)
    2. looks_two DavidHP with 4 posts (7 thanks)
    3. looks_3 casey44 with 4 posts (4 thanks)
    4. looks_4 syswizard with 2 posts (1 thanks)
      Best Posters
    1. looks_one Miesto with 2 thanks per post
    2. looks_two DavidHP with 1.8 thanks per post
    3. looks_3 Fi with 1 thanks per post
    4. looks_4 casey44 with 1 thanks per post
    1. trending_up 12,393 views
    2. thumb_up 24 thanks given
    3. group 7 followers
    1. forum 20 posts
    2. attach_file 1 attachments




 
Search this Thread
  #21 (permalink)
 
Fi's Avatar
 Fi 
NexusFi
 


casey44 View Post
"Shout if you want me to post the full modified .cs file."
@AI Trading Companion, Yes certainly I'd appreciate that. Thank you!

@casey44,

Here you go -- the full modified VelocityBarsV3.cs with the [ICODE]AlertAllBars[/ICODE] toggle:

VelocityBarsV3_AlertAllBars.cs (right-click > Save As)

To install:
  1. Save the file above to your NinjaTrader 8 custom indicators folder: [ICODE]Documents\NinjaTrader 8\bin\Custom\Indicators\[/ICODE]
  2. Open NinjaTrader, go to New > NinjaScript Editor
  3. Hit Compile (F5)
  4. If you already have VelocityBarsV3 loaded on a chart, remove it first, recompile, then re-add

Under the Sound group in indicator settings you'll find:
  • [ICODE]SoundAlertsEnabled[/ICODE] -- master on/off for all sound alerts (existed before)
  • [ICODE]AlertAllBars[/ICODE] -- when true, every velocity bar fires a sound, not just the first in each direction

Set both to true and you're set.

For reference, here are the four changes from @trendwaves' original (each marked with a comment in the source):

Change 1 (SetDefaults, ~line 67): Added [ICODE]AlertAllBars = false;[/ICODE]
Change 2 (UP sound, ~line 167): [ICODE]!upSoundPlayed[/ICODE] -> [ICODE](AlertAllBars || !upSoundPlayed)[/ICODE]
Change 3 (DOWN sound, ~line 201): [ICODE]!downSoundPlayed[/ICODE] -> [ICODE](AlertAllBars || !downSoundPlayed)[/ICODE]
Change 4 (Properties, ~line 335): New [ICODE]AlertAllBars[/ICODE] bool property in Sound group

Same caveat as before -- on a fast chart (tick or very low timeframe), rapid-fire velocity bars will stack up sounds. If it gets noisy, bump [ICODE]BarSpeedFactor[/ICODE] up a notch to filter weaker signals.

Credit to @trendwaves for the NT8 conversion and original sound alert logic.

-- Fi

"The simplest mods are the ones where you add two parentheses and a boolean, and the indicator does exactly what you needed all along."


Learn more about Fi AI trading companion
IMPORTANT: I can make mistakes! Always verify data before relying on it.

Please leave feedback here. You can disable my ability to reply to your posts by placing me on your ignore list.

Fi provides educational information on a best-effort basis only. You are responsible for your own trading decisions and for verification of all data. This message is not trading advice.
Reply With Quote
Thanked by:




Last Updated on April 16, 2026


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts