`The Architect`

is a `Whitebox Originals`

TradingView strategy script that is built on top of the `Whitebox Strategy Engine`

.

What makes `The Architect`

a unique strategy, is that it contains 6 different technical analysis indicators that can be used as an entry criteria:

- Trend Direction Moving Average (EMA/SMA)
- RSI
- Supertrend
- Stochastic RSI
- ADX
- Divergences (using signals from
`The Divergent`

indicator)

Below you will find the settings that are specific to `The Architect`

strategy script.

All the other settings and functionality are documented under __Whitebox Strategy Engine__ page.

The `Trend Direction MA`

criteria can be used as a trend direction filter. Traders commonly use a 200 period EMA (Exponential Moving Average) to determine the direction of the trend. If the price is above the EMA only long positions are taken (in line with the trend), and if price is below the EMA only short positions are taken.

For more information about the EMA please see https://www.investopedia.com/terms/e/ema.asp.

If enabled, the strategy will use the Trend Direction MA as an entry filter. For a long entry, the price has to be above the Trend Direction MA. For a short entry, the price has to be below the Trend Direction MA.

The type of moving average to use. Can be either `Exponential Moving Average (EMA)`

or `Simple Moving Average (SMA)`

.

To learn more about the SMA please see https://www.investopedia.com/terms/s/sma.asp.

The number of historic candles to calculate the Trend Direction MA on, in other words, the length of the moving average.

The source series to use for calculating the Trend Direction MA.

The relative strength index (RSI) is intended to chart the current and historical strength or weakness of a stock or market based on the closing prices of a recent trading period.

For more information please see https://www.investopedia.com/terms/r/rsi.asp.

If enabled, the strategy will only open a position if the RSI is above / below the specified RSI overbought / oversold levels. It is a good idea to add a separate RSI indicator to your chart to visualise how it affects your entries.

How many historical bars to calculate the RSI on.

The RSI will need to be above this level for the strategy to enter into short positions.

The RSI will need to be below this level for the strategy to enter into long positions.

Configure the way you want the strategy to use the RSI:

`Oversold territory: Long - Overbought territory: Short`

: Only open long positions if the RSI is below the oversold level (lower band) and only open short positions if the RSI is above the overbought level (upper band).`Oversold territory: Short - Overbought territory: Long`

: Only open long positions if the RSI is above the overbought level (upper band) and only open short positions if the RSI is below the oversold level (lower band).

Supertrend is a trend-following indicator based on Average True Range (ATR). The calculation of its single line combines trend detection and volatility. It can be used to detect changes in trend direction and to position stops.

Source and more information on the Supertrend indicator: https://www.tradingview.com/scripts/relativestrengthindex/?solution=43000634738

If enabled, the strategy will use a Supertrend indicator as an entry criteria. Long entries will only be taken if the Supertrend indicator is green. Short entries will only be taken if the Supertrend indicator is red.

How many historic bars to calculate the ATR on.

The number by which the ATR will get multiplied.

If enabled, a position will only be entered, if the Supertrend changes its direction following a position exit. With this you can make the strategy stop to continuously enter into a position right after closing one.

The Stochastic RSI indicator (Stoch RSI) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time. The Stochastic RSI is an oscillator that calculates a value between 0 and 1 which is then plotted as a line. This indicator is primarily used for identifying overbought and oversold conditions.

Source and more information on the Stochastic RSI indicator: https://www.tradingview.com/scripts/relativestrengthindex/?solution=43000502333

If enabled, the strategy will use the Stochastic RSI as an entry criteria for both long and short entries. Long entries will be taken if the Stochastic RSI lines cross up (K line crosses up the D line). Short entries will be taken if the Stochastic RSI lines cross down (K line crosses down the D line).

The length of the SMA that is used for calculating the K line.

The length of the SMA that is used for calculating the D line. The D line is the SMA smoothed K line.

How many historic bars to calculate the RSI on.

How many historic bars to calculate the Stochastic on.

The source series to use for calculating the RSI.

If enabled, the strategy will only take those Stochastic RSI crosses into account, which happens in the oversold / overbought territory.

The Stochastic RSI cross will need to happen above this level for the strategy to consider it as an entry signal for short positions.

The Stochastic RSI cross will need to happen below this level for the strategy to consider it as an entry signal for long positions.

If enabled, the strategy will close an open position when the Stochastic RSI crosses the opposite direction, i.e. if you are long and the Stochastic RSI crosses down, or you are short, and the Stochastic RSI crosses up. The cross is only taken into account if it happens at bar close. Note that if you have enabled `Restrict crosses to overbought/oversold territory`

the cross will have to happen in the configured territory.

The Average Directional Index (ADX) is a specific indicator used by technical analysts and traders in order to determine the strength of a trend.

Source and more information: https://www.tradingview.com/scripts/relativestrengthindex/?solution=43000589099

When enabled, the strategy will only open long / short positions if the ADX is at or above the specified level.

The length of the SMA used to calculate the ADX from the `+DI`

and `-DI`

.

The length of the `Positive Directional Movement (+DI)`

and the `Negative Directional Movement (-DI)`

.

The ADX will have to be at least at this level for a long or short entry to be signalled by the ADX indicator.

The Divergence Settings section contains the exact same inputs as any other strategy that uses divergences.

The inputs in the Divergence Settings section is documented on the Whitebox Strategy Engine / Divergence Settings page.