Download MetaTrader 5

Help with trend line code

To add comments, please log in or register
Do you know that MQL5 can create custom graphical tools?
Welwitschia Mirabilis
Welwitschia Mirabilis 2010.02.12 11:16 

Dear all,

I hope someone of you can help me sending a code that allows me to control how a specific EA trades.

What I need to do is to manually drive an expert advisor and make it stop tradding when a specific condition meets.

The idea is to manually draw a trend line on MT4, and make the EA stop work if this trend line is broken. For instance:

I draw a down trend line whille the EA is working for SELL ONLY, and the price starts going up and breaks the trend line. At this point I want the EA to stop trading.

I send a sample image

Thank you in advance


whroeder1 2013.12.12 21:03  
  1. You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. You do NOT try to attach images, just insert them
To add comments, please log in or register