## Introduction

Boolean Trader functions as an innovative system which minimises the technicalities often associated with automated trading. This is accomplished through providing a platform for speculators to build and develop personal strategies. Boolean Trader operates in a flexible and orderly manner allowing for some of the most complex structures to be constantly tested and optimised before being market ready.

BT’s foundation is built on eliminating the large barrier to entry of manual trading by allowing new retail traders to trade through a programmed structure in both strategy and logic.

An optimal strategy will have built in adaptive conditions and risk management which the average human cannot engineer successfully. Being built with Boolean logic in mind, this automated software can be utilised to its full potential through attaining an objective stance (true/false trading variables).

One of the main reasons Boolean Trader is a leading innovation for the forex automation market has to do with the extent to which unorthodox conditions can be constructed. With a function editor and pre-designed strategies, fully developed plans can become very profitable.

The beauty of automation lies in the capacity to approach trading like a machine as opposed to a human. A human cannot rapidly test, optimise and execute in real-time while Boolean Trader can. There is no single form of trading software which ensures MT4 can excel past its own previously known EA systems’ competence.

Restrictions do not apply with the software’s subscription, any forex broker which connects to the MT4 platform can work through Boolean Trader. A simple interface combining Excel’s dashboard panel to new widgets relevant to BT allow for a user-friendly and modern experience.

BT Pic

In the above picture, Boolean Trader’s various tabs are displayed. No technical expertise is required past an understanding of excel and a familiarity of integrating functions which comes naturally through general usage. The extent to which Boolean Trader enables a trader to extend their perspective past the limitations of MetaTrader 4 and MQL is easily evident in the more optimised traits of the application itself e.g.

- A tester with the capacity to judge multiple time frames and pairs at a quicker speed allows for more efficient testing of strategies and as a result quicker development for participants when building for their own market trading. - Orders can be group closed relative to the time frame/pairs that a user designates for their strategy’s execution in real-time. - Vetted strategies available to users can be applied through simple functions and order conditions due to the software allowing for orders to be opened at any trigger, prices need not necessarily be specified.

In order to ensure that the more unorthodox traders have an equal playing ground, Boolean Trader has an in-built Function Maker, expanding Excel’s capabilities.

A lot of trading software and their programming language disallow constant intricacies in their conditions due to the constraints of the platform’s foundation. Through BT’s Function Maker, market participants can create their own conditions and also continuously optimise pre-existing strategies through functions more personalised to their own style if they wish.

BT Function Maker

## How BT Makes Things Easier

Boolean Trader’s entire foundation is built on removing the common barriers to entry for the average person keen on the world of trading. Without requiring knowledge of programming and having an in-depth forex background, Boolean Trader enables development of thorough investment strategies with the resources to support both beginners and advanced traders.

The usual path for creating a trading strategy across any financial instrument would involve one of two things: learning a complex programming language like MQL from scratch or paying a developer to create and then optimise this structure for you.

Automated trading is already an advanced niche in the investment sphere and to create a viable strategy, one must have enough experience and success in trading. The main constituents of a successful trader are depicted are:

Pyramid

It’s no secret that over 90% of retail traders fail. Disregarding the complex nature behind the technical side of forex trading, the actual mindset required to maintain a profitable strategy manually is too difficult for the majority to embrace. A typical participant’s entries follow:

Entries

The constant toil between the emotions of fear and greed disrupt any viable trading strategy and therefore the knowledge and principles centred around trading cannot be executed well in real time. Automated trading removes the element of emotion, providing the most accessible platform for a market participant to work with a profitable approach. Boolean Trader is a leading modernization for traders with the beginner in mind, thoughtfully crafted for those without a technical background needing only a basic forex background to make the most of the system’s capabilities.

Through intertwining with Microsoft Excel’s framework, very simple language can be used to create trading ideas that would rival even the most complex strategies. There is therefore minimal friction to learn the necessary structure around Boolean Trader’s usage, and even still a Wikipedia full of extensive information to support a new trader. This will include areas like: strategies, function usage and unique indicators to assist people throughout.

The Boolean Trader wiki acts as a resourceful study guide containing details on the entirety of the platform’s usage with vetted functions to implement at any time. Various tutorials are available in video format to capture in real time the set-up and execution of Boolean Trader. Rather than only cater to a niche of experienced traders, Boolean Trader provides both the platform and actionable content to any speculator; for once broadening the playing field in the trading sphere.

Boolean Trader ensures that traders can execute with improved logic by allowing users to draw on indicators and charts in MetaTrader 4, triggers can be shown at different intervals which speeds up time for testing significantly. Essentially, traders become exposed to dynamic real-time feedback on their actual trading logic while in the process of experimenting.

# Installation

### System Requirements

• Windows 7 Service Pack 1 64-bit or newer
• Excel 2010 64-bit or newer

For Office 2016 and older, the installer installs the 32-bit version by default.
Office 2019 and newer versions default to installing 64-bit versions.
Mac and *nix users, please use Boot Camp or virtualization software.

Please refer to the ChangeLog for version information.

### Run the Installation Wizard

Installation is quick and easy, just download the installer and run it.
You're a wizard, Harry.
If you have any problems, read the troubleshooting section and then contact our Template:Support channel on Discord.

Windows SmartScreen Message

If you encounter this screen, click ‘More info’, and then ‘Run anyway’.

Click next and proceed with the installation.

Once Redis installation pops up, continue with that too. Default settings for Redis are fine.
Note that if Redis is already installed on your system, you won't get the Redis installation prompt.

Once the installer has finished, open Excel to complete setup.

### Activation

If Boolean Trader has installed properly, there should be a new ribbon on the right. BT requires an active subscription, so we’ll need to hit Activate to get it full up and running.

After hitting Activate your default browser will open and you’ll need to type in your Discord credentials to gain access to all features of BT. Click Authorize to finish activation.

1. In MetaTrader 4 go to Tools → Options → Expert Advisors and enable the following boxes.

2. Go to View → Strategy Tester and make sure the following options are set

3. Next, go to Expert Advisor → Inputs and change the ID to your liking

EA ID and Pair should be the same ones entered into MT4

If you select a candle and data shows up, congratulations! You've successfully installed Boolean Trader!

# FAQ

Boolean Trader is an innovative solution to implementing automated trading systems through connecting MetaTrader 4 and Microsoft Excel.

## How do I get Boolean Trader?

If you've got questions, ask us on Discord.

## How can I run Boolean Trader with Mac OS?

Bootcamp Assistant enables you to install and operate Windows applications.

An alternative solution is accessing through a Windows Virtual Machine.

## What should I know before using Boolean Trader

While our team may assist all subscribers, it is advised that speculators have a general understanding of basic forex knowledge and risk management to make the most of Boolean Trader’s capabilities.

Refer to: https://www.babypips.com/learn/forex

Our discord has a welcoming team who provide constant updates to Boolean Trader’s functionality with tutorials and designated support channels.

See below to gain an introductory insight into the platform:

## Can I use Boolean Trader in Forex Banned Countries?

Many local brokers in countries like India and Malaysia allow for trading in their relative fiat currency. Subscribers are responsible for finding these brokers with MT4 integration themselves.

## How can I use the function editor to improve my trading?

A complex function to open or close trades will be long, as such the function editor makes You can copy it and risk making errors OR use function editor to store it there.

## What is EA ID?

EA ID identifies the Expert Advisor in MT4. Thanks to EA ID you can test multiple strategies simultaneously. EA ID page contains a detailed explanation.

## What are the benefits to this over Expert Advisors?

Boolean Trader allows for automated trading without any prior programming knowledge; your own unique strategies can easily be updated and optimised at a comprehensive level. While the more advanced expert advisors are priced in thousand dollar range, Boolean Trader ensures a more flexible and personal platform for \$30 a month.

## Is it possible to request new features?

The Order responsible for developing Boolean Trader are a responsive and community-driven team; we are always evaluating through feedback and embrace input for improvement. New features can be requested and discussed at anytime.

# Functions & Indicators

## Built-in Functions

Function Name Identifier Type Description
Account BT_ACCOUNT Information Provides crucial information like your current balance, equity, available margin, leverage, etc.
Account Info BT_ACCOUNTINFO Information Provides crucial information like your current balance, equity, available margin, leverage, etc.
Close Group BT_CLOSEGROUP Order Closes one or more orders: this function can be used as a filter.
Close Order BT_CLOSEORDER Order Closes an order. This function will execute immediately if not inside a condition.
Delete Order BT_DELETEORDER Order Deletes a pending order. This function will execute immediately if not inside a condition.
Get CSV Item BT_GETCSVITEM Information Imports a CSV file.
List Candles BT_LISTCANDLES Information Insert an automatically updated list of all the candles of a selected pair. This function is required for all BT included indicators.
List Closed Orders BT_LISTCLOSEDORDERS Information Insert an automatically updated list of closed orders.
List Open Orders BT_LISTOPENORDERS Information Insert an automatically updated list of open orders.
List Pending Orders BT_LISTPENDINGORDERS Information Insert an automatically updated list of pending orders.
List Ticks BT_LISTTICKS Information Insert an automatically updated list of all the ticks of a selected pair.
Market BT_MARKET Information Provides general information on a specific pair.
Market Info BT_MARKETINFO Information Provides general information on a specific pair.
Modify Order BT_MODIFYORDER Order Modifies an existing pending order. This function will execute immediately if not inside a condition.
Open Order BT_OPENORDER Order Opens an order. This function will execute immediately if not inside a condition.
Signal BT_SIGNAL Order Send parameters to BT Signal indicator. Check MT4 data window to see statistics.

## Built-in Indicators

Indicator Name Identifier Type Description
Vector Absolute Value BT_I_ABS simple Vector Absolute Value calculates the absolute value of each element in the input array.[1]
Vector Arccosine BT_I_ACOS simple Vector Arccosine calculates the trigonometric arccosine of each element in the input array.
Accumulation/Distribution Line BT_I_AD indicator The Accumulation Distribution Line is a volume-based indicator designed to measure the cumulative flow of money into and out of a security
Accumulation/Distribution Oscillator BT_I_ADOSC indicator The Accumulation/Distribution Oscillator takes a moving average of n periods of Accumulation/Distribution Line subtracted from a moving average of m periods of Accumulation/Distribution Line.
Average Directional Movement Index BT_I_ADX indicator The Average Directional Movement Index can help determine trend strength.
Average Directional Movement Rating BT_I_ADXR indicator The Average Directional Movement Rating can help determine trend strength.
Awesome Oscillator BT_I_AO indicator The Awesome Oscillator helps determine momentum.
Absolute Price Oscillator BT_I_APO indicator Absolute Price Oscillator helps follow trends and has several uses.
Aroon BT_I_AROON indicator The Aroon indicator calculates two results: aroon-down and aroon-up. In combination, they can help determine when a trend is developing.
Aroon Oscillator BT_I_AROONOSC indicator The Aroon Oscillator indicator can help determine when the market is developing a trend.
Vector Arcsine BT_I_ASIN simple Vector Arcsine calculates the Trigonometric arcsine of each element in the input array.
Vector Arctangent BT_I_ATAN simple Vector Arctangent calculates the Trigonometric arctangent of each element in the input array.
Average True Range BT_I_ATR indicator Average True Range is a measure of volatility. It represents roughly how much you can expect a security to change in price on any given day.
Average Price BT_I_AVGPRICE overlay The Average Price indicator calculates the mean of the open, high, low, and close of a bar.
Bollinger Bands BT_I_BBANDS overlay The Bollinger Bands indicator calculates three results. A middle band, which is a Simple Moving Average, as well as upper and lower bands which are spaced off the middle band.
Balance of Power BT_I_BOP indicator The Balance of Power indicator measures the power of buyers vs sellers through evaulating the capability of each side to drive prices to acute levels.
Commodity Channel Index BT_I_CCI indicator The Commodity Channel Index​ is a momentum-based trading trading resource used in order to determine if an asset’s current condition is reaching an overbought or oversold stage.
Vector Ceiling BT_I_CEIL simple Rounds to the next highest integer (whole number).
Chande Momentum Oscillator BT_I_CMO indicator The Chande Momentum Oscillator (CMO) was developed for the purpose of allowing traders to attempt to capture the momentum of a security.
Vector Cosine BT_I_COS simple Calculates the Trigonometric cosine.
Vector Hyperbolic Cosine BT_I_COSH simple Calculates the Trigonometric hyperbolic cosine.
Crossany BT_I_CROSSANY math Crossany is a simple function that indicates when two input arrays cross each other.
Crossover BT_I_CROSSOVER math Crossover is a simple function that indicates when two input arrays crossover each other.
Chaikins Volatility BT_I_CVI indicator The Chaikin Volatility indicator depicts volatility by assessing the difference between the high and low for each period or trading bar.
Linear Decay BT_I_DECAY math Decay is a simple function used to propagate signals from the past into the future. It is useful in conjunction with algorithm trading and machine learning functions.
Double Exponential Moving Average BT_I_DEMA overlay The DEMA indicator removes the inherent lag associated with Moving Averages by placing more weight on recent values. The value of an EMA is essentially doubled in this instance.
Directional Indicator BT_I_DI indicator The Directional Indicator is a tool for assessing trend strength on any relevant asset. It is a tool for distinguishing between week and strong trends.
Vector Division BT_I_DIV simple Div simply takes two input arrays and divides them.
Directional Movement BT_I_DM indicator Work in progress
Detrended Price Oscillator BT_I_DPO indicator The Detrended Price Oscillator helps identify cycles.
Directional Movement Index BT_I_DX indicator The Directional Movement Index can help determine trend strength.
Exponential Decay BT_I_EDECAY math Decay is a simple function used to propagate signals from the past into the future. It is useful in conjunction with algorithm trading and machine learning functions.
Exponential Moving Average BT_I_EMA overlay An Exponential Moving Average (EMA) is a weighted Moving Average (MA) that places a greater weight and significance on more recent data price points.
Ease of Movement BT_I_EMV indicator Ease of movement is an indicator used by traders in their analysis to relate an asset's price change to its volume. The foundation behind this indicator contributes to understanding trend strength.
Vector Exponential BT_I_EXP simple Vector Exponential returns the exponential for each number in the input arary. That is, it calculates Euler's constant ${\displaystyle e}$ raised to the power of each input element.
Fisher Transform BT_I_FISHER indicator The Fisher Transform indicator is an oscillator which aids traders in identifying trend reversals. Uniquely transforms prices into a Gaussian normal distribution.
Vector Floor BT_I_FLOOR simple Vector Floor applies the floor function to each input in the input array. The floor function returns the largest preceding integer from the input. e.g. ${\displaystyle floor(x)}$ is the largest integer less than or equal to ${\displaystyle x}$.
Forecast Oscillator BT_I_FOSC indicator The Forecast Oscillator is an indicator that collates an asset’s close price to its time series forecast.
Hull Moving Average BT_I_HMA overlay Alan Hull developed the Hull Moving Average in his mission to create a moving average that is "responsive to current price activity while maintaining curve smoothness".
Kaufman Adaptive Moving Average BT_I_KAMA overlay The Kaufman Adaptive Moving Average tries to adjust it's smoothing to match the current market condition. It adapts to a fast moving average when prices are moving steadily in one direction and a slow moving average when the market exhibits a lot of noise.
Klinger Volume Oscillator BT_I_KVO indicator The Klinger Volume Oscillator (KVO or KO) is a volume-based indicator, it’s purpose is for assisting traders with identifying a longer-term view of trends by comparing volume to price.
Lag BT_I_LAG math The Lag indicator just introduces lag to its input. It is useful for "lookback" in building trading algorithms.
Linear Regression BT_I_LINREG overlay The Linear Regression indicator is essentially used to scan the upper and lower limits of a current trend.
Linear Regression Intercept BT_I_LINREGINTERCEPT indicator The Linear Regression is a smoothing functions that works by preforming linear least squares regression over a moving window. It then uses the linear model to predict the value for the current bar.
Linear Regression Slope BT_I_LINREGSLOPE indicator The Linear Regression Slope is a momentum indicator. It fits a line over a moving window using simple linear regression, and returns the slope of that line.
Vector Natural Log BT_I_LN simple Vector Natural Log returns the natural logarithm for each element in the input array.
Vector Base-10 Log BT_I_LOG10 simple Vector Base-10 Log returns the base-10 logarithm for each element in the input array.
Moving Average Convergence/Divergence BT_I_MACD indicator Moving Average Convergence/Divergence helps follow trends and has several uses.
Market Facilitation Index BT_I_MARKETFI indicator The Market Facilitation Index compares volume and price change.
Mass Index BT_I_MASS indicator The Mass Index is used to identify trend reversals.
Maximum In Period BT_I_MAX math The Maximum In Period indicator returns the maximum value in the last period n bars.
Mean Deviation Over Period BT_I_MD math The Mean Deviation Over Period indicator calculates the absolute mean deviation over a period.
Median Price BT_I_MEDPRICE overlay The median price indicator calculates the mean of the high and low for a bar. Despite the name, it does not calculate an actual median value.
Money Flow Index BT_I_MFI indicator The Money Flow Index represents the amount of money flowing into and out of a security.
Minimum In Period BT_I_MIN math The Minimum In Period indicator returns the minimum value in the last period n bars.
Momentum BT_I_MOM indicator The Momentum indicator calculates the change between the current price and the price ${\displaystyle n}$ bars ago.
Mesa Sine Wave BT_I_MSW indicator The Mesa Sine Wave helps identify cycles.
Vector Multiplication BT_I_MUL simple ${\displaystyle Mul}$ simply takes two input arrays and multiplies them.
Normalized Average True Range BT_I_NATR indicator Normalized Average True Range is a measure of volatility. Because Normalized Average True Range is normalized, it can be more useful than Average True Range when comparing across different price levels.
Negative Volume Index BT_I_NVI indicator Negative Volume Index tries to show what smart investors are doing by staying flat on up-volume days and only changing on down-volume days.
On Balance Volume BT_I_OBV indicator The On Balance Volume indicator calculates a running total of volume. Volume is added on up-days and subtracted on down days. The calculation is as follows:
Percentage Price Oscillator BT_I_PPO indicator Percentage Price Oscillator helps follow trends and has several uses.
Parabolic SAR BT_I_PSAR overlay The Parabolic SAR can help locate a reversal.
Positive Volume Index BT_I_PVI indicator Positive Volume Index is very similar to Negative Volume Index, but changes on volume-up days instead.
Qstick BT_I_QSTICK indicator Qstick can be used to quantify the ratio of recent up-bars to down-bars.
Rate of Change BT_I_ROC indicator The Rate of Change indicator calculates the change between the current price and the price ${\displaystyle n}$ bars ago.
Rate of Change Ratio BT_I_ROCR indicator The Rate of Change Ratio indicator calculates the change between the current price and the price ${\displaystyle n}$ bars ago.
Vector Round BT_I_ROUND simple Vector Round returns the closest integer for each element in the input array. Ties are resolved by taking the largest number.
Relative Strength Index BT_I_RSI indicator The Relative Strength Index is a momentum oscillator to help identify trends.
Vector Sine BT_I_SIN simple Calculates the Trigonometric sine.
Vector Hyperbolic Sine BT_I_SINH simple Calculates the Trigonometric hyperbolic sine.
Simple Moving Average BT_I_SMA overlay The Simple Moving Average is one of the most common smoothing functions used on time series data. It takes one parameter, the period ${\displaystyle n}$. Larger values for ${\displaystyle n}$ will have a greater smoothing effect on the input data but will also create more lag. It is calculated for each bar as the arithmetic mean of the previous ${\displaystyle n}$ bars.
Vector Square Root BT_I_SQRT simple Vector Square Root calculates the square root of each element in the input array.
Standard Deviation Over Period BT_I_STDDEV math The Standard Deviation Over Period indicator calculates the standard deviation of the input over a moving window.
Standard Error Over Period BT_I_STDERR math The Standard Error Over Period indicator calculates the standard error of the input mean over a moving window.
Stochastic Oscillator BT_I_STOCH indicator Work in progress
Stochastic RSI BT_I_STOCHRSI indicator The Stochastic RSI is a momentum oscillator to help identify trends.
Vector Subtraction BT_I_SUB simple Sub simply takes two input arrays and returns their difference.
Sum Over Period BT_I_SUM math The Sum Over Period indicator simply returns the sum of the last ${\displaystyle n}$ bars.
Vector Tangent BT_I_TAN simple Calculates the Trigonometric tangent.
Vector Hyperbolic Tangent BT_I_TANH simple Calculates the Trigonometric hyperbolic tangent.
Triple Exponential Moving Average BT_I_TEMA overlay The Triple Exponential Moving Average is similar to the Exponential Moving Average or the Double Exponential Moving Average, but provides even less lag. Triple Exponential Moving Average is probably best viewed as an extension of Double Exponential Moving Average.
Vector Degree Conversion BT_I_TODEG simple Vector Degree Conversion converts an input array of radians into an array of degrees.
True Range BT_I_TR indicator True range is a measure of volatility. It represents how much a security changed price on a given day. True range for each day is the greatest of:
• Day's high minus day's low
• The absolute value of the day's high minus the previous day's close
• The absolute value of the day's low minus the previous day's close
Triangular Moving Average BT_I_TRIMA overlay The Triangular Moving Average is similar to the Simple Moving Average but instead places more weight on middle portion of the smoothing period and less weight on the newest and oldest bars in the period. It takes one parameter, the period ${\displaystyle n}$. Larger values for ${\displaystyle n}$ will have a greater smoothing effect on the input data.
Trix BT_I_TRIX indicator The Trix is a momentum indicator. It takes one parameter, the period ${\displaystyle n}$. It is calculated as a rate of change of a Exponential Moving Average applied three times.
Vector Truncate BT_I_TRUNC simple Vector Truncate returns only the integer part of a number for each element in the input array. It is the same as Vector Floor for positive numbers and Vector Ceiling for negative numbers.
Time Series Forecast BT_I_TSF overlay The Time Series Forecast is a smoothing functions that works by preforming linear least squares regression over a moving window. It then uses the linear model to predict the value for the next bar. It takes one parameter, the period ${\displaystyle n}$. Larger values for ${\displaystyle n}$ will have a greater smoothing effect on the input data but will also create more lag.
Typical Price BT_I_TYPPRICE overlay The Typical Price calculates the arithmetic mean of the high, low, and close of a bar.
Ultimate Oscillator BT_I_ULTOSC indicator The Ultimate Oscillator is really a combination of three separate oscillators, each using a different smoothing period.
Variance Over Period BT_I_VAR math The Variance Over Period indicator calculates the variance of the input over a moving window.
Vertical Horizontal Filter BT_I_VHF indicator The Vertical Horizontal Filter indicator helps detect trends.
Variable Index Dynamic Average BT_I_VIDYA overlay The Variable Index Dynamic Average indicator modifies the Exponential Moving Average by varying the smoothness based on recent volatility.
Annualized Historical Volatility BT_I_VOLATILITY indicator The Annualized Historical Volatility indicator calculates the volatility over a moving window.
Volume Oscillator BT_I_VOSC indicator The Volume Oscillator displays the difference between two Simple Moving Average of a security's volume.
Volume Weighted Moving Average BT_I_VWMA overlay The Volume Weighted Moving Average is simalar to a Simple Moving Average, but it weights each bar by its volume.
Williams Accumulation/Distribution BT_I_WAD indicator Williams Accumulation/Distribution can help determine trend direction.
Weighted Close Price BT_I_WCPRICE overlay The weighted close price indicator calculates the mean of the high, low, and close of a bar, but the close price is weighted to count for double.
Wilders Smoothing BT_I_WILDERS overlay Wilder's smoothing is a type of exponential moving average. It takes one parameter, the period ${\displaystyle n}$, a positive integer. Larger values for ${\displaystyle n}$ will have a greater smoothing effect on the input data but will also create more lag.
Williams %R BT_I_WILLR indicator The Williams %R indicator measures momentum.
Weighted Moving Average BT_I_WMA overlay The Weighted Moving Average is similar to the Simple Moving Average but instead places more weight on more recent bars in the smoothing period and less weight on the oldest bars in the period. It takes one parameter, the period ${\displaystyle n}$. Larger values for ${\displaystyle n}$ will have a greater smoothing effect on the input data.
Zero-Lag Exponential Moving Average BT_I_ZLEMA overlay Zero-Lag Exponential Moving Average modifies a Exponential Moving Average to greatly reduce lag.