Make your trend lines execute your orders

0
(0)
Make your trand lines alive

directions
This EA will work with horizontal lines and trend lines and can shut and open trades based on them. You inform EA what to do by utilizing correct description to every line. EA has parameters defining methods to set description for the lines:

- BuyTouchDescription - when line could have this description (default "tbuy-") then when worth will contact this line then EA will open purchase commerce. After "-" signal you set place measurement for a commerce, so when for instance you'll set such description for a line: "tbuy-1.5" then EA will open 1.5 lot purchase commerce when worth contact this line.
- SellTouchDescription - when line could have this description (default "tsell-") then when worth will contact this line then EA will open promote commerce. After "-" signal you set place measurement for a commerce, so when for instance you'll set such description for a line: "tsell-1.5" then EA will open 1.5 lot promote commerce when worth contact this line.

- BuyCrossDescription - when line could have this description (default "cbuy-") then when worth will cross this line (shut on the opposite aspect of the road) then EA will open purchase commerce. After "-" signal you set place measurement for a commerce, so when for instance you'll set such description for a line: "cbuy-1.5" then EA will open 1.5 lot purchase commerce after candle shut on the opposite aspect of this line.
- SellCrossDescription - when line could have this description (default "csell-") then when worth will cross this line (shut on the opposite aspect of the road) then EA will open promote commerce. After "-" signal you set place measurement for a commerce, so when for instance you'll set such description for a line: "csell-1.5" then EA will open 1.5 lot promote commerce after candle shut on the opposite aspect of this line.

- CloseTouchDescription - when line has this description (default "tclose-") then when worth contact this line then EA will shut commerce.
- CloseCrossDescription - when line has this description (default "cclose-") then when worth cross this line then EA will shut commerce.
In the identical method like for line for open trades you possibly can set commerce measurement that ought to be open. You set it after signal "-", so for instance once you set description "tclose-1.5" then EA after worth contact this line shut 1.5 commerce measurement. In case you dont set commerce measurement that you just need to shut (for instance description for a line is "tclose-") then EA will shut each open order for that pair.
Closing commerce is totally versatile and helps many positions open, when for instance you've gotten 2 positions open - first place is 1 lot purchase commerce, and 2nd place is 2 lot purchase commerce, and you've got line with description "cclose-1.5", then when worth shut on the opposite aspect of the road, then EA will:
1. take the primary open order (on this instance 1 lot commerce) and shut it
2. take the following commerce open and shut remaining 0.5 lot measurement, and depart open 1.5 lot measurement
Click to Enlarge

Name: pic01.JPG
Size: 135 KB

Commerce supervisor is one other EA utilizing MA and trendlines after you open the commerce, however you have to learn the opposite thread for full description and you have to put KAMMA indicator on indicator's folder
http://www.forexfactory.com/showthread.php?t=293850

Hooked up Recordsdata
File Type: ex4 TrendLine_trade_EA.ex4   15 KB | 2,465 downloads
File Type: ex4 TradeManager_v18.ex4   22 KB | 1,549 obtain | Uploaded Might 22, 2012 4:25am
File Type: ex4 TrendLine_EA_v36.ex4   60 KB | 1,890 obtain | Uploaded Might 22, 2012 4:27am
File Type: ex4 KAMA.ex4   3 KB | 1,442 obtain | Uploaded Might 22, 2012 4:33am

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.