Nur Nutzer, die das Produkt gekauft oder gemietet haben, können Kommentare hinterlassen
iamwaqas  
2025.05.20 13:17:25.200    Core 1    2025.05.15 23:30:00   Sorry, WebRequest() cannot be executed in the Strategy Tester.
please solve this problem., and how can i contact you? i'm facing problem
Razieh Sarani  
iamwaqas #:
WebRequest() cannot be executed in the Strategy Tester.

Sending WebRequest() in the Strategy Tester is limited by MT5 itself. This is a restriction placed by MetaQuotes, and unfortunately, there's nothing we can do to bypass it. We've explored all possible workarounds, but they all hit the same limitation.

iamwaqas  
Razieh Sarani #:

Sending WebRequest() in the Strategy Tester is limited by MT5 itself. This is a restriction placed by MetaQuotes, and unfortunately, there's nothing we can do to bypass it. We've explored all possible workarounds, but they all hit the same limitation.

i add traderai to

2025.05.20 12:53:25.166    Experts    expert TraderAi Algorithmic trading (USDSEK,M5) loaded successfully

but i still not see any request in openai and also still not open any trade?

can you please check that is everything working properly?

Razieh Sarani  
iamwaqas #:

i add traderai to

2025.05.20 12:53:25.166    Experts    expert TraderAi Algorithmic trading (USDSEK,M5) loaded successfully

but i still not see any request in openai and also still not open any trade?

can you please check that is everything working properly?

You have to obtain your own api key from OpenAI. Or you can use Google Gemini which offer free Api.

Chong Wai How  
Hi, how do I insert a longer prompt into the 'command prompt' field on the MT5 EA? Currently there's character limitation on it,

I can see that you've included in your v1.1: Added support for using longer and more complex prompts by enabling prompt loading from an external file instead of relying on input parameters. This removes the string length limitation of input fields and allows for more flexible and detailed prompt content.

But how do I do it now? Do you have any detailed guide right now apart from what you're showing in your overview tab.

 thanks
Razieh Sarani  
Chong Wai How #:
Hi, how do I insert a longer prompt into the 'command prompt' field on the MT5 EA? Currently there's character limitation on it,

I can see that you've included in your v1.1: Added support for using longer and more complex prompts by enabling prompt loading from an external file instead of relying on input parameters. This removes the string length limitation of input fields and allows for more flexible and detailed prompt content.

But how do I do it now? Do you have any detailed guide right now apart from what you're showing in your overview tab.

 thanks

The first time you run the EA, it will create a Prompt.txt file in the following path of your MT5 installation:
C:/Program Files/MetaTrader 5/MQL5/Files

You can add your custom prompt to this  Prompt.txt file.

In the MT5 terminal, leave the EA’s Prompt Command parameter empty — this tells the EA to load the prompt from Prompt.txt instead of using the input field.

Chong Wai How  
Razieh Sarani #:

The first time you run the EA, it will create a Prompt.txt file in the following path of your MT5 installation:
C:/Program Files/MetaTrader 5/MQL5/Files

You can add your custom prompt to this  Prompt.txt file.

In the MT5 terminal, leave the EA’s Prompt Command parameter empty — this tells the EA to load the prompt from Prompt.txt instead of using the input field.

Thank you so much for your fast reply with clear guidance! I noticed we can only set a fixed minimum to maximum volume/lot size, is it possible to enter a trade based on the risk % of account balance, e.g. 0.5% of account balance? If the EA works smoothly according to my prompts paired with this risk management feature, it will be even better :)

Razieh Sarani  
Chong Wai How #:

Thank you so much for your fast reply with clear guidance! I noticed we can only set a fixed minimum to maximum volume/lot size, is it possible to enter a trade based on the risk % of account balance, e.g. 0.5% of account balance? If the EA works smoothly according to my prompts paired with this risk management feature, it will be even better :)

The Min and Max volume settings define boundaries to prevent the AI from opening trades with excessively large volumes. However, you can set a large value for Max Trade Volume and, in your prompt, instruct the AI to open trades based on a percentage risk of the account balance. That should work as intended.
Razieh Sarani  
Razieh Sarani #:

The first time you run the EA, it will create a Prompt.txt file in the following path of your MT5 installation:
C:/Program Files/MetaTrader 5/MQL5/Files

You can add your custom prompt to this  Prompt.txt file.

In the MT5 terminal, leave the EA’s Prompt Command parameter empty — this tells the EA to load the prompt from Prompt.txt instead of using the input field.

Update on how Edit Prompt.txt

To edit the prompt file:

  1. In the MetaTrader 5 terminal, go to the Tools menu and select MetaQuotes Language Editor.

  2. In the MetaEditor program, open the Navigator panel, then go to Files → Prompt.txt to edit the prompt.

If you don’t see the Navigator panel in MetaEditor, go to the View menu and select Navigator to enable it.
Evgenii Kriachkin  

Hello, can you post what MT5 Web request need to be added in MT5 Client for each type of Neural Network. Thanks.

Evgenii Kriachkin  
Thank you very much. Can you answer - how does the advisor understand the neural network's response to open a deal? Or what format of the response should be from the neural network?
Razieh Sarani  
ckapcu #:
Thank you very much. Can you answer - how does the advisor understand the neural network's response to open a deal? Or what format of the response should be from the neural network?
Based on the prompt you provide (whatever it is) the AI should decide whether to open a long position, a short position, or stay out of the market.
For currently open positions, it should also decide whether to close the position or hold it.  Then, the Expert Advisor (EA) will execute trades based on the output from the AI.
Chong Wai How  
Razieh Sarani #:

The first time you run the EA, it will create a Prompt.txt file in the following path of your MT5 installation:
C:/Program Files/MetaTrader 5/MQL5/Files

You can add your custom prompt to this  Prompt.txt file.

In the MT5 terminal, leave the EA’s Prompt Command parameter empty — this tells the EA to load the prompt from Prompt.txt instead of using the input field.

Hi, if it doesn't create a 'Prompt.txt' itself within the folder can I rename by custom prompt .txt file into 'Prompt.txt' and paste it into the folder and it will work normally too? Because I can't find the 'Prompt.txt' inside

Thanks

Razieh Sarani  
Chong Wai How #:

Hi, if it doesn't create a 'Prompt.txt' itself within the folder can I rename by custom prompt .txt file into 'Prompt.txt' and paste it into the folder and it will work normally too? Because I can't find the 'Prompt.txt' inside

Thanks

how Edit Prompt.txt

To edit the prompt file:

  1. In the MetaTrader 5 terminal, go to the Tools menu and select MetaQuotes Language Editor.

  2. In the MetaEditor program, open the Navigator panel, then go to Files → Prompt.txt to edit the prompt.

Yuji Hiiragi  
It's not easy to prepare prompts for each API. It would be very helpfull if the author provide the sample prompts that really work.
Nur Nutzer, die das Produkt gekauft oder gemietet haben, können Kommentare hinterlassen