I would like to know how one can set up a condition to draw arrows within a specified range of an indicator each time the indicator closes any where within that range only. For example such a condition using the CCI would look like this;
*BUY: Each time a candle closes and the value of the CCI is anywhere between the range of 10 to 20, this should a buy(green) arrow.
*SELL: Each time a candle closes and the value of the CCI is anywhere between the range of -10 to -20, this should sell arrow(red).
Can anyone tell me how to write such conditions for buy and sell arrows?