Difference between revisions of "Core Rules"

From NakedMarkets
Jump to navigation Jump to search
Line 27: Line 27:
=== [[File:LegoMini-Violet.png|20px|left|CondCoreRules]] Conditional Core Rules ===
=== [[File:LegoMini-Violet.png|20px|left|CondCoreRules]] Conditional Core Rules ===
The Conditional Core Rules rely on a user-defined statement. They are based on the [https://en.wikipedia.org/wiki/Boolean_expression boolean logic].<br>
The Conditional Core Rules rely on a user-defined statement. They are based on the [https://en.wikipedia.org/wiki/Boolean_expression boolean logic].<br>
It's possible to define every possible condition according to the Default Rules, available in Rule Manager.
It's possible to define every possible condition according according to the Default Rules or User Rules, available in Rule Manager.
<br>
<br>
For example, the following Conditional Core Rule evaluate the expression between the Close of the last candle and the its low.<br>
For example, the following Conditional Core Rule evaluate the expression between the Close of the last candle and the its low.<br>
Line 44: Line 44:
<br>
<br>
<br>
<br>
<br>
You can see above that the title name of the Rule is violet because the Rule is composed by conditional expression.
You can see below that the title name of the Rule is violet because the Rule is composed by conditional expression.
<br>
<br>
<br>
<br>


=== [[File:LegoMini-Blue.png|20px|left|CondValueRules]] Value Core Rules ===
=== [[File:LegoMini-Blue.png|20px|left|CondValueRules]] Value Core Rules ===
 
The Value Core Rules rely on a user-defined value. They are based on arithmetics.<br>
qsfd
It's possible to define every possible value according to the Default Rules or User Rules, available in Rule Manager.
<br>
[[File:ValueRuleExample.png|600px|left|alt=ValueRuleExample|ValueRuleExample]]

Revision as of 00:44, 23 August 2021

Summary

The Core Rules are the core underlying component of every other rules (Setup, Entry and Exit Rules). You can define an expression to calculate a value or to evaluate a condition.
There are two types of Core Rules : the Conditional Core rules and the Value core rules. They are distinguished by their color icon.
Every Core Rule is composed itself by at least 2 Core Rules :

VoidCoreRuleExample













These can be defined by User Rules (Rules created by the user) or Default Rules (Rules already installed in Naked Markets)

CondCoreRules
Conditional Core Rules

The Conditional Core Rules rely on a user-defined statement. They are based on the boolean logic.
It's possible to define every possible condition according according to the Default Rules or User Rules, available in Rule Manager.
For example, the following Conditional Core Rule evaluate the expression between the Close of the last candle and the its low.
If the Close of the last candle is greater than its Low, this Core Rule will return True, False otherwise :

ConditionalRuleExample













You can see above that the title name of the Rule is violet because the Rule is composed by conditional expression.

CondValueRules
Value Core Rules

The Value Core Rules rely on a user-defined value. They are based on arithmetics.
It's possible to define every possible value according to the Default Rules or User Rules, available in Rule Manager.

ValueRuleExample