Traditional Culture Encyclopedia - Traditional culture - Macd basically deviates from exponential formula.
Macd basically deviates from exponential formula.
{Bottom Deviation, Communication Edition, Straight Flush Edition}
DIFF:=EMA (closing, 12)-EMA (closing, 26);
DEA:=EMA(DIFF,9);
MACD:= 2 *(DIFF-DEA);
QZQ:=BARSLAST(REF(MACD, 1)0);
QM:=LLVBARS(MACD,QZQ+20);
MQDZ:= IF(QM & gt; QZQ,REF(MACD,QM),0);
XG 1:= macmqdzandclose = LLV(CLOSE,QZQ+20)ANDMQDZ
XG:REF(XG 1, 1)= 1 andmacd & gt; REF(MACD, 1);
{Double Bottom Deviation, Communication Edition, Straight Flush Edition}
DIFF:=EMA (closing, 12)-EMA (closing, 26);
DEA:=EMA(DIFF,9);
MACD:= 2 *(DIFF-DEA);
QZQ:=BARSLAST(REF(MACD, 1)0);
QM:=LLVBARS(MACD,QZQ+20);
MQDZ:= IF(QM & gt; QZQ,REF(MACD,QM),0);
QF:=LLVBARS(DIFF,QZQ+20);
DQDZ:= IF(QF & gt; QZQ,REF(DIFF,QF),0);
XG 1:= macmqdzanddiffdqdzandclose = LLV(CLOSE,QZQ+20)and qdz
XG:REF(XG 1, 1)= 1 andmacd & gt; REF(MACD, 1);
Note: Double deviation at the bottom means that both MACD (green column) and DIFF (yellow and white line) deviate from the bottom.
- Related articles
- What mobile phone stand-alone turn-based games are fun?
- Under the age of 6, you can take the bus for free. What do you think is the standard for children to take public transportation?
- What's in the Universal Celebration Card of Tongqing Building?
- What are the characteristics of the folk tea ceremony?
- Excuse me, what material is this picture frame? Where can I find it? Or tell me, what's the name of this painting?
- Four ways to get rid of poverty accurately
- To be culturally confident means to accept and promote traditional culture in its entirety right?
- Braised Fish Fish
- What are the marketing promotion methods of enterprise products?
- What good plug-ins does su have? 12 foreign super-hot advanced modeling SketchUp easy to use plug-ins!