Download MetaTrader 5
To add comments, please log in or register
Find out how to add a video in the messages editor
ForexTrader17
1009
ForexTrader17 2014.12.02 02:32 

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. 

Ernst Van Der Merwe
4402
Ernst Van Der Merwe 2014.12.02 09:22  
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;
whroeder1
13619
whroeder1 2014.12.02 15:10  
Eric1704: Need help to write an indicator that ...
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
ForexTrader17
1009
ForexTrader17 2014.12.02 20:32  
WHRoeder:
Eric1704: Need help to write an indicator that ...
You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.

Thank you.
ForexTrader17
1009
ForexTrader17 2014.12.02 20:32  
pipPod:

Thank you.
/
To add comments, please log in or register