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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        154 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        306 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        244 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        345 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        176 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X