Coding an Indicator for the bar close.
Eric1704:
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.
Thanks.
double Quarter = (High[1]-Low[1])/4; if(Close[1] >= High[1] - Quarter) ClosedInTopQuarter; if(Close[1] <= Low[1] + Quarter) ClosedInBottomQuarter;
pipPod:
Thank you.
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.
Thanks.