Moving Average (MA)
The Moving Average (MA), when used on the Capitalise platform, refers to the Simple Moving Average (SMA). A moving average is a basic calculation of an asset’s price over a specified time period, which helps smooth out price data by creating a constantly updated average price.
It’s important to note that when calculating the moving average, the current (open) bar is not included. Only closed bars are considered in the calculation.
How can it be used within the Capitalise Platform?
There are two ways to use the moving average within Capitalise. The first is to describe it as you would with natural language.
Buy 2,000 EUR/USD if the 100-day MA of EUR/USD is below today's open
The second way to use moving average within Capitalise allows you to specify the different properties of the MA within the parentheses.
Buy 100 shares of AAPL if AAPL crosses above the Moving Average (50, Day, High)
Customizing Your Moving Average (MA)
When setting up a Moving Average on the Capitalise platform, you can configure the following properties:
Number of Bars (NumOfBars):
This defines how many bars are used in the moving average calculation. The maximum number allowed is 200.Bar Period (BarPeriod):
This sets the time interval each bar represents. Options include:
1 minute, 5 minute, 15 minute, 30 minute, 1 hour, 2 hour, 4 hour, Day, Week, or Month.Bar Price (BarPrice):
This determines which price point is used for the calculation—choose from: open, close, high, low, or mid.
Note: When using natural language (e.g., “when price crosses above the 50-period moving average”), the Bar Price is fixed to close and cannot be customized.
When you type "Moving Average" or "MA" into the Capitalise wizard, these parameters will appear for you to set, as shown below:
Exponential Moving Average (EMA)
The Exponential Moving Average (EMA) is a type of moving average that gives greater weight to more recent prices, making it more responsive to recent price changes than a Simple Moving Average (SMA).
Note: Like with MAs, only closed bars are used in EMA calculations—the current (open) bar is not included.
How can it be used within the Capitalise Platform?
Just like with the Moving Average, you can use the Exponential Moving Average (EMA) in two ways on the Capitalise platform. The first is by simply writing your condition in plain English.
Sell 1,000 USD worth of AAPL if the 8-minute EMA of AAPL is below previous day high
The second way to use exponential moving average within Capitalise allows you to specify the different properties of the EMA within the parentheses.
If the EMA (100, Day, Close) of GBP/USD is above the last day high of GBP/USD buy 10 GBP/USD
Buy 1,000 EUR/USD if the EMA (50, 15m, Close) of EUR/USD is above previous day close
Just like with the Moving Average, you can customize several properties when using the Exponential Moving Average (EMA) on the Capitalise platform:
Number of Bars (NumOfBars): This defines how many bars are used in the EMA calculation. You can set up to 200 bars.
Bar Period (BarPeriod): This determines the time interval for each bar in the EMA calculation. Options include 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, Day, Week, or Month.
Bar Price (BarPrice): This sets the price type used for the EMA—choose from open, close, high, low, or mid.
Note: When using EMA via natural language input, the Bar Price will default to the close price and cannot be customized.
When you type “Exponential Moving Average” or “EMA” in the Capitalise wizard, these parameters will appear for you to configure, as shown here:
Note: All screenshots and examples are for technical demonstration purposes only. They should not be considered as recommendations for any specific trading strategy, nor do they constitute any form of advice. Please click here for further explanation