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
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