Help with Higher Lows Price sync with Higher Low MACD when candle crosses MA

Forums ProRealTime English forum ProBuilder support Help with Higher Lows Price sync with Higher Low MACD when candle crosses MA

Viewing 15 posts - 16 through 30 (of 73 total)
  • #106881

    Oh…I am sorry Vonasi, I didn’t see that before. It showed up after I refreshed the internet link (F5 Windows). And that was after I posted. I will refresh my link before I post again. I keep learning :-).
    Thanks

     

    #106883

    Oh…. I am sorry Vonasi, I didn’t see your posts from 09/08/2019 at 3:58 PM and 09/08/2019 at 4:03 PM. I just found out I have to refresh my link to see the new post. So I just saw them after I posted the last coding. I thought it would refesh automatically. I keep learning.
    I am take your comments and I am working on them rght now, Thanks a lot.

    #106886

    Hi Vonasi, I attached your past down here again, because I don’t understand the connection between mclst = LM in line 6 and mclst = min(mclst, LM) in line 18. The line 6 is actually not valid because there is no end of the MACD Cycle Low defined. And what is <br> (break line?) at the bottom? Do I need that here?

     

    #106887

    It’s easier if you post a complete code as otherwise I have to go back and find out what variables actually are!

    I have no idea how the <br> got in the code – delete it.

    Have you found and read the documentation here as most of the answers to your questions can be found in there:

    https://www.prorealcode.com/prorealtime-documentation/

    Here is your code with some notes.

     

    #106891

    Thanks a lot for the ProRealTime documentation link. That is really helpfull.

    What I see is that most of the periods are based on number of bars. Like what is the lowest MACDline over the last 25 bars.

    What I am looking for is how to define a whole period when the MACDline < ExponentialAverage(Mline) and how to define/name the lowest MACDline in that period, and to define and name the Price Low at the bar with the Lowest MACD line. These period don’t happen in a fixed  number of bars.

    This is the essence of what I am working on.

    #106893

    Something like this?

    #106914

    Hi Vonasi,
    Line 2: I was wondering if the second condition is correct, because when the LM < Signalline there will be a moment when the LM starts to move upwards, but the LM is still below the Signalline. And then we are still in the Cycle low. In your description the cycle low stops when the LM starts to move upwards and the cycle stops when the LM => Signalline.

    My idea to crack this cookie is to find a way to pinpoint the starting and the ending of the cycle low. That is easy. But then to pinpoint the bar with the lowest MACDline value  and the lowest Price in between those 2 points is where I get stuck. See my attachment what I am looking for.

    So the starting point of the cycle is when:
    MD1 = LM(close) <= Signalline and LM[1]=>Signalline[1] ……………….or another way to descibe it ………….Mline crosses under Signalline
    The end point of the cycle low is when:
    D1 = LM(close) >= Signalline and LM[1]=<Signalline[1] ……………….or another way to descibe it ………….Mline crosses over Signalline

    But now I only have pinpointed the start and ending. the next step is to pinpoint the bar with the lowest MACDline between those two points. And that is where I get stuck.

    #106919

    And the endresult I am looking or is to have a Signal when…… See this attachment.

    #106931

    This is how I would code it for finding the values at the bottom of the cycle. I’ve tested it and it works.

     

    #106932

    That is awesome !!! How do you test it? I mean where do you insert the indicator? In the chart? In the MACD? I only get a big white areau, no matter where I insert it.

    #106936

    Just add it as a separate indicator. It simply returns two lines so that you can check the values.

    1 user thanked author for this post.
    #106956

    Yes…. It works. You are a genious Vonasi. :-).
    I am gonna continue to find a way to get a Signal as in the attachment.
    Thanks a lot.
    Marc

    #106957

    If you are wanting to compare the latest lowest point in a cycle to the previous one then you have the issue that you will not know what the latest low of a cycle is until the cycle has ended by which time you have missed the boat.

    #106964

    No I don’t want to compare that.
    .
    What I want to compare is
    WHEN
    -1) a new cycle low has started
    -2) and a candle crosses over the SMA50 after the candle is closed (open < SMA 50 and close > SMA50)

    THEN
    – if the lowest price of that crossing candle is higher thean the lowest of the price of previous cycle low
    AND
    – if the MACD of that crossing candle is higher then the lowest MACD of the previous cycle low.
    .

    See attachment.

    #106976

    Finding the value of the previous MACD cycle low and price at that point is easy – we just store it when a new cycle starts.

     

Viewing 15 posts - 16 through 30 (of 73 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login