; REF(MACD, 1))*(MACD & lt; 0)) \"This part:This part means:From the last time " />

Joke Collection Website - Public benefit messages - Macd short message

Macd short message

This should still have the front, otherwise it's not quite right.

Explain "BARSLAST" (not ((MACD >; REF(MACD, 1))*(MACD & lt; 0)) "This part:

This part means:

From the last time "MACD goes down or MACD is greater than zero, or both" to the current number of cycles (if it is a daily line, it is a day, if it is an hourly line, it is how many hours).

As for the second half of "=3", I guess you should extract it from a conditional expression. It should be to judge whether it has been three cycles since the last time "MACD went down or MACD was greater than zero, or both".

It doesn't mean right or wrong in logic. Generally speaking, it means that the conditions that are established are not established and the conditions that are not established are established. Because in the expression, it is generally 1 and false 0, so it means "(MACD >;; REF(MACD, 1))*(MACD & lt; 0) "If the result of this part is 0, 1 is returned, and if the result of this part is 1, 0 is returned.

* Symbol indicates multiplication.

More specifically, if MACD >;; REF(macd, 1) indicates that today's macd is greater than yesterday's, indicating that macd is rising, then "MACD >;; REF(macd, 1) "This part is 1. Similarly, if MACD is greater than 0, then "MACD: REF(MACD,1)" * (MACD <: The expression "0)" is true, so it is meaningless to invert NOT into barlast (0). Therefore, only when MACD is less than yesterday, that is, MACD is lower or MACD is less than 0, or MACD is lower and MACD is less than 0, BARSLAST is established.

If you don't understand, send me a message.