:="" -webkit-text-stroke-width:="" white-space:="" word-spacing:="" 0px;"="">當(dāng)根K線的最低值:="" -webkit-text-stroke-width:="" white-space:="" word-spacing:="" 0px;"="">2,:="" -webkit-text-stroke-width:="" white-space:="" word-spacing:="" 0px;"="">取最近一次金叉包含當(dāng)根K線5根之內(nèi)的最低值,和前一次金叉:="" -webkit-text-stroke-width:="" white-space:="" word-spacing:="" 0px;"="">包含當(dāng)根K線5根之內(nèi)的最低值:="" -webkit-text-stroke-width:="" white-space:="" word-spacing:="" 0px;"="">:="" -webkit-text-stroke-width:="" white-space:="" word-spacing:="" 0px;"="">:="" -webkit-text-stroke-width:="" white-space:="" word-spacing:="" 0px;"="">老師,寫這么兩個公式,分別代表當(dāng)根的值和5根K線之內(nèi)的值?
?
網(wǎng)友回復(fù):1.參考:
?
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
VALUEWHEN(JC,L);
REF(L,SUMBARS(JC,2)-1);
2.參考:
?
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
JC:=CROSS(DIFF,DEA);
VALUEWHEN(JC,LLV(L,5));
REF(LLV(L,5),SUMBARS(JC,2)-1);