Open Trade

<< <%SKIN-STRTRANS-SYNTOC%> >>

Navigation:  Strategy Workspace >

Open Trade

The Open Trade tab consists of several orders. By default, there is one buy order and one sell order.

 

clip0076

 

AND vs. OR between conditions

 

Instead of explicitly writing and AND/OR operator between conditions, EA Builder offers a more intuitive interface by grouping conditions into orders.

 

•An order is executed when all conditions within the order are met.

•You can create another group of conditions via New Buy/Sell Order. In most Expert Advisors, this is rarely used.

 

Consider the following example:

 

clip0075

 

There are two buy orders and two sell orders. Each order consists of two conditions. The conditions can be translated as:

 

•If Moving Average (Period: 5) crosses above Moving Average (Period: 20) and price is above Moving Average (Period: 100), then open a buy order.

•If Stochastic Oscillator (Base Line) crosses above Stochastic Oscillator (Signal Line) and it's below value 20, then open a buy order.

 

The two buy orders (groups of conditions) are completely independent. Each order can have a different Stop Loss, Take Profit, position size or order name. The same holds for sell orders.