merhaba,
aşağıdaki formülleri inceleyebilirsiniz
bilgilerinize
Yeşile dönenler,
MACD(26,12,9) -MACDTrigger(26,12,9)>ref(MACD(26,12,9) -MACDTrigger(26,12,9),-1) AND
ref(MACD(26,12,9) -MACDTrigger(26,12,9)<ref(MACD(26,12,9) -MACDTrigger(26,12,9),-1),-1)
kırmızıya dönenler,
MACD(26,12,9) -MACDTrigger(26,12,9)<ref(MACD(26,12,9) -MACDTrigger(26,12,9),-1) AND
ref(MACD(26,12,9) -MACDTrigger(26,12,9)>ref(MACD(26,12,9) -MACDTrigger(26,12,9),-1),-1)
4 bardan daha fazla yeşil veya kırmızıda kaldı ise,
ysl:=MACD(26,12,9) -MACDTrigger(26,12,9)<ref(MACD(26,12,9) -MACDTrigger(26,12,9),-1) ;
krz:=MACD(26,12,9) -MACDTrigger(26,12,9)>ref(MACD(26,12,9) -MACDTrigger(26,12,9),-1);
a:=BarsSince(ysl);
b:=BarsSince(krz);
a>4 or b>4