kitdanai viriyachaipong / Publications
Forum
Convert formula Metastock to mt4
Could you please convert this code below to mt4 expert thank you. Fst:=Mov(C,12,E); Fst; Slw:=Mov(C,26,E); Slw; Bullish:=MACD()>0; Bearish:=MACD()<0; Buy:=Bullish AND Ref(Bearish,-1); BuyPrice:=ValueWhen(1,Buy,C); ProfitLong:=100*((C-BuyPrice)/BuyPrice); Sell:=Bearish AND Ref(Bullish,-1);