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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        63 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        90 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        47 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        105 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        63 views
        0 likes
        Last Post PaulMohn  
        Working...
        X