i'm writing an EA using SilverTrend indicator and using iCustom function. i have to access the last trend signal given by this indicator. the problem is, silvertrend has only 2 buffers and they have a value only when it signals. but i want to call it anytime. so, i'm trying to add an additional buffer to Silvertrend which stores latest trend(up/down) for every bar. i added a buffer stores uptrend as 1 and downtrend as -1. but it takes 0 for all bars. how can i code this?