![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
hello i'm trying to record support resistance levels of the fx market with an array. anyone who has done this before can you write reply please i don't want to reinvent a wheel
1. the array will check last 100 bars on M1 periodicity chart to find highest highs and lowest lows
2.different code compares highest highs lowest lows to determine support resistance levels
3. ultimately i want to determine average price direction and where to put stop loss take profit and how long to stay in market
![market line chart market line chart](https://c.mql5.com/3/120/market_line_chart.PNG)