fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    empty_value in custom indicator

    Questions & Answers
    2
    2
    1342
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      miro1360 last edited by

      How can I compare empty_value from custom indicator buffer?

      I need this: When is in buffer empty_value, I need do something.

      I make this comparison in Condition block:

      Left side (custom indicator buffer) == Right side (Value: ? (EMPTY_VALUE))
      true: open buy
      false: open sell

      What can I give on place for constant "EMPTY_VALUE" into Right side to comparison?

      edit1:
      I have modified my custom indicator, now on the place of EMPTY_VALUE in buffer get 0. With 0 it is working.

      Between trading and gambling is a very small gap, be careful.

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        "Condition" will not work this way anymore. I decided to make it in a way to not pass at all if the value of one of it's two sides equals to EMPTY_VALUE. But you can try this block called "Indicator is invisible"

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        F
        A
        V

        12
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors