iHighest() returns the bar index (the number you're looking for).
int highest_bar_index = iHighest(NULL,0,MODE_HIGH,200,0); double highest_price = High[highest_bar_index];
bar_index is the bar index (not the "number"), and highest_price is the highest price. Alert() them out and you'll see.
thisone:
iHighest() returns the bar index (the number you're looking for).
bar_index is the bar index (not the "number"), and highest_price is the highest price. Alert() them out and you'll see.
Very nice. Thank you.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello Experts,
I need your help.
When I do
then how can i find this bar number of the highest point.
Thanks a lot.