You can refer to the source code of function CalcLineValue() at 'Orders Guardian'.
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,
I wanted to get an alert if the current price touches the cahnnel object which I've created with the Channel Equidistant Tool of MT4. In case if I use a Trendline instead it is clear that I get the current Price value by using the
ObjectGetValueByShift() function
on the current Bar, but in case of a channel I have two lines and I need one value for the upper and one value for the lower line. How to handel that?
Thanks in advance
Markus