Hi Afl experts Please help by providing code lines for following condition
If the histogram lines of MACD are above zero line, and if the histogram line value rises up by say,2%, within a limited timespan of say 5 bars,then buy signal shows up. In case the rise of macd histogram line magnitude is not upto the required level, it gives NO TRADE signal. similarly a sellshort sinal is to indicated when the histogram line is below zero line, and drops in value more than x % in a span of 5 bars,to validate sell signal. sell signal appears. if required move on downside has not occurred, then No trade signal occurs or nothing happens. Appreciate your help regards with advance thanks, rv
