Linear Regression Channel Without center line
Results 1 to 10 of 310

Thread: Linear Regression Channel Without center line

  1. #1
    Can there be an indior that works like the typical MT4 Linear Regression Channel,
    however, the centre line could be turned off or its colour changed?

    To make it clear: I am not searching for any other LRC (there is a dozen),
    but it should function like the builtin, that implies,
    it can be dragged and resized with the mouse pointer.

    Sven

  2. #2
    Quote Originally Posted by ;
    Try altering the indy possessions fashion to'none' or set the colour to your charts background colour.
    Then I cant see the channel anymore. Is getting rid of the center line.

    Quote Originally Posted by ;
    Here is an excellent LRC (http://codebase.mql4.com/4332).
    The channel can't be dragged or resized using the mouse.

  3. #3
    Http://codebase.mql4.com/ru/source/3914 for your SDC; looks as if you can not delete the middle line as that's the whole point of the indy.

    Http://www.metatrader4.com/forum/11716 that brings trendlines based on the SDC, and that means you could have a play with that.

  4. #4
    Quote Originally Posted by ;
    Here is the code (http://codebase.mql4.com/ru/source/3914) for your SDC; appears as if you can not delete the centre line as that's the whole point of this indy.
    Thank you.
    Everything based on OBJ_REGRESSION probably won't help.
    I figure.

    Update: A dirty hack could lay a strong and background colour trend line over the middle line.
    Maybe I attempt that. But not today.

  5. #5

  6. #6
    Quote Originally Posted by ;
    Here you go....Happy Easter!
    Happy Easter to you...

    Thats also a very nice indior (I already knew before).
    However , it doesnt do what I'm asking for.
    People, it is very kind of you, but submitting gazillions of regression station indis isn't the point.

  7. #7
    I suspect, what I am searching for doesn't exist.
    Both stations are based in their hardcoded MQL items (no settings for the center line),
    or else they cant be resized with the mouse (to hard to do, nobody needs that).

    Anyhow, thanks to everyone.

  8. #8
    You could try this one: http://www.mql5.com/en/code/8016 (I think I will mod. It to give alerts also)

  9. #9
    Quote Originally Posted by ;
    you could try this one: http://www.mql5.com/en/code/8016 (I think I will mod. It to provide alerts too )
    ok, attached is a first attempt, I think that the settings are self-explanatory.
    Alerts will be fired if the high of the signalcandle breaks the upper channel border, or if the low breaks the lower channel border.

    When the indior is running in mode1 (high/low) alerts will be fired if the high or low of the candle is inside the user-defined piprange.

    So imho It's Suggested to set signalcandle=0 (current candle)

    I think it will work, Though It Is Quite late in the nite and I cannot sleep...
    https://www.forexsoutheast.asia/atta...Buf Alerts mod
    https://www.forexsoutheast.asia/atta...Buf Alerts mod

  10. #10
    Try changing the indy possessions style to'none' or put the colour to your charts background colour.

    http://codebase.mql4.com/4332.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.