Need help to write an indicator that will show where bar closed. Whether it closed in the top 25% of its range or bottom 25% of its range.
double Quarter = (High-Low)/4;
if(Close >= High - Quarter) ClosedInTopQuarter;
if(Close <= Low + Quarter) ClosedInBottomQuarter;