tsben88 |
Member
|
Registered User |
|
|
|
|
Unsure |
|
Tuesday, June 6, 2017 |
Friday, May 1, 2020 11:09:58 PM |
3 [0.00% of all post / 0.00 posts per day] |
|
QUOTE (Bruce_L)
So the idea is that it is that the MACD is moving toward its trigger line and then starts moving away?
If so, being above the MACD would be the following.
TrueInRow(MACD12.26 > AVG(MACD12.26, 9), 3) = 3 AND MACD12.26 > MACD12.26.1 AND MACD 12.26.1 < MACD12.26.2
And being below the MACD would be the following.
TrueInRow(MACD12.26 < AVG(MACD12.26, 9), 3) = 3 AND MACD12.26 < MACD12.26.1 AND MACD 12.26.1 > MACD12.26.2
You could combine these using OR and some parantheses to check for either possibility in the same formula.
(TrueInRow(MACD12.26 > AVG(MACD12.26, 9), 3) = 3 AND MACD12.26 > MACD12.26.1 AND MACD 12.26.1 < MACD12.26.2) OR (TrueInRow(MACD12.26 < AVG(MACD12.26, 9), 3) = 3 AND MACD12.26 < MACD12.26.1 AND MACD 12.26.1 > MACD12.26.2)
You need to make sure the time frame of the formula is set to hourly if you want it to match an hourly chart.
Thanks Bruce!
|
QUOTE (tsben88)
Need help .
I wish to write a formulation with the MACD that goes against the Moving Average, forming a "hook" for my hourly chart.
Attached are the pictures.
I would appreciate if you could assist me.
Thanks.
|
Need help .
I wish to write a formulation with the MACD that goes against the Moving Average, forming a "hook" for my hourly chart.
Attached are the pictures.
I would appreciate if you could assist me.
Thanks.
|
|