I'm looking for bars where the close from 3 days ago = the low from 3 days ago. But I'm not sure how to program it. In simple terms, if the low from 3 days ago = close from 3 days ago, then place an up arrow under the bar from 3 days ago. Any help would be greatly appreciated!
Here's what I have so far:
DefineGlobalColor("True", color.white);
DefineGlobalColor("False", color.yellow);
If close[3] = low[3] then plot signal
signal.setPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_UP);
signal.setDefaultColor(color.green);
Here's what I have so far:
DefineGlobalColor("True", color.white);
DefineGlobalColor("False", color.yellow);
If close[3] = low[3] then plot signal
signal.setPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_UP);
signal.setDefaultColor(color.green);