Difference between revisions of "Entry Rules"

From NakedMarkets
Jump to navigation Jump to search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== [[File:Usertree entryrule.png|left|alt=Usertree entryrule|Usertree entryrule]] Summary ===
=== [[File:Usertree entryrule.png|left|alt=Usertree entryrule|Usertree entryrule]] Summary ===
The Entry Rules are the Rules dedicated to specify how to enter the Markets.  
The Entry Rules are the Rules dedicated to specify how to enter the Markets.  
<br>These Rules allow the user to define the Order type, the Stoploss, the Takeprofit, the Lot calculation method, the expiration delay (for pending orders) and eventually an Exit Rule.
<br>These Rules allow the user to define the [[Entry Rules#Order Type|Order type]], the [[Entry Rules#Stoploss|Stoploss]], the [[Entry Rules#Takeprofit|Takeprofit]], the [[Entry Rules#Lot size|Lot calculation]] method, the [[Entry Rules#Expiration delay|expiration delay]] (for pending orders) and eventually an [[Exit Rules|Exit Rule]].
<br>The Price Execution (for pending orders), the Stoploss and the Takeprofit can be calculated with a [[Core Rules#Value Core Rules|Value Rule]]. This provides the possibility to have dynamic locations of these properties depending on the Market state.
<br>The Price Execution (for pending orders), the Stoploss and the Takeprofit can be calculated with a [[Core Rules#Value Core Rules|Value Rule]]. This provides the possibility to have dynamic locations of these properties depending on the Market state.
<br>
Entry Rules can be assigned to a [[Setup Rules|Setup Rule]] or can be assigned by the user by [[User Rules#Using User Rules during Backtesting|drag&dropping it]] on a Chart during the Backtest.
<br>
Empty Entry Rule :
[[File:EmptyEntryRule.png|left|frameless|upright=6.0]]
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>


=== Order Type ===
The Order Type defines which kind of orders you want to use to enter the Market :
* Instant Buy Order
* Instant Sell Order
* Pending Buy stop Order
* Pending Sell stop Order
* Pending Buy limit Order
* Pending Sell limit Order
By double-clicking on the Order Type of the Entry Rule, you can choose it :
[[File:EntryRuleOrderType.png|left|alt=EntryRuleOrderType|EntryRuleOrderType]]
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
=== Stoploss ===
=== Stoploss ===
 
The Order Stoploss is defined by a [[Core Rules#Value Core Rules|Default or User Value Rule]]. The Stoploss is optionnal. However, we strongly recommend to always set a Stoploss on every order, to mitigate the risk on the Markets.
<br>You can assign it by drag&dropping the related Rule.
<br>
<br>


=== Takeprofit ===
=== Takeprofit ===
 
The Order Takeprofit is defined by a [[Core Rules#Value Core Rules|Default or User Value Rule]]. The Takeprofit is optionnal.
=== Lotsize ===
<br>You can assign it by drag&dropping the related Rule.
 
<br>
<br>
=== Lot size ===
The Lot size allows the user to define which type of risk calculation he wants :
* Automatic lot calculation : The percentage risk per trade
* Static lot calculation : The value of static lot size
[[File:EntryRuleOrderLots.png|left|alt=EntryRuleOrderLots|EntryRuleOrderLots]]
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
=== Execution Price ===
=== Execution Price ===
 
The Order Execution Price is defined by a [[Core Rules#Value Core Rules|Default or User Value Rule]]. It concerns only Pending orders.
<br>You can assign it by drag&dropping the related Rule.
<br>
<br>
=== Expiration delay ===
=== Expiration delay ===
 
The Expiration delay order can define a period of time which will delete the pending order after it ellapsed.
<br>You can define 2 different Expiration mode calculation :
* Number of Bars : the pending order will be automatically deleted after having displayed this number of Bars
* Time span : the pending order will be automatically deleted after this time span ellapsed
[[File:EntryRuleOrderExpiration.png|left|alt=EntryRuleOrderExpiration|EntryRuleOrderExpiration]]
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
=== Exit Rule ===
=== Exit Rule ===
Assigning an Exit Rule is optionnal. By inserting an Exit Rule to the Entry Rule, it's possible to automatically manage the opened order properties (trailing stop or trailing exits for example).
<br>You can assign it by drag&dropping the related Rule.

Latest revision as of 09:04, 29 March 2022

Usertree entryrule
Summary

The Entry Rules are the Rules dedicated to specify how to enter the Markets.
These Rules allow the user to define the Order type, the Stoploss, the Takeprofit, the Lot calculation method, the expiration delay (for pending orders) and eventually an Exit Rule.
The Price Execution (for pending orders), the Stoploss and the Takeprofit can be calculated with a Value Rule. This provides the possibility to have dynamic locations of these properties depending on the Market state.
Entry Rules can be assigned to a Setup Rule or can be assigned by the user by drag&dropping it on a Chart during the Backtest.
Empty Entry Rule :

EmptyEntryRule.png












Order Type

The Order Type defines which kind of orders you want to use to enter the Market :

  • Instant Buy Order
  • Instant Sell Order
  • Pending Buy stop Order
  • Pending Sell stop Order
  • Pending Buy limit Order
  • Pending Sell limit Order

By double-clicking on the Order Type of the Entry Rule, you can choose it :

EntryRuleOrderType










Stoploss

The Order Stoploss is defined by a Default or User Value Rule. The Stoploss is optionnal. However, we strongly recommend to always set a Stoploss on every order, to mitigate the risk on the Markets.
You can assign it by drag&dropping the related Rule.

Takeprofit

The Order Takeprofit is defined by a Default or User Value Rule. The Takeprofit is optionnal.
You can assign it by drag&dropping the related Rule.

Lot size

The Lot size allows the user to define which type of risk calculation he wants :

  • Automatic lot calculation : The percentage risk per trade
  • Static lot calculation : The value of static lot size
EntryRuleOrderLots









Execution Price

The Order Execution Price is defined by a Default or User Value Rule. It concerns only Pending orders.
You can assign it by drag&dropping the related Rule.

Expiration delay

The Expiration delay order can define a period of time which will delete the pending order after it ellapsed.
You can define 2 different Expiration mode calculation :

  • Number of Bars : the pending order will be automatically deleted after having displayed this number of Bars
  • Time span : the pending order will be automatically deleted after this time span ellapsed
EntryRuleOrderExpiration













Exit Rule

Assigning an Exit Rule is optionnal. By inserting an Exit Rule to the Entry Rule, it's possible to automatically manage the opened order properties (trailing stop or trailing exits for example).
You can assign it by drag&dropping the related Rule.