Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem in @BuySellVolume and @BuySellPressure indicator

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

    Problem in @BuySellVolume and @BuySellPressure indicator

    Hi,

    Both indicator has a line in the OnMarketData:
    double tradeVol = previousVol == 0 ? e.Volume : e.Volume - previousVol;

    The problem is that 'previousVol' never set, it is always 0.
    Going along with the logic a 'previousVol = e.Volume;' is missing at the end of the OnMarketData function.




    #2
    Hello dotnet,

    Thanks for your post.

    I will look into this and update this thread when I have further information.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    24 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    27 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X