Services/Products
Support
Trader's Market
Features arrow Promotion arrow Partner arrow
Services/Products
Support
Trader's Market

Support information for customers, including how to open an account, how to use the trading tools, and a collection of QAs from the help desk.

Web Trader Web Trader
Features Features Features
arrow
Promotion Promotion Promotion
arrow
Partner Partner Partner
arrow
Trader's Market Trader's Market Trader's Market
bg

Custom Signal Indicator

  • Usage scenarios
  • How to install
  • How to set up
#technical
#mainchart
indicator
indicator
indicator
indicator
indicator
indicator
indicator
indicator
indicator
indicator
next
prev
mt4 mt5
#technical
#mainchart
icon_like

download

Downloaded:

0 times

The Custom Signal Indicator combines multiple technical indicators and outputs buy and sell signals based on customized rules. Customization that would normally require programming can be achieved simply by entering conditions from the parameter settings screen.

icon_like

download

Downloaded:

0 times

Usage scenarios

Display buy and sell signals with your own rules

For example, you can display signals by freely combining 10 types of technical indicators, such as “display a buy signal when the moving average is pointing upward and the main line of the stochastics is below 20.” Signals can be intuitively created to match various trading styles such as trend following, counter-trend, or volatility-focused strategies.

sample

For analyzing past charts against strategies

Before implementing a newly conceived trading idea, you can use the Custom Signal Indicator to display buy and sell signals while looking at past charts to explore the effectiveness and stability of your strategy. This process allows you to understand the tendencies of your trading strategy and refine it.

sample

As a substitute for technical indicator notifications

You can also use the notification function of the Custom Signal Indicator to issue alerts when technical indicator values reach certain levels. For example, you can set up a notification for when RSI exceeds 70, which can serve as a trigger to start looking for entry timing.

sample

With the Custom Signal Indicator, if you have knowledge of technical analysis, you can try various combinations and logics. Please use it to verify your own unique methods.

How to install

To use the Custom Signal Indicator, follow the steps below to download and install it.

Step 1

Click the button below to download the indicator for MT4/MT5.

Step 2

Click File > Open Data Folder in the top menu of MT4/MT5.

img

Step 3

In the data folder, double-click the MQL4 or MQL5 folder.

img

Step 4

In the MQL4/MQL5 folder, double-click the Indicators folder.

img

Step 5

Save the Custom Signal Indicator in the Indicators folder.

img

Step 6

Go back to the MT4/MT5. Right-click Indicators in the Navigator, and click Refresh.

img

Step 7

In the Navigator, click the + icon next to Indicators. Find the Custom Signal Indicator, then either double-click it or drag it onto a chart.

img

Step 8

In the indicator settings window, customize the settings on the Inputs tab according to the How to set up page, then click OK.

img

Step 9

The Custom Signal Indicator is applied to the chart, and the signals will be displayed based on the set conditions.

img

How to set up

Apply this indicator to the chart, then set the parameters according to your style.

Step 1

First, open the Inputs tab.

img

Step 2

Set the parameters as follows.

img
①Entry type

Select the entry type for when conditions are met: Buy or Sell.

②Calculate period

Specify the number of bars to be used for triggering signals. If there is lag, reduce the period by setting a shorter value.

③Sign distance

Specify the position of the signal in relation to the bar.

Buy signals will be placed the specified number of points below the low price, while Sell signals will be displayed the specified number of points above the high price.

The default value is set to 10.

img
①Sign type 1

Select the signal type for when conditions are met: Entry or Exit.

②AND/OR

Choose AND to trigger the signal when all conditions are met, or OR if you want the signal when any condition is met.

③Conditional 1

Enter the condition formula.

For example, if 'Indicator A' is RSI and 'Conditional 1' is 'A>=70', a signal will be displayed when RSI is 70 or higher, provided there are no other conditions.

img
①Indicator A

Select a technical indicator from the following ten types to use for the condition. Choose 'None' if you prefer not to use any indicator.

・ADX

・Bollinger bands

・Moving Average

・Parabolic SAR

・ATR

・CCI

・MACD

・Momentum

・RSI

・Stochastics

②Indicator A parameters

Set the parameters for the selected technical indicator. The number and values of parameters vary depending on the indicator.

img
①Mail alert

When set to ON, you'll receive email notifications.

②Message

Enter the message of the email notification. This is for your convenience in identifying the indicator that triggered the notification and will not affect its functionality. The default message is “Customize indicator”.

③Popup alert

When set to ON, you'll receive popup notifications.

④Push notification

When set to ON, you'll receive popup notifications.

Step 3

After setting up the indicator, click on the Experts tab in the Toolbox (Terminal in MT4) to check if any errors have occurred. If parameters are missing for the selected technical indicator, “Missing required (technical indicator name) parameters.” will be displayed.

If this error appears, please check if parameters corresponding to each technical indicator have been entered.

img

How to specify conditions

The signal conditions are set by combining the following three settings.

  • How to combine conditions (AND/OR)
  • Condition expressions
  • Technical indicator parameters

How to set AND/OR

In the “AND/OR” parameter, select “AND” if you want to display a signal when all the set condition expressions are met, or select “OR” if you want to display a signal when at least one of the set condition expressions is met.

For example, if there are three “AND” conditions, a signal will not be displayed unless all three conditions are met. If there are three “OR” conditions, a signal will be displayed if any one of the three conditions is met.

Since “OR” conditions are always evaluated independently, if there are three “AND” conditions (conditions 1-3) and two “OR” conditions (conditions 4 and 5), signals will be displayed in all three of the following patterns:

  • All three “AND” conditions (conditions 1-3) are met
  • One “OR” condition (condition 4) is met
  • One “OR” condition (condition 5) is met

How to set condition expressions

With the Custom Signal Indicator, you can set conditions such as “RSI exceeds 70” or “moving average turns upward.” These condition settings are made by combining the “Indicator settings” and “Conditional settings” parameters.

In “Indicator settings,” you assign the value calculated by any technical indicator to one of A to E. Then, in “Conditional settings,” you enter a formula using that letter to compare letters with each other, or a letter with a number or current rate.

For example, for the condition “RSI exceeds 70,” after setting the RSI value to the letter “A” in “Indicator settings,” enter “A>70” in “Conditional settings.”

img

For the condition “moving average turns upward,” after assigning the value of the moving average in the current bar to the letter “A” and the value of the moving average in the previous bar to the letter “B” in “Indicator settings,” enter “A>B” in “Conditional settings.”

img

In “Conditional settings,” you can enter the following elements and comparison conditions.

icon_tryangle_black
Elements
Letters These represent the values of technical indicators assigned in “Indicator settings.” You can enter any of the five letters A through E.
Numbers You can directly enter numerical values. Decimal points are also acceptable.
Price rates
You can enter any of the three types: “Close,” “Ask,” and “Bid.”
Close
Ask
Bid
Arithmetic operators
You can enter the following four types of arithmetic operators.
Addition symbol: +
Subtraction symbol: -
Multiplication symbol: *
Division symbol: /
Letters These represent the values of technical indicators assigned in “Indicator settings.” You can enter any of the five letters A through E.
Numbers You can directly enter numerical values. Decimal points are also acceptable.
Price rates
You can enter any of the three types: “Close,” “Ask,” and “Bid.”
Close
Ask
Bid
Arithmetic operators
You can enter the following four types of arithmetic operators.
Addition symbol: +
Subtraction symbol: -
Multiplication symbol: *
Division symbol: /
icon_tryangle_black
Comparison conditions
Condition Example Meaning
== A==B (A is) equal to (B)
!= A!=B (A is) not equal to (B)
> A>B (A is) greater than (B)
>= A>=B (A is) greater than or equal to (B)
< A<B (A is) less than (B)
<= A<=B (A is) less than or equal to (B)
Condition Example Meaning
== A==B (A is) equal to (B)
!= A!=B (A is) not equal to (B)
> A>B (A is) greater than (B)
>= A>=B (A is) greater than or equal to (B)
< A<B (A is) less than (B)
<= A<=B (A is) less than or equal to (B)

How to set technical indicators

When setting technical indicators, it is necessary to enter parameters such as the period for technical indicator calculations, which line to specify (mode), which candle stick’s value to use relative to the current bar (shift), and other conditions.

The number of required input items differs depending on whether you are using MetaTrader4 (MT4) or MetaTrader5 (MT5), so please check the setting method for each technical indicator individually.

The values listed as reference parameters in the explanation for each technical indicator match the default settings when using each technical indicator in MT4/MT5. If you want to run with default settings, please copy and use as is.

How to enter Mode and Shift

Mode is a setting used when a single technical indicator has multiple lines (such as upper line, middle line, lower line) like Bollinger Bands.

If you want to set a condition like “display a sell signal when the closing price (Close) exceeds the +2σ line,” you need to set up “use the value of the Bollinger Band’s upper line” because the +2σ line corresponds to the upper line of the Bollinger Bands.

In MT4/MT5, when there are three lines, you specify a line by using one of the numbers “0,” “1,” or “2.” The numbers are predetermined, and for Bollinger Bands, the middle line is “0,” the upper line is “1,” and the lower line is “2.”

img
0 Middle line
1 Upper line
2 Lower line
0 Middle line
1 Upper line
2 Lower line

Shift specifies which candle stick’s technical indicator value you want to use, counting from the current bar. If you want to use the value of the current bar, specify “0”; if you want to use the value from one bar before the current bar, specify “1,” and the value increases as the candle stick to be used becomes older.

img

If you want to specify the condition “moving average is pointing up,” set the condition as “the moving average value at shift 1 is higher than the moving average value at shift 2.”

notice
Shift 0 values fluctuate

Technical indicator values at shifts of 1 or higher do not fluctuate, but “Shift 0” refers to the current bar, so the technical indicator value may change. If you want to refer to a confirmed value, avoid using Shift 0.

Technical indicators

ADX

When specifying ADX conditions, five input items are required in MT5 and six in MT4.

Platform Inputs Example
MT5 5 NULL, 0, 14, 0, 0
MT4 6 NULL, 0, 14, 1, 0, 0
Platform Inputs Example
MT5 5 NULL, 0, 14, 0, 0
MT4 6 NULL, 0, 14, 1, 0, 0
img
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③Period

Enter the period for calculating the ADX. The default is “14”.

④Applied Price*2

This item only needs to be entered in MT4. Please specify which price to use for ADX calculation from the following:

1: Close

2: Open

3: High

4: Low

5: (High+Low)÷2

6: (High+Low+Close)÷3

7: (High+Low+Close×2)÷4

⑤Mode

Specify which line’s value to use among the three ADX lines. Enter a value from 0 to 2.

・0:ADX

・1:+DI

・2:-DI

⑥Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

*2This item only needs to be entered in MT4.

Sample setting using three shifts with the same technical indicator

This is a sample setting that uses three different shifts of the same technical indicator and uses their values as conditions.

If you want to make a buy entry when the ADX is pointing upward in the recent candles (Shift 1 and Shift 2) and the current candle (Shift 0) exceeds 40, and exit when the ADX is pointing downward in the recent candles (Shift 1 and Shift 2) and the current candle (Shift 0) falls below 20, configure the settings as follows:

  • Indicator A: ADX with Shift 1
  • Indicator B: ADX with Shift 2
  • Indicator C: ADX with Shift 0
img
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>B
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 C>=40
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 A<B
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 C<20
Indicator A ADX
Indicator A parameters
(MT4)NULL, 0, 14, 1, 0, 1
(MT5)NULL, 0, 14, 0, 1
Indicator B ADX
Indicator B parameters
(MT4)NULL, 0, 14, 1, 0, 2
(MT5)NULL, 0, 14, 0, 2
Indicator C ADX
Indicator C parameters
(MT4)NULL, 0, 14, 1, 0, 0
(MT5)NULL, 0, 14, 0, 0
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>B
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 C>=40
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 A<B
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 C<20
Indicator A ADX
Indicator A parameters
(MT4)NULL, 0, 14, 1, 0, 1
(MT5)NULL, 0, 14, 0, 1
Indicator B ADX
Indicator B parameters
(MT4)NULL, 0, 14, 1, 0, 2
(MT5)NULL, 0, 14, 0, 2
Indicator C ADX
Indicator C parameters
(MT4)NULL, 0, 14, 1, 0, 0
(MT5)NULL, 0, 14, 0, 0

Bollinger Bands

When specifying Bollinger Bands conditions, eight input items are required in both MT5 and MT4. Note that in MT4 and MT5, the order of the "Deviation" and "Display Shift" parameters is reversed.

Platform Inputs Example
MT5 8 NULL, 0, 20, 0, 2, 1, 0, 0
MT4 8 NULL, 0, 20, 2, 0, 1, 0, 0
Platform Inputs Example
MT5 8 NULL, 0, 20, 0, 2, 1, 0, 0
MT4 8 NULL, 0, 20, 2, 0, 1, 0, 0
img
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③Period

Enter the period for calculating the Bollinger Bands. The default is "20".

④Display Shift (Deviation in MT4)

Enter “0”. This parameter specifies how many periods to shift the display of Bollinger Bands to the right from the current candle on the chart, but since this feature is mainly used for chart analysis, it is not used in this EA.*2

⑤Deviation (Display Shift in MT4)

Specify the standard deviation of the Bollinger Bands. The default is “2”.*3

⑥Applied Price

Please specify which price to use for Bollinger Bands calculation from the following:

1: Close

2: Open

3: High

4: Low

5: (High+Low)÷2

6: (High+Low+Close)÷3

7: (High+Low+Close×2)÷4

⑦Mode

Specify which line’s value to use among the three lines of the bands.

・0: Middle band

・1: Upper band

・2: Lower band

⑧Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

*2For MT4, this is the “Deviation” parameter, so enter the standard deviation of the Bollinger Bands.

*3For MT4, this is the “Display Shift” parameter, so enter “0”.

Sample setting adding “Touch” to the judgment conditions

This is a sample setting that adds the condition of whether the current price has “touched” a technical indicator.

If you want to make a buy entry when the closing price exceeds the middle band of the Bollinger Bands, and exit when the current price touches the upper band at 2σ, configure the settings as follows:

  • Indicator A: Middle band of the Bollinger Bands
  • Indicator B: Upper band of the Bollinger Bands
img
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 Close>A
Sign type 2 Exit
AND/OR (2) AND
Conditional 2 Bid>=B
Indicator A Bollinger Bands
Indicator A parameters
(MT4)NULL, 0, 20, 2, 0, 1, 0, 0
(MT5)NULL, 0, 20, 0, 2, 1, 0, 0
Indicator B Bollinger Bands
Indicator B parameters
(MT4)NULL, 0, 20, 2, 0, 1, 1, 0
(MT5)NULL, 0, 20, 0, 2, 1, 1, 0
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 Close>A
Sign type 2 Exit
AND/OR (2) AND
Conditional 2 Bid>=B
Indicator A Bollinger Bands
Indicator A parameters
(MT4)NULL, 0, 20, 2, 0, 1, 0, 0
(MT5)NULL, 0, 20, 0, 2, 1, 0, 0
Indicator B Bollinger Bands
Indicator B parameters
(MT4)NULL, 0, 20, 2, 0, 1, 1, 0
(MT5)NULL, 0, 20, 0, 2, 1, 1, 0

Moving Average (MA)

When specifying MA conditions, eight input items are required in MT5 and seven in MT4.

Platform Inputs Example
MT5 8 NULL, 0, 14, 0, 0, 1, 0, 0
MT4 7 NULL, 0, 14, 0, 0, 1, 0
Platform Inputs Example
MT5 8 NULL, 0, 14, 0, 0, 1, 0, 0
MT4 7 NULL, 0, 14, 0, 0, 1, 0
sample
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③Period

Enter the period for calculating the MA. The default is “14”.

④Display Shift

Enter “0”. This parameter specifies how many periods to shift the display of MA to the right from the current candle on the chart, but since this feature is mainly used for chart analysis, it is not used in this EA.

⑤Type

Specify the type of MA.

0: Simple moving average

1: Exponential moving average

2: Smoothed moving average

3: Linear weighted moving average

⑥Applied Price

Please specify which price to use for MA calculation from the following:

1: Close

2: Open

3: High

4: Low

5: (High+Low)÷2

6: (High+Low+Close)÷3

7: (High+Low+Close×2)÷4

⑦Mode*2

The Mode parameter does not apply, as the MA consists of a single line. Enter "0" for convenience in MT5.

⑧Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

*2This item only needs to be entered in MT5.

Sample setting for judging based on technical indicator direction

This is a sample setting that adds the condition of whether a technical indicator is pointing upward or downward.

If you want to make a buy entry when the closing price exceeds the 240-period MA and the recent MA is pointing upward, and exit when the closing price falls below the 240-period MA and the recent MA is pointing downward, configure the settings as follows: To determine the direction of the recent MA, compare Shift 1 and Shift 5.

  • Indicator A: MA with Shift 0
  • Indicator B: MA with Shift 1
  • Indicator C: MA with Shift 5
sample
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 Close>A
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 B>C
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 A>=Close
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 B<C
Indicator A Moving Average
Indicator A parameters
(MT4)NULL, 0, 240, 0, 0, 1, 0
(MT5)NULL, 0, 240, 0, 0, 1, 0, 0
Indicator B Moving Average
Indicator B parameters
(MT4)NULL, 0, 240, 0, 0, 1, 1
(MT5)NULL, 0, 240, 0, 0, 1, 0, 1
Indicator C Moving Average
Indicator C parameters
(MT4)NULL, 0, 240, 0, 0, 1, 5
(MT5)NULL, 0, 240, 0, 0, 1, 0, 5
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 Close>A
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 B>C
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 A>=Close
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 B<C
Indicator A Moving Average
Indicator A parameters
(MT4)NULL, 0, 240, 0, 0, 1, 0
(MT5)NULL, 0, 240, 0, 0, 1, 0, 0
Indicator B Moving Average
Indicator B parameters
(MT4)NULL, 0, 240, 0, 0, 1, 1
(MT5)NULL, 0, 240, 0, 0, 1, 0, 1
Indicator C Moving Average
Indicator C parameters
(MT4)NULL, 0, 240, 0, 0, 1, 5
(MT5)NULL, 0, 240, 0, 0, 1, 0, 5

Parabolic SAR

When specifying parabolic SAR conditions, six input items are required in MT5 and five in MT4.

Platform Inputs Example
MT5 6 NULL, 0, 0.02, 0.2, 0, 0
MT4 5 NULL, 0, 0.02, 0.2, 0
Platform Inputs Example
MT5 6 NULL, 0, 0.02, 0.2, 0, 0
MT4 5 NULL, 0, 0.02, 0.2, 0
sample
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③Step

Enter the step value for the acceleration factor of the Parabolic SAR. The default is “0.02”.

④Maximum

Enter the max value for the acceleration factor of the Parabolic SAR. The default is “0.2”.

⑤Mode*2

The Mode parameter does not apply, as the Parabolic SAR consists of a single line. Enter "0" for convenience in MT5.

⑥Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

*2This item only needs to be entered in MT5.

Sample setting for comparing and judging technical indicator values

This is a sample setting that compares technical indicator values with each other and adds the result to the judgment conditions.

If you want to make a buy entry when the parabolic position reverses from above to below and the closing price exceeds the 240-period MA, and exit when the current rate touches the parabolic or the closing price falls below the 240-period MA, configure the settings as follows:

  • Indicator A: Parabolic SAR with Shift 0
  • Indicator B: Parabolic SAR with Shift 1
  • Indicator C: MA with Shift 0
sample
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 B>Close
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 A<Close
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 Close>C
Sign type 4 Exit
AND/OR (4) OR
Conditional 4 Close<A
Sign type 5 Exit
AND/OR (5) OR
Conditional 5 Close<C
Indicator A Parabolic SAR
Indicator A parameters
(MT4)NULL, 0, 0.02, 0.2, 0
(MT5)NULL, 0, 0.02, 0.2, 0, 0
Indicator B Parabolic SAR
Indicator B parameters
(MT4)NULL, 0, 0.02, 0.2, 1
(MT5)NULL, 0, 0.02, 0.2, 0, 1
Indicator C Moving Average
Indicator C parameters
(MT4)NULL, 0, 240, 0, 0, 1, 0
(MT5)NULL, 0, 240, 0, 0, 1, 0, 0
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 B>Close
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 A<Close
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 Close>C
Sign type 4 Exit
AND/OR (4) OR
Conditional 4 Close<A
Sign type 5 Exit
AND/OR (5) OR
Conditional 5 Close<C
Indicator A Parabolic SAR
Indicator A parameters
(MT4)NULL, 0, 0.02, 0.2, 0
(MT5)NULL, 0, 0.02, 0.2, 0, 0
Indicator B Parabolic SAR
Indicator B parameters
(MT4)NULL, 0, 0.02, 0.2, 1
(MT5)NULL, 0, 0.02, 0.2, 0, 1
Indicator C Moving Average
Indicator C parameters
(MT4)NULL, 0, 240, 0, 0, 1, 0
(MT5)NULL, 0, 240, 0, 0, 1, 0, 0

ATR

When specifying ATR conditions, five input items are required in MT5 and four in MT4.

Platform Inputs Example
MT5 5 NULL, 0, 14, 0, 0
MT4 4 NULL, 0, 14, 0
Platform Inputs Example
MT5 5 NULL, 0, 14, 0, 0
MT4 4 NULL, 0, 14, 0
sample
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③ATR Period

Enter the period for calculating the ATR. The default is “14”.

④Mode*2

The Mode parameter does not apply, as the ATR consists of a single line. Enter "0" for convenience in MT5.

⑤Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

*2This item only needs to be entered in MT5.

Sample settings to define the exit conditions

This is a sample setting to define both the entry and exit conditions.

If you want to trigger an entry or exit when the ATR exceeds a specified value, configure the settings as follows:

sample
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>=0.15
Sign type 2 Exit
AND/OR (2) OR
Conditional 2 A>=0.25
Indicator A ATR
Indicator A parameters
(MT4)NULL, 0, 14, 0
(MT5)NULL, 0, 14, 0, 0
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>=0.15
Sign type 2 Exit
AND/OR (2) OR
Conditional 2 A>=0.25
Indicator A ATR
Indicator A parameters
(MT4)NULL, 0, 14, 0
(MT5)NULL, 0, 14, 0, 0

CCI

When specifying CCI conditions, six input items are required in MT5 and five in MT4.

Platform Inputs Example
MT5 6 NULL, 0, 14, 6, 0, 0
MT4 5 NULL, 0, 14, 6, 0
Platform Inputs Example
MT5 6 NULL, 0, 14, 6, 0, 0
MT4 5 NULL, 0, 14, 6, 0
sample
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③CCI Period

Enter the period for calculating the CCI. The default is “14”.

④Applied Price

Please specify which price to use for CCI calculation from the following:

1: Close

2: Open

3: High

4: Low

5: (High+Low)÷2

6: (High+Low+Close)÷3

7: (High+Low+Close×2)÷4

⑤Mode*2

The Mode parameter does not apply, as the CCI consists of a single line. Enter "0" for convenience in MT5.

⑥Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

*2This item only needs to be entered in MT5.

Sample setting for comparing and judging technical indicator values against reference values

This is a sample setting that adds the condition of whether a technical indicator value exceeds or falls below a set reference value.

To make a buy entry when the CCI exceeds 100 and the CCI has been pointing upward in the recent candles (Shift 1 and Shift 2), and to exit when the CCI falls below 100 and the CCI has been pointing downward in the recent candles (Shift 1 and Shift 2), configure the settings as follows:

  • Indicator A: CCI with Shift 0
  • Indicator B: CCI with Shift 1
  • Indicator C: CCI with Shift 2
sample
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>100
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 B>C
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 A<100
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 B<C
Indicator A CCI
Indicator A parameters
(MT4)NULL, 0, 14, 1, 0
(MT5)NULL, 0, 14, 1, 0, 0
Indicator B CCI
Indicator B parameters
(MT4)NULL, 0, 14, 1, 1
(MT5)NULL, 0, 14, 1, 0, 1
Indicator C CCI
Indicator C parameters
(MT4)NULL, 0, 14, 1, 2
(MT5)NULL, 0, 14, 1, 0, 2
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>100
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 B>C
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 A<100
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 B<C
Indicator A CCI
Indicator A parameters
(MT4)NULL, 0, 14, 1, 0
(MT5)NULL, 0, 14, 1, 0, 0
Indicator B CCI
Indicator B parameters
(MT4)NULL, 0, 14, 1, 1
(MT5)NULL, 0, 14, 1, 0, 1
Indicator C CCI
Indicator C parameters
(MT4)NULL, 0, 14, 1, 2
(MT5)NULL, 0, 14, 1, 0, 2

MACD

When specifying CCI conditions, eight input items are required in both MT5 and MT4.

Platform Inputs Example
MT5 8 NULL, 0, 12, 26, 9, 1, 0, 0
MT4 8 NULL, 0, 12, 26, 9, 1, 0, 0
Platform Inputs Example
MT5 8 NULL, 0, 12, 26, 9, 1, 0, 0
MT4 8 NULL, 0, 12, 26, 9, 1, 0, 0
sample
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.

③Short-term MA Period

Enter the period for calculating the short-term MA. The default is “12”.

④Long-term MA Period

Enter the period for calculating the long-term MA. The default is “26”.

⑤Signal Period

Enter the period for calculating the signal. The default is “9”.

⑥Applied Price

Please specify which price to use for MACD calculation from the following:

1: Close

2: Open

3: High

4: Low

5: (High+Low)÷2

6: (High+Low+Close)÷3

7: (High+Low+Close×2)÷4

⑦Mode

Specify which line’s value to use among the two MACD lines. Enter 0 or 1.

・0: MACD (main line)

・1: Signal line

⑧Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

Sample setting using MACD’s two lines as conditions

This is a sample setting that uses the two lines of MACD as conditions. In the example introduced here, we use the MACD (main line) and the signal line of MACD.

If you want to enter when the MACD histogram is above 0 and the MACD histogram has been in an upward trend in the recent candles (Shift 2 and Shift 3), and exit when the MACD histogram is 0 or below and the MACD histogram has been in a downward trend in the recent candles (Shift 2 and Shift 3), configure the settings as follows:

sample
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>0
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 B>C
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 B<C
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 A<0
Indicator A MACD
Indicator A parameters NULL, 0, 12, 26, 9, 1, 0, 0
Indicator B MACD
Indicator B parameters NULL, 0, 12, 26, 9, 1, 0, 2
Indicator C MACD
Indicator C parameters NULL, 0, 12, 26, 9, 1, 0, 3
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>0
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 B>C
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 B<C
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 A<0
Indicator A MACD
Indicator A parameters NULL, 0, 12, 26, 9, 1, 0, 0
Indicator B MACD
Indicator B parameters NULL, 0, 12, 26, 9, 1, 0, 2
Indicator C MACD
Indicator C parameters NULL, 0, 12, 26, 9, 1, 0, 3

Momentum

When specifying momentum conditions, six input items are required in MT5 and five in MT4.

Platform Inputs Example
MT5 6 NULL, 0, 14, 1, 0, 0
MT4 5 NULL, 0, 14, 1, 0
Platform Inputs Example
MT5 6 NULL, 0, 14, 1, 0, 0
MT4 5 NULL, 0, 14, 1, 0
sample
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③Momentum Period

Enter the period for calculating the momentum. The default is “14”.

④Applied Price

Please specify which price to use for momentum calculation from the following:

1: Close

2: Open

3: High

4: Low

5: (High+Low)÷2

6: (High+Low+Close)÷3

7: (High+Low+Close×2)÷4

⑤Mode*2

The Mode parameter does not apply, as the momentum consists of a single line. Enter "0" for convenience in MT5.

⑥Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

*2This item only needs to be entered in MT5.

Sample setting combining different technical indicators

This is a sample setting that combines different technical indicators. In the example introduced here, we use Momentum and Moving Average.

To enter when the 40-period Momentum exceeds 100 and the current price exceeds the 240-period Simple Moving Average (SMA), and exit when the Momentum is in a downward trend in the recent candles (comparing Shift 1 and Shift 5) and the current price falls below the 240-period Simple Moving Average (SMA), configure the settings as follows:

  • Indicator A: Momentum with Shift 0
  • Indicator B: Momentum with Shift 1
  • Indicator C: Momentum with Shift 2
  • Indicator D: MA with Shift 0
sample
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>100
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 Close>D
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 B<C
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 Close<D
Indicator A Momentum
Indicator A parameters
(MT4)NULL, 0, 40, 1, 0
(MT5)NULL, 0, 40, 1, 0, 0
Indicator B Momentum
Indicator B parameters
(MT4)NULL, 0, 40, 1, 1
(MT5)NULL, 0, 40, 1, 0, 2
Indicator C Momentum
Indicator C parameters
(MT4)NULL, 0, 40, 1, 5
(MT5)NULL, 0, 40, 1, 0, 5
Indicator D Moving Average
Indicator D parameters
(MT4)NULL, 0, 240, 0, 0, 1, 0
(MT5)NULL, 0, 240, 0, 0, 1, 0, 0
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A>100
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 Close>D
Sign type 3 Exit
AND/OR (3) AND
Conditional 3 B<C
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 Close<D
Indicator A Momentum
Indicator A parameters
(MT4)NULL, 0, 40, 1, 0
(MT5)NULL, 0, 40, 1, 0, 0
Indicator B Momentum
Indicator B parameters
(MT4)NULL, 0, 40, 1, 1
(MT5)NULL, 0, 40, 1, 0, 2
Indicator C Momentum
Indicator C parameters
(MT4)NULL, 0, 40, 1, 5
(MT5)NULL, 0, 40, 1, 0, 5
Indicator D Moving Average
Indicator D parameters
(MT4)NULL, 0, 240, 0, 0, 1, 0
(MT5)NULL, 0, 240, 0, 0, 1, 0, 0

RSI

When specifying RSI conditions, six input items are required in MT5 and five in MT4.

Platform Inputs Example
MT5 6 NULL, 0, 14, 1, 0, 0
MT4 5 NULL, 0, 14, 1, 0
Platform Inputs Example
MT5 6 NULL, 0, 14, 1, 0, 0
MT4 5 NULL, 0, 14, 1, 0
sample
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③RSI Period

Enter the period for calculating the RSI. The default is “14”.

④Applied Price

Please specify which price to use for RSI calculation from the following:

1: Close

2: Open

3: High

4: Low

5: (High+Low)÷2

6: (High+Low+Close)÷3

7: (High+Low+Close×2)÷4

⑤Mode*2

The Mode parameter does not apply, as the RSI consists of a single line. Enter "0" for convenience in MT5.

⑥Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

*2This item only needs to be entered in MT5.

Sample setting adding whether a technical indicator value has crossed a reference value to the judgment

This is a sample setting that adds the condition of whether a technical indicator value has crossed from below to above a specified value.

To make a buy entry when the RSI value, which was below 30 in the candle just before the current candle (Shift 1), becomes 30 or above in the current candle, and the closing price exceeds the 240-period Simple Moving Average (SMA), and to exit when the RSI value is 50 or above, or the closing price falls below the 240-period Moving Average (SMA), configure the settings as follows:

  • Indicator A: RSI with Shift 0
  • Indicator B: RSI with Shift 1
  • Indicator C: MA with Shift 0
sample
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 B<30
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 A>=30
Sign type 3 Entry
AND/OR (3) AND
Conditional 3 Close>C
Sign type 4 Exit
AND/OR (4) OR
Conditional 4 50<=A
Sign type 5 Exit
AND/OR (5) OR
Conditional 5 Close<C
Indicator A RSI
Indicator A parameters
(MT4)NULL, 0, 14, 1, 0
(MT5)NULL, 0, 14, 1, 0, 0
Indicator B RSI
Indicator B parameters
(MT4)NULL, 0, 14, 1, 1
(MT5)NULL, 0, 14, 1, 0, 1
Indicator C Moving Average
Indicator C parameters
(MT4)NULL, 0, 240, 0, 0, 1, 0
(MT5)NULL, 0, 240, 0, 0, 1, 0, 0
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 B<30
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 A>=30
Sign type 3 Entry
AND/OR (3) AND
Conditional 3 Close>C
Sign type 4 Exit
AND/OR (4) OR
Conditional 4 50<=A
Sign type 5 Exit
AND/OR (5) OR
Conditional 5 Close<C
Indicator A RSI
Indicator A parameters
(MT4)NULL, 0, 14, 1, 0
(MT5)NULL, 0, 14, 1, 0, 0
Indicator B RSI
Indicator B parameters
(MT4)NULL, 0, 14, 1, 1
(MT5)NULL, 0, 14, 1, 0, 1
Indicator C Moving Average
Indicator C parameters
(MT4)NULL, 0, 240, 0, 0, 1, 0
(MT5)NULL, 0, 240, 0, 0, 1, 0, 0

Stochastics

When specifying Stochastic conditions, nine input items are required in both MT5 and MT4.

Platform Inputs Example
MT5 9 NULL, 0, 5, 3, 3, 0, 0, 0, 0
MT4 9 NULL, 0, 5, 3, 3, 0, 0, 0, 0
Platform Inputs Example
MT5 9 NULL, 0, 5, 3, 3, 0, 0, 0, 0
MT4 9 NULL, 0, 5, 3, 3, 0, 0, 0, 0
sample
①Symbol Name

Enter “NULL”. This refers to the symbol of the chart to which the indicator is applied in the programming language.

②Timeframe

If you enter “0”, the technical indicator values of the timeframe of the chart to which the indicator is applied will be used to determine the signal conditions.*1

③%K Period

Enter the period for calculating the %K. The default is “5”.

④%D Period

Enter the period for calculating the %D. The default is “3”.

⑤Slowing

Enter the period for smoothing. The default is “3”.

⑥MA Type

Specify the smoothing type to calculate Stochastics from the following:

0: Simple moving average

1: Exponential moving average

2: Smoothed moving average

3: Linear weighted moving average

⑦Applied Price

Please specify which price to use for Stochastic calculation from the following:

0: Low/High

⑧Mode

⑧Mode

Specify which line’s value to use among the two lines of the Stochastics. Enter a value 0 or 1.

・0: %K (main line)

・1: %D (signal line)

⑨Shift

Enter how many candles back from the current candle to use as the value. Enter “0” for the current candle, “1” for one candle before the current candle, “2” for two candles before the current candle. It is also possible to specify values further back.

*1Instead of “0”, it is also possible to enter “PERIOD_○○ (input H1, etc.)” or the corresponding numerical value. If you enter a timeframe symbol such as M1, H1, D1 in the “○○” part, the technical indicator value of the specified timeframe will be used to determine the signal conditions.

Sample setting using the two lines of Stochastic as conditions

This is a sample setting that uses the two lines of Stochastic as conditions.

If you want to make a buy entry when three conditions are met: the Stochastic main line in the current candle is below 20, the signal line is below 20, and in the candle just before the current candle (Shift 1) the main line is above the signal line; and exit when the main line is below the signal line in Shift 1, configure the settings as follows:

  • Indicator A: Stochastic with Mode 0 and Shift 0
  • Indicator B: Stochastic with Mode 1 and Shift 0
  • Indicator C: Stochastic with Mode 0 and Shift 1
  • Indicator D: Stochastic with Mode 1 and Shift 1
sample
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A<20
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 B<20
Sign type 3 Entry
AND/OR (3) AND
Conditional 3 C>D
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 C<D
Indicator A Stochastics
Indicator A parameters NULL, 0, 5, 3, 3, 0, 0, 0, 0
Indicator B Stochastics
Indicator B parameters NULL, 0, 5, 3, 3, 0, 0, 1, 0
Indicator C Stochastics
Indicator C parameters NULL, 0, 5, 3, 3, 0, 0, 0, 1
Indicator D Stochastics
Indicator D parameters NULL, 0, 5, 3, 3, 0, 0, 1, 1
Entry type Buy
Sign type 1 Entry
AND/OR (1) AND
Conditional 1 A<20
Sign type 2 Entry
AND/OR (2) AND
Conditional 2 B<20
Sign type 3 Entry
AND/OR (3) AND
Conditional 3 C>D
Sign type 4 Exit
AND/OR (4) AND
Conditional 4 C<D
Indicator A Stochastics
Indicator A parameters NULL, 0, 5, 3, 3, 0, 0, 0, 0
Indicator B Stochastics
Indicator B parameters NULL, 0, 5, 3, 3, 0, 0, 1, 0
Indicator C Stochastics
Indicator C parameters NULL, 0, 5, 3, 3, 0, 0, 0, 1
Indicator D Stochastics
Indicator D parameters NULL, 0, 5, 3, 3, 0, 0, 1, 1