Highest & lowest price
- Ordertype based on indicator
- Previous Bars Calculation
- What is the Formula of Fibonacci Retracement? I'm planning to put Fibonacci in SubWindow.
iHighest will tell you which bar made the highest price over the period specified (you want the last 50 bars). The bar number is called a shift.
iLowest will tell you which bar made the lowest price.
You can then retrieve the actual price using High (or Low).
So if iHighest told you the highest price was on bar 39, you would retrieve that price with High[39].
Links should explain along with examples.