Detect Trendline Cross for Trade Entry

2 replies


Administrator, sq-ultimate, 1 replies.

Visit profile

6 years ago #117809

If you want to trade semi-automatic using a manually drawn trendline crossover for example, here is how to do that. MQL4 contains a function to get a line price. The function must be supplied with correspoding line name and bars shift (back from the last bar)


The default value for the attached Wizard project is “TLINE01” so once you draw a trendline in MetaTrader you have to change the name to TLINE01 or value you use with EA input 



Subscriber, bbp_participant, community, customer, 54 replies.

Visit profile

6 years ago #197225

Thanks for sharing! 🙂
Very useful!

Automatisches Handeln mit Expert Advisor


Bambang Setyanto

Subscriber, bbp_participant, community, 1 replies.

Visit profile

3 years ago #257447



Viewing 2 replies - 1 through 2 (of 2 total)