faustf:
Hi guys is possible return a position bar by price ?
example i have a highets value of 48 bar , suppose is 0.96366 , exist a method for positionbyvalue (0.96366) and return me .... 5 the fifth bar
Not clear what you are asking.
If you want the bar index of the highest of n bars use iHighest().
i have a part of code that return me a value
Lowest = MathMin(HighPrice[ArrayMinimum(HighPrice,WHOLE_ARRAY,0)],LowPrice[ArrayMinimum(LowPrice,WHOLE_ARRAY,0)]);
but i want know also a position how is possible>?
thankz
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi guys is possible return a position bar by price ?
example i have a highets value of 48 bar , suppose is 0.96366 , exist a method for positionbyvalue (0.96366) and return me .... 5 the fifth bar