I have this code for price percentage change: Pricechange=(C-Ref(C,-1))*100/Ref(C,-1);
Now i want to set a sell signal that will generate the signal if price falls for more than 4% Normally it can be done as Sell= -Pricechange>4; but this code looks into one particular bar to meet the condition but i want if cumulative price fall on some consecutive days is more than 4% then also it will generate the signal. For better understanding suppose after few days of buy occur, price on 4th day price falls 1%,2nd How could it be done? Suppose my buy is Buy= pricechange>5 and V>wma(v,15);
