INPUT: SHORT(5,1,900),LONG(30,1,900); DIF1: (LONG-SHORT)/2*EMA(EMA((C-REF(C,1)),SHORT),LONG); DIF2: ((LONG-SHORT)/2)*EMA(EMA(C,SHORT)-REF(EMA(C,SHORT),1),LONG); DIF3: EMA(C,SHORT)-EMA(C,LONG) ;