Download MetaTrader 5

if trend line crosses another trend line in the future

To add comments, please log in or register
Michael Rose
505
Michael Rose  
Hi there, I'm busy on an indicator for MT4, but I can't seem to add the rule to only show me a signal if trend line 1 crosses the ray of trend line 2.

Please help?


I know it should be something like:

if ObjectGetValueByShift ("Title + Trendline1") > ("Title + Trendline2");

But it doesn't work.

Please somebody correct me, and assume my lines are called trendline1 and trendline2.
To add comments, please log in or register