Mini-review – We asked ChatGPT!                                                                                                                                                                                                                                           

This time, I asked about pair trading, which is one of my favorite trading methods.

Q: Please tell me the specific method of pair trading method in Forex.

A: ChatGPT response: https://chat.openai.com/auth/login

Pair trading is the strategy of trading two highly correlated currency pairs simultaneously, taking advantage of the difference when one currency pair is overvalued or undervalued relative to the other.

Below are the basic steps of pair trading:

  1. Pair Selection: First, choose two currency pairs to use for pair trading. These currency pairs are usually chosen for their highly correlated price movements. Correlation is calculated using historical price data and expressed as a correlation coefficient. Correlation coefficients range from -1 (completely anti-correlated) to +1 (completely correlated), and currency pairs with correlation coefficients above +0.7 or below -0.7 are considered to be strongly correlated. increase.
  2. Calculate Spread: Calculates the price difference (spread) between two selected currency pairs. Spreads are usually calculated by dividing the price of one currency pair by the price of the other currency pair.
  3. Spread Analysis: Calculate the historical mean and standard deviation of spreads and determine how much the spread deviates from these values. Spreads are generally considered overstated or understated when they deviate from the mean by more than two standard deviations.
  4. Entry and Exit: If the spread is overvalued (i.e. one currency pair is overvalued relative to the other), sell (short) the overvalued currency pair and undervalue the currency pair. Buy (go long) the currency pair. Conversely, if the spread is undervalued (i.e. one currency pair is undervalued relative to the other), sell (short) the undervalued currency pair and Buy (long) a pair. Then close the position (exit) when the spread returns to the average again (i.e. when the two currency pairs are fairly valued again).
  5. Risk Management: Pair trading is considered relatively low risk as it makes use of relative price differences. However, unexpected risks may arise, such as if market conditions change or if the price of one currency pair fluctuates significantly. Therefore, proper risk management is important. For example, you can set a stop-loss order to prevent your loss from exceeding a certain range.
  6. Repetition: Since pairs trading is a short-term, small-profit strategy, repetition of these steps yields results.

Note that pair trading may not be effective depending on market conditions. For example, if the price of one currency pair is moving rapidly relative to the price of the other currency pair (i.e. the correlation is broken), the effectiveness of pair trading may be diminished. Also, pair trading assumes that the market is efficient, but when the market becomes less efficient, the effectiveness of pair trading also decreases.

A textbook explanation would be something like this. However, in reality, the strength of the currency itself has a greater impact than the spread, and it is difficult to grasp the opening and closing of the spread in discretionary trading.

MQL5 Free EA – NOZAX Portfolio No.2

NOZAX Portfolio NO.2
  • Account: NZX Zero (ECN) (NOZAX)
  • Initial balance: 100,000 yen
  • Working EA:
  • TraderMind EA MT5: Currency Pair: USDCAD#, Timeframe: 1 Hour, Lot quantity: 0.04 Lot
  • White Bear DT for NOZAX v1.13: Currency pair: USDJPY#, Timeframe: 5-minute, Lot quantity: 0.02 lot
  • Catastrofix EA MT5: Currency Pair: EURGBP#, EURAUD#, EURNZD#, EURUSD#, GBPCAD#, AUDJPY#, Timeframe: 1 Hour, Lot quantity: 0.01 lot

Results from 29 May to 2 June (NOZAX Portfolio No.2)

  • TraderMind EA MT5: 1 win and 3 losses, total profit and loss was -3,719 yen (-87.9 pips).
  • White Bear DT USDJPY: 0 wins and 0 losses, total profit and loss was 0 yen (0 pips).
  • Catastrofix EA MT5: 1 win and 9 losses, total profit and loss was -2,986 yen (-306.5 pips).

Past Results (NOZAX Portfolio No.2)

The individual results of each EA in the portfolio No. 2 are as follows.

  • 10 April-2 June 2023
    (Trades with a profit of even 1 yen are counted as “winning", while the reverse is counted as “negative")
  • Balance: 100,000 yen → 94,020 yen

Current status and schedule of the portfolio

EA didn’t do well this week. TraderMind EA MT5, which has been doing well for a long time, is also not doing well. Regarding this EA, it seems necessary to consider whether it has become obsolete or whether it happened to not match the market. I would like to see the situation by dropping the lot number from next week.

Mini-review – We asked ChatGPT!                                                                                                                                                                                                                                           

In the previous article, I think you can see that if you can guide ChatGPT well, you can write MQL5 programs. This time, on the contrary, I would like to see “the response when the code without the problem is presented".

What I presented was a self-made MQL4 tool, similar to the “one-click trade" that comes with MetaTrader, where orders are placed when you click a button. However, when I clicked on it, it sometimes didn’t place an order, and there was a phenomenon that I couldn’t order continuously.

Therefore, I asked the following questions.

Q: In the program below, the button is clicked, but the order is not placed. There are no errors in your comment.
(Hereafter, all source code is described)

A: Response by ChatGPT: https://chat.openai.com/auth/login

It took me a long time to react, as I was quite lost in thought.

After reviewing your code, I didn’t find any obvious problems that would prevent you from placing orders.

However, the following issues are possible:

  1. Broker Restrictions: Your broker may not allow certain trades. For example, some brokers may limit trading during certain hours (usually when the market is closed). This depends on the time of day you are trying to trade.
  2. Market Liquidity: If the liquidity of a particular currency pair is low, orders may take longer to be executed. If you are trading currency pairs with low liquidity, you may encounter this problem.
  3. Trading allowed: IsTradeAllowed() function may return false. This indicates that MT4 is unable to accept new orders. This problem can occur during times when trading is not allowed.
  4. Slips: Slips (inability to trade at the best price) can prevent order execution. Especially if the market is highly volatile, this problem is likely to occur.

To address these factors, you can try the following:

  • Please check with your broker. They should be able to provide details about trading hours and allowed trading.
  • Please pay attention to the market hours. In particular, avoid submitting orders when the market is closed.
  • Take slip into account. You may want to try increasing the slip value passed to the OrderSend function.

Alternatively, if the OrderSend function fails, you can identify the specific problem by using the GetLastError function to get the error code. Examining this error code can help identify the cause of the problem.

That’s an accurate answer. I haven’t confirmed it, but I’m guessing that the broker I tested is restricting continuous orders using EA.

In addition, the above is a test result of a self-made tool (EA) of MT4 and a demo account of a certain broker. It is not the result at NOZAX, an MT5 broker.

MQL5 Free EA – NOZAX Portfolio No.2

NOZAX Portfolio NO.2
  • Account: NZX Zero (ECN) (NOZAX)
  • Initial balance: 100,000 yen
  • Working EA:
  • TraderMind EA MT5: Currency Pair: USDCAD#, Timeframe: 1 Hour, Lot quantity: 0.04 Lot
  • White Bear DT for NOZAX v1.13: Currency pair: USDJPY#, Timeframe: 5-minute, Lot quantity: 0.02 lot
  • Catastrofix EA MT5: Currency Pair: EURGBP#, EURAUD#, EURNZD#, EURUSD#, GBPCAD#, AUDJPY#, Timeframe: 1 Hour, Lot quantity: 0.01 lot

Results from 22 to 26 May (NOZAX Portfolio No.2)

  • TraderMind EA MT5: 0 win and 1 loss, total profit and loss was -2,179 yen (-52.7pips).
  • White Bear DT USDJPY: 5 wins and 1 losse, total profit and loss was 1,192 yen (63.2 pips).
  • Catastrofix EA MT5: 2 wins and 4 losses, total profit and loss was 1,221 yen (38.2 pips).

Past Results (NOZAX Portfolio No.2)

The individual results of each EA in the portfolio No. 2 are as follows.

  • 10 April-26 May 2023
    (Trades with a profit of even 1 yen are counted as “winning", while the reverse is counted as “negative")
  • Balance: 100,000 yen → 100,721 yen

Portfolio status and plans

This week, TraderMind EA MT5’s 1 loss impacted, resulting in a slight decrease in balance. Next week, I would like to expect that all EAs will step together and increase the balance.

Mini-review – We asked ChatGPT!                                                                                                                                                                                                                                          

This time, I would like to introduce the MT5 program written by ChatGPT. If it is a simple program, it seems that MT5 can be used.

Q: With MT5EA, please write a program that “closes all positions when the total profit reaches a certain level". In addition, all currency pairs are used for settlement.

Add instructions
· Please make it possible to specify “when the total profit reaches 1000 units or more" with an external variable.
・ Set the EA name to “ProfitClose".

Failed to compile with some errors. ⇔ In each case, convey the content of the error as it is.

Normally, I would give up because of an error, but this time it went well!

A: ChatGPT response: https://chat.openai.com/auth/login

MT5 (MetaTrader 5) allows creating Expert Advisors (EAs) using the MQL5 language. EA is a program for automating trading.

An EA that meets your requirements would look like this: However, this code will be used to close all positions. It works only when the profit reaches a certain value or more.

In the example below, we will close all positions when the total profit of all positions is 1000 units or more. This unit depends on the currency you are using MT5 for.

//+------------------------------------------------------------------+
//|                                                  ProfitClose.mq5 |
//|                        Copyright 2023, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "2023, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"

// Set default profit threshold to 1000
input double ProfitThreshold = 1000; 

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---
   
//---
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---

  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   double total_profit = 0;
   for(int i=PositionsTotal()-1; i>=0; i--)
     {
      ulong ticket = PositionGetTicket(i);
      if(ticket > 0)
        {
         total_profit += PositionGetDouble(POSITION_PROFIT);
        }
     }
   
   if(total_profit >= ProfitThreshold) // Use the external variable here
     {
      for(int i=PositionsTotal()-1; i>=0; i--)
        {
         ulong ticket = PositionGetTicket(i);
         if(ticket > 0)
           {
            MqlTradeRequest request;
            MqlTradeResult result;
            
            ZeroMemory(request);

            request.action = TRADE_ACTION_DEAL; 
            request.symbol = PositionGetString(POSITION_SYMBOL); 
            request.volume = PositionGetDouble(POSITION_VOLUME); 
            request.type = PositionGetInteger(POSITION_TYPE) == POSITION_TYPE_BUY ? ORDER_TYPE_SELL : ORDER_TYPE_BUY;
            request.price = request.type == ORDER_TYPE_BUY ? SymbolInfoDouble(request.symbol, SYMBOL_ASK) : SymbolInfoDouble(request.symbol, SYMBOL_BID);
            request.deviation = 20; 
            request.magic = 123456; 
            request.comment = "Close position"; 
            request.position = PositionGetInteger(POSITION_TICKET); 

            if(!OrderSend(request, result))
            {
              Print("OrderSend failed with error ",GetLastError());
            }
            else
            {
              Print("OrderSend succeeded, deal performed with ticket #", result.deal);
            }
           }
        }
     }
  }
//+------------------------------------------------------------------+

You can change the profit threshold by adjusting the ProfitThreshold variable when launching the EA or changing the EA settings. The default value is set to 1000, but you can change it to any value.

Always test this code in a demo environment before using it.

It’s convenient, but if you rely on it, you won’t be able to train your programming skills.

MQL5 Free EA – NOZAX Portfolio No.2

NOZAX Portfolio NO.2
  • Account: NZX Zero (ECN) (NOZAX)
  • Initial balance: 100,000 yen
  • Working EA:
  • TraderMind EA MT5: Currency Pair: USDCAD#, Timeframe: 1 Hour, Lot quantity: 0.04 Lot
  • White Bear DT for NOZAX v1.13: Currency pair: USDJPY#, Timeframe: 5-minute, Lot quantity: 0.02 lot
  • Gold Multiply Funds EA: Currency Pair: XAUUSD#, Timeframe: 30-minute, Lot quantity: 0.01 lot
  • Catastrofix EA MT5: Currency Pair: EURGBP#, EURAUD#, EURNZD#, EURUSD#, GBPCAD#, AUDJPY#, Timeframe: 1 Hour, Lot quantity: 0.01 lot

Results from 15 to 19 May (NOZAX Portfolio No.2)

  • TraderMind EA MT5: 1 win and 1 loss, total profit and loss was -1737 yen (-41.0pips).
  • White Bear DT USDJPY: 8 wins and 2 losse, total profit and loss was -575 yen (-22.7 pips).
  • Gold Multiply Funds EA: 1 win and 4 losses, total profit and loss was -3064 yen (-2194pips).
  • Catastrofix EA MT5: 7 wins and 6 losses, total profit and loss was 3861 yen (401.7pips).

Past Results (NOZAX Portfolio No.2)

The individual results of each EA in the portfolio No. 2 are as follows.

  • 10 April-19 May 2023
    (Trades with a profit of even 1 yen are counted as “winning", while the reverse is counted as “negative")
  • Balance: 100,000 yen → 100,487 yen

Current status and schedule of the portfolio

The Gold Multiply Funds EA is an EA that trades XAUUSD, and I had high hopes for it, but the results haven’t been good since the test started. This EA also seems to use AI to find the entry point, but I feel that the accuracy of AI predictions is declining.

It’s just that it didn’t match the market, and there’s no possibility that it will improve in the future, so I’m going to remove it from this portfolio for the time being and see how it goes with a demo account.

Neither TraderMind EA MT5 nor White Bear DT is in good condition, so it’s a bit annoying, but next week I’ll try to turn my portfolio with these two and Catastrofix EA.

Mini-review – We asked ChatGPT!                                                                                                                                                                                                                                          

ChatGPT is good at writing programs, so I am writing ChatGPT to present a simple MT5 tool to everyone, but a working program has not been completed yet. When an error is pointed out, it will be corrected immediately, but no matter how many times you try, the error will not go away, and even if the error is corrected, it will not work, and the fundamental solution has not been reached.

If it’s a simple program, it would be quicker for me to make it myself.

Well, for me, the way I use ChatGPT now is to get an easy-to-understand summary of trading methods and technical tools. Let’s take a look at the basic indicators again.

Q: Please tell me how to read the Ichimoku Kinko Hyo in Forex.

A: Response by ChatGPT: https://chat.openai.com/auth/login

Ichimoku Kinko Hyo is a versatile technical indicator developed by Goichi Hosoda in the 1960s. It is primarily used to identify trends, support and resistance levels, and potential entry and exit points for trades. Here’s a step-by-step guide on how to read the Ichimoku Kinko Hyo in Forex trading:

  1. Understand the components: The Ichimoku Kinko Hyo consists of five lines:a) Tenkan-sen (Conversion Line): The average of the highest high and the lowest low over the last 9 periods. b) Kijun-sen (Base Line): The average of the highest high and the lowest low over the last 26 periods. c) Senkou Span A (Leading Span A): The average of the Tenkan-sen and Kijun-sen, projected 26 periods into the future. d) Senkou Span B (Leading Span B): The average of the highest high and the lowest low over the last 52 periods, projected 26 periods into the future. e) Chikou Span (Lagging Span): The current closing price, plotted 26 periods into the past.
  2. Identify the trend: The area between Senkou Span A and Senkou Span B is called the “Kumo" or cloud. The cloud changes color based on the position of Senkou Span A and B. If Senkou Span A is above Senkou Span B, the cloud is green (bullish). If Senkou Span B is above Senkou Span A, the cloud is red (bearish).a) Bullish trend: Price is above the cloud, and the cloud is green. b) Bearish trend: Price is below the cloud, and the cloud is red. c) Range-bound or consolidation: Price is within the cloud.
  3. Support and resistance levels: The Kumo (cloud) acts as support and resistance levels. In an uptrend, the cloud acts as support, while in a downtrend, it acts as resistance. The thickness of the cloud also plays a role; the thicker the cloud, the stronger the support or resistance.
  4. Trade signals:a) Buy signal: When the price moves above the cloud and Tenkan-sen crosses above Kijun-sen, it’s a bullish signal. For a stronger confirmation, the Chikou Span should also be above the cloud. b) Sell signal: When the price moves below the cloud and Tenkan-sen crosses below Kijun-sen, it’s a bearish signal. For a stronger confirmation, the Chikou Span should also be below the cloud.
  5. Stop-loss and take-profit levels: You can set stop-loss orders below the Kumo in a long position or above the Kumo in a short position. The Kijun-sen can also serve as a trailing stop-loss. For take-profit levels, you can use traditional methods such as Fibonacci retracements or pivot points.

Keep in mind that, like any other technical indicator, Ichimoku Kinko Hyo should be used in conjunction with other tools and analysis methods to increase its effectiveness. Additionally, practicing on a demo account is always helpful before using it with real money.

When I do discretionary trading, I often use the Ichimoku Kinko Hyo clouds and moving averages to determine the trend, but I would appreciate it if you could summarize it as a sentence again.

MQL5 Free EA – NOZAX Portfolio No.2

NOZAX Portfolio NO.2
  • Account: NZX Zero (ECN) (NOZAX)
  • Initial balance: 100,000 yen
  • Working EA:
  • TraderMind EA MT5: Currency Pair: USDCAD#, Timeframe: 1 Hour, Lot quantity: 0.04 Lot
  • White Bear DT for NOZAX v1.13: Currency pair: USDJPY#, Timeframe: 5-minute, Lot quantity: 0.02 lot
  • Gold Multiply Funds EA: Currency Pair: XAUUSD#, Timeframe: 30-minute, Lot quantity: 0.01 lot
  • Catastrofix EA MT5: Currency Pair: EURGBP#, EURAUD#, EURNZD#, EURUSD#, GBPCAD#, AUDJPY#, Timeframe: 1 Hour, Lot quantity: 0.01 lot

Results from 8 to 12 May (NOZAX Portfolio No.2)

  • TraderMind EA MT5: 3 win and 1 loss, total profit and loss was 132 yen (6.3 pips).
  • White Bear DT USDJPY: 0 wins and 1 losse, total profit and loss was -750 yen (-37.0 pips).
  • Gold Multiply Funds EA: 3 win and 3 losses, total profit and loss was 1198 yen (940 pips).
  • Catastrofix EA MT5: 1 wins and 6 losses, total profit and loss was -2455 yen (-260.8 pips).
  • Gold Multiply Funds EA was the best performer this week.

Past Results(NOZAX Portfolio No.2)

The individual results of each EA in the portfolio No. 2 are as follows.

  • 10 April-12 May 2023
    (Trades with a profit of even 1 yen are counted as “winning", while the reverse is counted as “negative")
  • Balance: 100,000 yen → 102,002 yen

Current status and schedule of the portfolio

The Gold Multiply Funds are still in negative territory, but managed to end the week in positive territory. I would like to take a closer look. It’s on thin ice.

Let’s hope the overall portfolio picks up from next week onwards.

Mini-review – We asked ChatGPT!                                                                                                                                                                                                                                           

In portfolio management, Gold’s EA is currently struggling, so I started looking for the next candidate. So, how does ChatGPT decide? After understanding that ChatGPT’s learning data is up to September 2021, I asked them to list representative Gold EAs (free EAs).

Q: Please tell me a representative free EA for MT5 that targets Gold (XAUUSD) registered in the MQL5 community.

A: ChatGPT: https://chat.openai.com/auth/login response

My knowledge is up to September 2021, and I am not aware of the current EA (Expert Advisor) information registered in the MQL5 community. However, there is generally a free EA for MT5 that targets Gold (XAUUSD), and the following is an example showing the characteristics of such an EA.

  1. Gold Scalper MT5: This EA utilizes a scalping strategy targeting Gold (XAUUSD) for short-term trading. Utilize technical indicators and chart patterns, trade during times of high liquidity, and aim for small profits.
  2. Gold Trend Follower MT5: This EA utilizes the trend following strategy for Gold (XAUUSD), analyzes the medium to long term trend and takes positions along that direction. Use technical indicators such as moving averages and MACD to determine trend direction.
  3. Gold Breakout EA MT5: This EA uses the breakout strategy of Gold (XAUUSD) and aims at the timing when the price escapes from a certain range. Use indicators such as support and resistance lines and Bollinger Bands to determine when breakouts are likely.

These EAs are general examples and we need to check if they are available in the current MQL5 community and how their evaluation and performance have changed. When choosing an EA, it is desirable to choose one that suits your trading style, test it on a demo account, and then use it for actual trading.

The above 1, 2, and 3 EAs have not been registered on the MQL5 Market, probably because they have been released. It’s not even in the codebase. So, in order to confirm the authenticity of ChtGPT, I asked about the source of the information.

Q: Please tell me the URL where each EA is published.

A: ChatGPT: response

You can search for free Gold (XAUUSD) trading EA using Market and CodeBase.

Below are links to some resources of the MQL5 community.

  1. MQL5 Market: https://www.mql5.com/en/market Here you can buy or download various trading EAs and indicators for free. You can use the search function to find EAs targeting Gold (XAUUSD).
  2. MQL5 CodeBase: https://www.mql5.com/en/code CodeBase is a repository of EAs, indicators and scripts shared for free by members of the MQL5 community. You can use the search function to find a specific trading strategy or EA for gold (XAUUSD) trading.

You can use these resources to find an EA that suits your trading style. Also, it is desirable to check user reviews and ratings, and test on a demo account before using it for actual trading.

It seems that ChatGPT has successfully dodged it.

MQL5 Free EA – NOZAX Portfolio No.2

NOZAX Portfolio NO.2
  • Account: NZX Zero (ECN) (NOZAX)
  • Initial balance: 100,000 yen
  • Working EA:
  • TraderMind EA MT5: Currency Pair: USDCAD#, Timeframe: 1 Hour, Lot quantity: 0.04 Lot
  • White Bear DT for NOZAX v1.13: Currency pair: USDJPY#, Timeframe: 5-minute, Lot quantity: 0.02 lot
  • Gold Multiply Funds EA: Currency Pair: XAUUSD#, Timeframe: 30-minute, Lot quantity: 0.01 lot
  • Catastrofix EA MT5: Currency Pair: EURGBP#, EURAUD#, EURNZD#, EURUSD#, GBPCAD#, AUDJPY#, Timeframe: 1 Hour, Lot quantity: 0.01 lot

Results from 1 to 5 May (NOZAX Portfolio No.2)

  • TraderMind EA MT5: 4 win and 0 loss, total profit and loss was 1757 yen (46.5 pips).
  • White Bear DT USDJPY: 2 wins and 3 losse, total profit and loss was 44 yen (4.7 pips).
  • Gold Multiply Funds EA: 2 win and 3 losses, total profit and loss was 373 yen (277pips).
  • Catastrofix EA MT5: 4 wins and 6 losses, total profit and loss was 406 yen (32.1pips).

Past Results(NOZAX Portfolio No.2)

The individual results of each EA in the portfolio No. 2 are as follows.

  • 10 April-5 May 2023
    (Trades with a profit of even 1 yen are counted as “winning", while the reverse is counted as “negative")
  • Expected lottery, Gold EA is out of order. Other EAs are almost as expected.
  • Balance: 100,000 yen → 103,877 yen

Current status and schedule of the portfolio

Portfolio 2 is also a little short of the 1st month anniversary, but it seems to be a little short of the target monthly interest rate of 5%. Add another EA or replace the Gold EA. It’s time to think.

Mini-review – We asked ChatGPT!                                                                                                                                                                                                                                           

I’m planning to take up an EA called “Dark Mimas MT5" in next Monday’s article, but please prepare a little!

Dark Mimas trades using the indicator “Dark Oscillator". It seems that this indicator was released and sold in MQL5 in January 2021, so I asked with half-doubt that maybe ChatGPT was learning.

Q: Please tell me about the indicator registered in the MQL5 community – “Dark Oscillator MT5 indicator".

A:ChatGPT: https://chat.openai.com/auth/login response

“Dark Oscillator MT5 Indicator" is one of the technical indicators (indicators) registered in the MQL5 community. This indicator is used to detect price trend reversals.

The Dark Oscillator indicator displays a histogram of price convergence and divergence. This histogram shows negative and positive price changes, forming peaks when the trend is likely to reverse. The Dark Oscillator indicator also has two moving average lines that can also be used to check the trend direction.

The Dark Oscillator indicator is available for the MT5 platform and can be downloaded for free. However, it is important to have a basic knowledge of market trends and price changes before using this indicator. Also, when it comes to trend reversals, I do not recommend trading only using this indicator. It is important to consider multiple factors such as other technical indicators and fundamental analysis before trading.

ChatGPT sometimes writes like that, so the truth may be unclear. Therefore, I additionally asked about the “source" of the above content.

Below is the reply.

“The Dark Oscillator indicator displays price convergence and divergence histograms and can detect trend reversals," the information is available on the website of MetaQuotes Software Corp., the official site of the MetaTrader 5 (MT5) platform. I quoted from the description of the “DarkOscillator.mq5" file posted in

Also, the information “The Dark Oscillator indicator has two moving average lines that can also be used to check the direction of the trend" is displayed when the indicator is added to the charts of the MT5 platform. Quoted from the parameter window description.

Don’t be fooled by ChatGPT’s composition, get as much primary information as possible!

Liar discovery! The Dark Oscillator indicator is “paid"!

MQL5 Free EA – NOZAX Portfolio No.2

NOZAX Portfolio NO.2
  • Account: NZX Zero (ECN) (NOZAX)
  • Initial balance: 100,000 yen
  • Working EA:
  • TraderMind EA MT5: Currency Pair: USDCAD#, Timeframe: 1 Hour, Lot quantity: 0.04 Lot
  • White Bear DT for NOZAX v1.13: Currency pair: USDJPY#, Timeframe: 5-minute, Lot quantity: 0.02 lot
  • Gold Multiply Funds EA: Currency Pair: XAUUSD#, Timeframe: 30-minute, Lot quantity: 0.01 lot
  • Catastrofix EA MT5: Currency Pair: EURGBP#, EURAUD#, EURNZD#, EURUSD#, GBPCAD#, AUDJPY#, Timeframe: 1 Hour, Lot quantity: 0.01 lot

Results from April 24 to April 28 (NOZAX Portfolio No.2)

  • TraderMind EA MT5: 1 win and 1 losses, total profit and loss was -2,286 yen (-55.9 pips).
  • White Bear DT USDJPY: 0 wins and 0 loss, total profit and loss was 0 yen (0 pips).
  • Gold Multiply Funds EA: 0 win and 3 losses, total profit and loss was -4,904 yen (-3628 pips).
  • Catastrofix EA MT5: 5 wins and 3 loss, total profit and loss was 5,991 yen (675.6 pips).

Past Results (NOZAX Portfolio No.2)

The individual results of each EA in the portfolio No. 2 are as follows.

  • 10-28 April 2023
    (Trades with a profit of even 1 yen are counted as “winning", while the reverse is counted as “negative")
  • Balance: 100,000 yen → 101,097 yen

Current status and schedule of the portfolio

This week has been an unstable week with significant fluctuations in balances. TradersMind EA and Gold Multiply Funds EA were painful to lose, but Catastorofix made up for a large part of it. Catastrofix’s win rate is now 30%, which is close to the backtest result (36.68%).

On April 26th, the highest profit after the start of the test was 105,665 yen, and it showed a result that we can expect in the future.

Look forward to next week.

Mini-review – We asked ChatGPT!                                                                                                                                                                                                                                           

In this issue, we would like to find out how much ChatGPT has learnt about one of the most popular trading techniques, the moving average cross. In particular, we asked about the problem of false signals with this trading method, and what workarounds are generally taken to avoid them.

Q: What are some strategies for avoiding damashi when trading with moving average crossings in forex?

A: ChatGPT: https://chat.openai.com/auth/login response

When trading with moving average crosses in forex (foreign exchange trading), several measures can be taken to avoid damashi (false signals).

  1. Use longer-term moving averages: longer-term moving averages move more slowly than shorter-term ones, reducing false signals caused by temporary price fluctuations.
  2. Use multiple moving averages: a combination of short, medium and long moving averages can help to find more reliable trends. If several moving averages from different time periods cross at the same time, this may indicate that a stronger signal is occurring.
  3. Combined with support and resistance lines: using support and resistance lines in conjunction with moving average crosses can help predict how far prices will move and help avoid false signals.
  4. Use Bollinger Bands: Bollinger Bands show the range of price fluctuations, making it easier to identify false signals based on past price movements.
  5. Combine with other technical indicators: using other technical indicators such as RSI (Relative Strength Index), MACD (Moving Average Convergence Diffusion) and Stochastics can give you more reliable trade signals and help you avoid false signals.
  6. Change timeframes: you can reduce the risk of false signals by checking the moving average crosses on different timeframe charts and only considering a trade if the same signal is present on more than one timeframe.
  7. Consider market conditions: fundamentals such as news and economic indicators can be considered and combined with technical analysis to identify more appropriate trade signals. If the market is volatile or there are important economic indicators to be released, it is important to deal with moving average cross signals carefully.
  8. Set stop-loss and take-profit rules: always ensure good risk management and set stop-loss and take-profit rules to minimise losses due to false signals.
  9. Conduct back-testing: conduct back-testing using historical data to see how reliable moving average crosses are. This will help you identify situations where false signals are likely to occur in the currency pair or time frame you are trying to trade.
  10. Practise with a demo account: before investing real money, practise trading with moving average crosses in a demo account to learn how to detect and avoid false signals.

In combination, these measures can make trading with moving average crosses safer and more effective by avoiding false signals. However, it is difficult to completely eliminate false signals and risk management is important.

Some of the items suggested could be useful in considering filters.

After this, it is time for sensitivities that are unique to humans to come into play!

MQL5 Free EA – NOZAX Portfolio No.2

NOZAX Portfolio NO.2
  • Account: NZX Zero (ECN) (NOZAX)
  • Initial balance: 100,000 yen
  • Working EA:
  • TraderMind EA MT5: Currency Pair: USDCAD#, Timeframe: 1 Hour, Lot quantity: 0.04 Lot
  • White Bear DT for NOZAX v1.13: Currency pair: USDJPY#, Timeframe: 5-minute, Lot quantity: 0.02 lot
  • Gold Multiply Funds EA: Currency Pair: XAUUSD#, Timeframe: 30-minute, Lot quantity: 0.01 lot
  • Catastrofix EA MT5: Currency Pair: EURGBP#, EURAUD#, EURNZD#, EURUSD#, GBPCAD#, AUDJPY#, Timeframe: 1 Hour, Lot quantity: 0.01 lot

Results from April 17 to April 21 (NOZAX Portfolio No.2)

  • TraderMind EA MT5: 3 wins and 0 loss, total profit and loss was 1780 yen (46.0 pips).
  • White Bear DT USDJPY: 4 wins and 0 loss, total profit and loss was 820 yen (43.8 pips).
  • Gold Multiply Funds EA: 2 wins and 2 losses, total profit and loss was 787 yen (620.0 pips).
  • Catastrofix EA MT5: 1 win and 7 losses, total profit and loss was -1147 yen (-108.1 pips).

Past Results (NOZAX Portfolio No.2)

The individual results of each EA in the portfolio No. 2 are as follows.

  • 10-21 April 2023
    (Trades with a profit of even 1 yen are counted as “winning", while the reverse is counted as “negative")
  • Balance: 100,000 yen → 102,476 yen

Current status and schedule of the portfolio

It’s been two weeks since we started Portfolio 2 and as expected we are waiting for Catastorofix to win, Catastorofix has a large Takeprofit, so we have been holding positions for a long time, and this week we went through another week with unrealised profits.

If this position is closed with a win and the win rate rises to the level of the back test, I feel that I can watch this portfolio operation with peace of mind.

I’m looking forward to the next week and beyond.

Mini-reviewWe asked ChatGPT!                                                                                                                                                                                                                                           

Next week’s EA that I plan to deal with in “MQL5 Free EA – Backtesting Testing" uses Fibonacci retracements, so this time I asked ChatGPT about trading methods using Fibonacci retracements.

Q: How do I trade forex using Fibonacci retracements?

A: ChatGPT: https://chat.openai.com/auth/login response

Forex trading techniques using Fibonacci retracements are mainly useful for identifying trend turning points and support and resistance levels. You can apply it to Forex trading by following the steps below.

  1. Trend identification: First, identify the market trend. In the case of an uptrend, you need to find a point where the market will retrace from the high to the low. Conversely, in the case of a downtrend, identify the point at which the market retraces from the low to the high.
  2. Apply Fibonacci Retracement Tool: In your charting software for trading, select the Fibonacci Retracement tool. For an uptrend, apply the tool from the recent low (swing low) to the recent high (swing high). In case of a downtrend, apply the tool from the recent high to the recent low.
  3. Check Key Retracement Levels: The Fibonacci retracement tool displays several key retracement levels (23.6%, 38.2%, 50%, 61.8%, and 78.6%). These levels may act as potential support and resistance zones.
  4. Identify entry points: When price approaches the retracement level, look for signs that indicate a resumption or reversal of the trend. For example, in an uptrend on the daily chart, when the price approaches the 61.8% retracement level, use candlestick patterns and technical indicators (RSI, MACD, etc.) to look for entry signs.
  5. Set Stop Loss and Take Profit: Once the entry point is determined, set the Stop Loss and Take Profit levels. Stop loss is important for risk management. It is usually set to a retracement level just above the entry point (in case of a downtrend) or below (in case of an uptrend). This allows you to minimize losses due to unexpected market fluctuations. Take profit is a goal to lock in profit. This is typically based on the next major Fibonacci level or past support/resistance zones. Consider the risk to reward ratio to determine your stop loss and take profit levels.
  6. Monitor and manage trades: Once entered, continuously monitor your trades and adjust your stop loss and take profit as needed. In addition, new retracement levels may form, so update your analysis by reapplying the Fibonacci retracement tool as appropriate.
  7. Evaluate and improve trades: Once a trade is complete, evaluate the results and consider what was successful and what needs improvement. This will allow you to continuously improve your trading technique using Fibonacci retracements and trade more effectively.

You can follow these steps to practice the Forex trading technique using Fibonacci retracements. However, the appropriate method may differ depending on the market situation and your own trading style. Therefore, it is important to use a demo account to establish your own trading technique and practice until you can make a profit in real trading.

If you make it this far, you will be able to study efficiently!

MQL5 Free EA – NOZAX Portfolio No.2

From this week, I restarted portfolio management as “Try managing a free EA portfolio! 2". We removed “White Bear DT GBPJPY" from the previous portfolio and added “Gold Multiply Funds EA" for trading Gold and “Catatrofix EA MT5″ for small profit and loss.

As a result, I think that I was able to clear all the points when building an EA portfolio: different logic, different currency pairs, and different time frames.

NOZAX Portfolio NO.2
  • Account: NZX Zero (ECN) (NOZAX)
  • Initial balance: 100,000 yen
  • Working EA:
  • TraderMind EA MT5: Currency Pair: USDCAD#, Timeframe: 1 Hour, Lot quantity: 0.04 Lot
  • White Bear DT for NOZAX v1.13: Currency pair: USDJPY#, Timeframe: 5-minute, Lot quantity: 0.02 lot
  • Gold Multiply Funds EA: Currency Pair: XAUUSD#, Timeframe: 30-minute, Lot quantity: 0.01 lot
  • Catastrofix EA MT5: Currency Pair: EURGBP#, EURAUD#, EURNZD#, EURUSD#, GBPCAD#, AUDJPY#, Timeframe: 1 Hour, Lot quantity: 0.01 lot

Results from April 10 to April 14 (NOZAX Portfolio No.2)

  • TraderMind EA MT5: 3 wins and 0 losses, total profit and loss was 835 yen (23.6 pips).
  • White Bear DT USDJPY: 4 wins and 1 loss, total profit and loss was 776 yen (42.9pips).
  • Gold Multiply Funds EA: 1 win and 1 loss, total profit and loss was 400 yen (319.0pips).
  • Catastrofix EA MT5: 0 wins and 4 losses, total profit and loss was -1725 yen (-178.9pips).

Past Results (NOZAX Portfolio No.2)

Here are the final results of Portfolio No. 1.

The individual results of each EA in the portfolio No. 2 are as follows.

  • 10-14 April 2023
    (Trades with a profit of even 1 yen are counted as “winning", while the reverse is counted as “negative")

Current status and schedule of the portfolio

I restarted my portfolio this week, but I was suddenly impatient with a negative start. However, in the second half, Catastrofix’s losses were filled by other EAs.

How much can other EAs cover Catastorofix’s losses with a low win rate? I’m curious how much the portfolio effect will work.

This is a point that we would like to pay attention to in the future.