Difference between revisions of "Core Rules"

From NakedMarkets
Jump to navigation Jump to search
Line 21: Line 21:
<br>
<br>
<br>
<br>
These can be defined by [[User Rules]] (Rules created by the user) or [[Default Rules]] (Rules already installed in Naked Markets)
<br>
<br>
These can be defined by [[User Rules]] (Rules created by the user) or [[Default Rules]] (Rules already installed in Naked Markets)
<br>
<br>



Revision as of 00:42, 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 to the Default 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 below that the title name of the Rule is violet because the Rule is composed by conditional expression.

CondValueRules
Value Core Rules

qsfd