Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Creating a average volume alert using the Volumeupdown indicator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Creating a average volume alert using the Volumeupdown indicator

    Is there a way to create a alert that will fire a average volume. So i will know if the volume is to low over X number of bars? So it would fire if the last 5 bars volume average is below 4000 per bar....as a example. Is this possible with the Volumeupdown indicator and the standard chart alert wizard. Or do i have to do something custom?

    #2
    Hello The_Sec,

    Thank you for your post.

    If want to calculate the average of the last 5 bars VolumeUpDown values, you would need to create a custom indicator as this wouldn't be possible to do this calculation with a simple Alert.

    You could create an indicator that stores the value of the volume of the last five bars to a variable and then dividing that by 5 to get the average. Then, use Alert() to trigger a visual/audible alert to the Alerts log.



    Please let us know if you have any further questions.
    Gaby V.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by itrader46, Today, 10:22 AM
    0 responses
    11 views
    0 likes
    Last Post itrader46  
    Started by NM_eFe, Today, 10:13 AM
    0 responses
    3 views
    0 likes
    Last Post NM_eFe
    by NM_eFe
     
    Started by hdge4u, Yesterday, 12:23 PM
    1 response
    10 views
    0 likes
    Last Post hdge4u
    by hdge4u
     
    Started by 1001111, Today, 09:45 AM
    0 responses
    11 views
    0 likes
    Last Post 1001111
    by 1001111
     
    Started by DTSSTS, 01-28-2024, 12:07 PM
    11 responses
    559 views
    0 likes
    Last Post bmo111
    by bmo111
     
    Working...
    X