Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator uses 500 Volume DS, wanting to get distinct crossover and smooth out noise

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

    Indicator uses 500 Volume DS, wanting to get distinct crossover and smooth out noise

    my indicator uses a 500 Volume data series, on the chart it is flexing a lot especially during high volume and large price action moments, historically it has only one point on the chart that it crosses, but in live it is rapidly crossing above and below. what means could I use to smooth out the noise CrossAbove(sig1,sig2,3) should I use an SMA of sig1 or some other means to get the smoothed version of the signal

    #2
    Hello set2win,

    Our support can't specifically suggest if you should or should not do that but what you are asking is certainly possible to do. You can pass a series to a SMA or other averaging indicator to average its values.

    If your existing use was :
    Code:
    double myValue = MyIndicator()[0]
    it would become
    Code:
    double myValue = SMA(MyIndicator(), 12)[0]
    If you wanted to use that with a crossover that is another regular double value you would have to instead store the new value as a series in your script so you can use the series<T>, double overload of CrossAbove

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    65 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    139 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X