• LIMITED TIME OFFER: use coupon code PRIMEDAY (case sensitive) at checkout to save $50 off VIP membership (down to $149 / year). Valid through Tuesday 6/22. Biggest discount this year!

Repainting a candle if price action meets criteria

jimothy

New member
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);
 

Similar threads

Top