It is still not clear exactly what your problem is. Your original question was "suggest how to combine different indicator signals that appear on different bars, into one." So, do you want a buy/sell when all three signals occur simultaneously or, for example, when all three signals are in effect (i.e., all have been triggered and none have reversed)?
Your buy/sell code I believe breaks down to:
Buy = Buy1 and Buy2 and Buy3
Sell = Sell1 and Sell2 and Sell3
ExRem(), ExRem()
Buy1/Sell1 occur on one bar and the other two conditions potentially over a range of bars. You must decide how you want to handle this situation. Depending on what you decide using individually or in combination (1) ExRem() which reverts array values after the signal to 0, (2) Flip() which holds the true value until a reversal or (3) something like BarsSince() should be able to make the code do what you want.
On another matter, there is something wrong with VWAP when using daily data (it has a constant value of 1). Your code might be OK for intraday but I did not check. For daily data I use vwap = MA( ( ( H + L ) / 2 ) * V, period ) / MA( V, period ). In any case, you can easily check the values that you are getting with readily available programs/websites/broker platforms.
Your buy/sell code I believe breaks down to:
Buy = Buy1 and Buy2 and Buy3
Sell = Sell1 and Sell2 and Sell3
ExRem(), ExRem()
Buy1/Sell1 occur on one bar and the other two conditions potentially over a range of bars. You must decide how you want to handle this situation. Depending on what you decide using individually or in combination (1) ExRem() which reverts array values after the signal to 0, (2) Flip() which holds the true value until a reversal or (3) something like BarsSince() should be able to make the code do what you want.
On another matter, there is something wrong with VWAP when using daily data (it has a constant value of 1). Your code might be OK for intraday but I did not check. For daily data I use vwap = MA( ( ( H + L ) / 2 ) * V, period ) / MA( V, period ). In any case, you can easily check the values that you are getting with readily available programs/websites/broker platforms.