Core Rules: Difference between revisions

From NakedMarkets
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
Every Core Rule is composed itself by at least 2 Core Rules :
Every Core Rule is composed itself by at least 2 Core Rules :
<br>
<br>
[[File:VoidCoreRuleExample.png|600px|left|alt=VoidCoreRuleExample|VoidCoreRuleExample]]
[[File:VoidCoreRuleExample.png|400px|left|alt=VoidCoreRuleExample|VoidCoreRuleExample]]
<br>
<br>
<br>
<br>
Line 26: Line 26:
=== [[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 according to the Default Rules or User 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>
If the Close of the last candle is greater than its Low, this Core Rule will return True, False otherwise :<br>
If the Close of the last candle is greater than its Low, this Core Rule will return True, False otherwise :<br>
[[File:ConditionalRuleExample.png|600px|left|alt=ConditionalRuleExample|ConditionalRuleExample]]
[[File:ConditionalRuleExample.png|600px|left|alt=ConditionalRuleExample|ConditionalRuleExample]]
<br>
<br>
<br>
<br>
<br>
Line 49: Line 48:
=== [[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>
The Value Core Rules rely on a user-defined value. They are based on arithmetics.<br>
It's possible to define every possible value according to the Default Rules or User Rules, available in Rule Manager.
It's possible to define every possible value according to the [[Default Rules]] or [[User Rules]], available in Rule Manager.
<br>
<br>
[[File:ValueRuleExample.png|600px|left|alt=ValueRuleExample|ValueRuleExample]]
[[File:ValueRuleExample.png|600px|left|alt=ValueRuleExample|ValueRuleExample]]

Revision as of 07:45, 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
VoidCoreRuleExample












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

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












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

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