![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'm not going to get into the discussion about whether it makes any sense, lest we spin off onto another tangent of pixel stop losses ;-)
Figure out the y values of 30% and 70% of the subwindow's height.
Use ChartXYtoTimePrice() to find out the "price" at 30% and 70%
Check your indicator values to see if they have crossed those values.
Edit: in the reference the function uses sub_window, so here we go, new horizons for my coding <3