Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to detect no volume like on forex

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

    How to detect no volume like on forex

    I have a demo account on forex.com and the charts don't have any volume. I would like a boolean to use in my indicator to detect this deal with it accordingly.

    #2
    Hello alanlopen,

    When you say there's no volume are you using the VOL indicator or what way are you checking the volume currently? For historical data the volume is all the same but you should see updating volume in realtime generated bars.

    Comment


      #3
      Yes VOL reports the same volume, for eg on USDJPY it is 10k, but I can't use that. Is there a smart way to detect this case ? or at least when we are on historical data on Forex (ideally compatibl with all forex brokers on ninja).

      Comment


        #4
        Hello alanlopen,

        You can use the State to know when its historical

        Code:
        if(State == State.Historical)

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        579 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X