Indior is acting weird

thread: Indior is acting weird

  1. #1
    Junior Member android32's Avatar
    15

    Indicator is acting weird

    Does anybody know why an indior will appear good once you place it on your chart, but will not maintain price action? I have an indior I would like to utilize, but I have to continually go into properties of this indior to refresh it to grab it up to price.

    It's the lowest indior on the attached picture.

    Any help would be greatly appreciated.

    Lohad

  2. #2
    Junior Member android32's Avatar
    15
    Thank you CodeMeister for the time! I really appreciate it. I will check it out.

    Thank you again!

    Lohad

    I don't understand what's going on with the code, however I put in a much better default processing system. There are 2 parameters that control the way ticks are managed and you will observe how he manages updating if you place them. It appears to be some kind of cycle saving egy when it is unattended so that the computer doesn't do useless work. I know that is my best guess and that sounds bizarre, but is the code.

    Anyhow, I added a default handling egy that processes ticks in the traditional wasteful way. If you want to override the default option and use his egy,...

  3. #3
    It is not processing each tick until you re-initialize it. Also my theory and post the code can be confirmed.

  4. #4
    Junior Member android32's Avatar
    15
    I've attached the Mq4 file.

    Thanks for your time!

    Lohad
    https://www.cliqforex.com/attachment...1560414384.mq4

  5. #5
    I really don't know what is going on with the code, but I put in a much better default processing scheme. There are 2 parameters which control the way ticks are handled and you may observe how he handles updating if you place them. It appears to be some sort of cycle saving scheme when it's unattended so that the computer does not do useless function. I know that sounds weird, but so is the code and that's my guess.

    Anyway, I included a default handling scheme that processes ticks in the conventional wasteful way. If you want to override the default option and use his scheme set Last_Bar or All_Bars and my logic is going to be bypassed. I didn't test it extensively so you should not use this indior on a account till you have verified the results.
    https://www.cliqforex.com/attachment...1182619322.mq4

  6. #6
    Junior Member android32's Avatar
    15
    CodeMeister,

    Thanks so much, this seems to be working good!

    Lohad

  •