Hey guys
Looking for a way to accomplish the following and I am hitting a mental wall
The basic rule I want to accomplish is..if in the last 5 minutes, the price of a stock has at some point moved $1.50, then repaint the candle. This is where I'm at but it would only work on a 5minute view...
AssignPriceColor(if low-close <= -1.50 then Color.YELLOW else Color.CURRENT);
Looking for a way to accomplish the following and I am hitting a mental wall
The basic rule I want to accomplish is..if in the last 5 minutes, the price of a stock has at some point moved $1.50, then repaint the candle. This is where I'm at but it would only work on a 5minute view...
AssignPriceColor(if low-close <= -1.50 then Color.YELLOW else Color.CURRENT);