Difference between revisions of "Indicators Rules"
Line 48: | Line 48: | ||
{| class=wikitable cellpadding="10" style="border-style: solid; border-width: 2px" | {| class=wikitable cellpadding="10" style="border-style: solid; border-width: 2px" | ||
|- | |- | ||
! | ! Indicator name !! Description || Returned value | ||
|- | |- | ||
| '''Symbol()''' || colspan = 3 || test || test2 || test3 || string | | '''Symbol()''' || colspan=3 || test || test2 || test3 || string | ||
|- | |- | ||
| '''Period()''' || Get the current Timeframe of the attached chart || int | | '''Period()''' || Get the current Timeframe of the attached chart || int |
Revision as of 05:40, 8 January 2024
Summary
This Indicators category contains all Default Rules using the Indicators on the Charts.
You can access every Indicator installed in Naked Markets, the default and the custom ones. Thus, every rule in this category is a Value Rule. This means that it returns always a number value and not a condition (True or False).
You can specify which data you want to get from the Indicator
Indicators
Every Indicator Rules will return the data value defined by the Rule, identified by the "Selected Value" option in the Indicator Parameters form.
Example with the Bollinger Band Indicator :
Common Parameters
- Selected Value : This is the value returned by the Indicator Rule. It depends on the Indicator you want to use. In the Bollinger Band above example, we can select the UpperBand, the MiddleBand or the LowerBand.
- Bar Position : Position of the Bar on the current chart. "0" is the last printed Bar on the chart. "1" is the previous Bar from the last Bar. "2" is the second previous Bar from the last Bar.
- Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
- Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
Indicator specific Parameters
The list depends on the indicator you use in the Rule. This is the list of parameters you choose when you attach the Indicator on the Chart.
In the previous example with the Bollinger Bands, these are : Period, Deviation, Shift, ...
Indicators return value list
For each indicator included in a rule, the selected return value can be different. As an example, if the use wants to use the Bollinger Bands indicator in his own rules, he can select the value of Up Band, Middle band or Down Band. These values are stored as IndicatorBuffer objects in the NakedMarkets API. These can be reviewed for all indicators on our Github since their source code is public. The return value will appear in the Rule indicator properties form if the indicator has called the SetIndexStyle() and SetIndexLabel() functions.
For information, if an indicator does not have return or calculated values (ie : trading sessions indicator), it will not be displayed in the related category under the Rule Manager.
Indicator name | Description | Returned value | |||
---|---|---|---|---|---|
Symbol() | colspan=3 | test | test2 | test3 | string |
Period() | Get the current Timeframe of the attached chart | int |
Here is the list of return value of all native indicators under NakedMarkets :
- Accelerator Oscillator : AC1, AC2
- ADX : Average Directional Movement Index : ADX, +Di, -Di
- Alligator : Jaws, Teeth, Lips
- AMA (Adaptative Moving Average) : AMA
- Awesome Oscillator (B. Williams)
- Aroon
- ATR : Average True Range
- Bears Power
- Bollinger Bands
- Bulls Power
- CCI : Commodity Channel Index
- DeMarker
- Donchian Channel
- Engulfing Bar
- Envelopes
- FATL : Fast Adaptive Trend Line
- Fractals
- FTLM-STLM
- Double CCI
- Heiken Ashi
- HMA : Hull Moving Average
- Ichimoku
- Inside bar
- Keltner Channels
- MACD : Moving Average Convergence Divergence
- MA Crossover
- Momentum
- Moving Average
- Murrey_Math
- OBV : On Balance Volume
- PSAR : Parabolic Stop And Reverse
- PCCI : Perfect Commodity Channel Index
- PFE : Polarized Fractal Efficiency
- Pivots points
- Price channel
- Price Daily Range
- ROC : Rate Of Change
- RSI : Relative Strength Index
- Solar Wind
- Stochastic
- Support & Resistance
- TDI : Traders Dynamic Index
- Range Expansions Index
- Ultimate Oscillator
- Volume
- %R : Percent Range (B. Williams)
- ZigZag