![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
I have found a indicator on this website which provides previous day (or week / /month) high and low prices. I want to use this as the basis of creating my own EA to place buystops and sellstops at the previous day high and low.
Link: https://www.mql5.com/en/code/14410
I can see the code I want to extract and connect to in my enter trade section (full code provided in the link):
In my enter trade section I have tried a variety of codes to link them for example: DayHigh = TempData.PeriodHigh etc.. which just returns 0.
The indicator codes looks very useful but can anyone help me use it to get the high low information to use as buy/sell stop process?