Code: Select all
SendNotification("BTF Alert >>"+TimeToStr(TimeCurrent())+Symbol()+ OrderType()+" Closed "+OrderLots() +"@ Price "+ OrderClosePrice() +"on "+ OrderCloseTime()+ "Profit is"+OrderProfit());Code: Select all
SendNotification("BTF Alert >>"+TimeToStr(TimeCurrent())+Symbol()+ OrderType()+" Closed "+OrderLots() +"@ Price "+ OrderClosePrice() +"on "+ OrderCloseTime()+ "Profit is"+OrderProfit());You should use it in that way for avoiding the alertssheriffonline » Fri Sep 25, 2015 1:15 pm wrote:warning: implicit conversion from 'number' to 'string'
what could be the issue?Code: Select all
SendNotification("BTF Alert >>"+TimeToStr(TimeCurrent())+Symbol()+ OrderType()+" Closed "+OrderLots() +"@ Price "+ OrderClosePrice() +"on "+ OrderCloseTime()+ "Profit is"+OrderProfit());
Code: Select all
SendNotification("BTF Alert >>"+TimeToStr(TimeCurrent())+Symbol()+ IntegerToString(OrderType())+" Closed "+IntegerToString(OrderLots()) +"@ Price "+ DoubleToStr(OrderClosePrice(),Digits) +"on "+ OrderCloseTime()+ "Profit is"+DoubleToStr(OrderProfit(),Digits));