When creating an alert on the MACD, i think it’s “Horizontal line” 🙂
JSParticipant
Senior
I think it is the “horizontal zero line” 🙂
JSParticipant
Senior
When those two averages, above the horizontal line, cross each other, at that moment the zero line is also crossed…
Is it not possible to add as a condition : When the Horizontal line is crossed ?
Or when that happens close to the Horizontal line ?
JSParticipant
Senior
In my train of thought I put this condition in, namely:
c5=MACD[12,26,9](Close) Crosses Over 0 //The MACD baseline is touched, and broken to the upside.
What value is your horizontal line?
Not sure, logically the baseline value should be 0,00 no ?
JSParticipant
Senior
It’s not necessary, but in principle it doesn’t matter…
When you try it, use: 0.00
still not.
How to replace the MACD[12,26,9] by the MACD horizontal line in the code ?
c5=MACD[12,26,9](Close) Crosses Over 0 //The MACD
i tried this but didn’t work
c5=MACD[Horizontal line](Close) Crosses Over 0 //The MACD
JSParticipant
Senior
If the horizontal line has no value, it cannot be used…
I think the conditions are good.
I’m going to sleep on it…
Thanks a lot for your patience and time.
Very appreciated.
I think i found it :
c5=MACDLine[12,26,9](Close) Crosses Over 0 //The MACD baseline is touched, and broken to the upside.
🙂 Just added “Line” in MACD
JSParticipant
Senior
Hi Sam,
Normally a buy signal is when the “MACD” crosses over the “Signal line”…
(During this crossing, the value of the histogram is equal to zero and rising…)
JSParticipant
Senior
In any case, a nice combination of conditions in this screener…