SHORT:=12;
LONG:=26;
MID:=9;
B1:=EMA(C,12);
B2:=EMA(C,26);
B3:=B1-B2;
WDIF:EMA(EMA(C,3),3)+B3;
WDEA:EMA(WDIF,9);
SHORT:=12;
LONG:=26;
MID:=9;
B1:=EMA(C,12);
B2:=EMA(C,26);
B3:=B1-B2;
WDIF:EMA(EMA(C,3),3)+B3;
WDEA:EMA(WDIF,9);