• Обзор
• Отзывы
• Обсуждение (2)

Now, eliminate most of the emotional factors from trading with trend line trader. You can set dynamic sell limits and buy limits with this EA.

Parameters:

SLMT: SELL LIMIT behavior

BSL  : STOP LOSS for buy orders

SSL  : STOP LOSS for sell orders

BTP : TAKE PROFIT for Buy orders

STP : TAKE PROFIT for sell orders

RC    : Risk capital to calculate the lot size

FL    : Fixed lots for trading

Magic : EA Magic

Max Orders : Max orders that can be opened per side.

Eg: Max Orders = 2

Two sell orders and Two buy orders can be opened.

How to set parameters:

Draw your supports and resistances as usual. Now change the description to match your orders as follows.

Eg: Say you are going to place a;

Sell limit SLMT

Stop loss of 200 points. SL=200

Risk capital of 3% RC=3

Take profit of 300 points TP=300

Placing a dynamic SELL LIMIT

So once you change the description of the trend line that should work as a sell limit will be as SLMT;SL=200;TP=300;RC=3;ID=1

Note that each parameter is separated with a semi colon (;). A semicolon at the end of the parameter list will not be necessary. For this version, Please enter all parameters in capital letters.

ID parameter is assigned to the order as a comment. It will be explained in next section.

You can just omit the rick capital and use fixed lot sizes. Just remove RC=3  and add FL=0.20 or any lot size you require. If you place both RC and FL, RC will be given the priority. However, if you omit SL parameter, then RC parameter will be neglected and fixed lot size will be used to open the trade. If you omit both RC and FL, then the minimum contract size (0.01) will be opened.

Placing a dynamic STOP LOSS

Once you have placed a SELL LIMIT, you can set the STOP LOSS within the same line so the trade will be opened with that SL and TP. However, should you require to set a dynamic STOP LOSS, you can just draw the line and just change the description to STP. (Sell Take Profit). Once the price drops below that line ALL sell orders opened by that EA will be closed. If you want to close only a specific sell order, just add the ID parameter to the sell limit before placing the trade. Then add the same id parameter to SSL line and it will close only the relevant sell order.

Eg:

Parameter-------- Result

SSL------------------Closes all sell orders placed by this EA

SSL;ID=2------------Closes the sell order with ID 2 opened by this EA

STP------------------Closes all sell orders opened by this EA

STP;ID=8------------Closes the trade with ID 8 opened by this EA