HomeTrading

Trading forum where traders can learn and share trading ideas, download top MT4 and MT5 indicators for free and more.

Ask questions, get the right answers Messages in this topic - RSS

Angelus
Angelus
Administrator
moderator
Posts: 28


10/24/2021
Angelus
Angelus
Administrator
moderator
Posts: 28
Are you new to online trading? Are you wondering how to start forex trading? Are you looking for a broker with no minimum deposit? Or the best forex broker for beginners? Join the newbie’s lounge, ask questions and get answers. Discuss topics with more experienced traders from around the world and get advice from our knowledgeable and helpful staff.
0 link
SergioM
SergioM
Posts: 3


24 days ago
SergioM
SergioM
Posts: 3
Hello! I'm new in he forum and new in Forex. I have a problem in a EA about calcs. I have important differences between, for example Close value O Bolinger bands, in METATRADER4 data window and my EA using the technical indicator iBands or the array iClose[], or Close itself.
This differences spoils my bot so I ask for help and an explanation or where to read about this issue.
If this is not the proper place where to settle the questions, I'm deeply sorrow and again I ask for your guidance.

Many thanks in advance
0 link
Admin
Admin
Administrator
Posts: 129


24 days ago
Admin
Admin
Administrator
Posts: 129
SergioM wrote:
Hello! I'm new Thumbs Upin he forum and new in Forex. I have a problem in a EA about calcs. I have important differences between, for example Close value O Bolinger bands, in METATRADER4 data window and my EA using the technical indicator iBands or the array iClose[], or Close itself.
This differences spoils my bot so I ask for help and an explanation or where to read about this issue.
If this is not the proper place where to settle the questions, I'm deeply sorrow and again I ask for your guidance.

Many thanks in advance



Hi Sergio!

You are on the right place to ask questions about trading and forex.
Unfortunately, we don't have a MQL coder in our team that could give you a straight answer.
But seems to me that your broker's data could be somehow innacurate...

I mean the iClose value should be exactly the same value of the BB on the chart, when closed.
Are you getting this data from a demo account or a live account? Have you tried with the data from another broker?

My humble suggestion is to open 2 or 3 demo accounts with other brokers (most traders using EAs recommend Tickmill, for example) and backtest your EA. Here's the link to our Tickmill page: Tickmill Review & Demo Account (cashbackforex.com)

Good luck Sergio! Thumbs Up

- Angelus
0 link
SergioM
SergioM
Posts: 3


21 days ago
SergioM
SergioM
Posts: 3
Hello!!. I'm back with this issue. I created a test account in TickMill, I installed Metatrader 4 given by TickMill and unfortunatelly I got same results. As I was working with a time frame of H1 I made a change in the tester and run the same EA in the same time interval 2022-01-03 to 2022-01-05.
The result is very confusing so if someone could explain the situation I should be very gratefull. The fact is that : with a H1 time frame Bolinger Band Lower line was crossed by EURUSD Close price at 19:00 - 20:00 in 2020-01-03. If I cjhange the time interval to M15, with the same period of time, Bolinger Band Lower line was crossed by EURUSD Close price at 17:30 in 2020-01-03.





I should be very grateful if someone explain this or give advice me about what to read on the subject. Many thanks.!!!!
0 link
Admin
Admin
Administrator
Posts: 129


19 days ago
Admin
Admin
Administrator
Posts: 129
SergioM wrote:
Hello!!. I'm back with this issue. I created a test account in TickMill, I installed Metatrader 4 given by TickMill and unfortunatelly I got same results. As I was working with a time frame of H1 I made a change in the tester and run the same EA in the same time interval 2022-01-03 to 2022-01-05.
The result is very confusing so if someone could explain the situation I should be very gratefull. The fact is that : with a H1 time frame Bolinger Band Lower line was crossed by EURUSD Close price at 19:00 - 20:00 in 2020-01-03. If I cjhange the time interval to M15, with the same period of time, Bolinger Band Lower line was crossed by EURUSD Close price at 17:30 in 2020-01-03.

I should be very grateful if someone explain this or give advice me about what to read on the subject. Many thanks.!!!!




Hello Sergio! Thank you for choosing us to share your concerns about your trading strategy.

iClose returns the close price value for the bar of the specified symbol, with timeframe and shift. Using different timeframes will certainly return different values most of the time. This happens with most indicators, even channel lines.

It seems your strategy consist on price movements crossing back into the Bollinger bars. The smaller the time frame, the more sensitive Bollinger bands become to price movements, so you will always get different results. You can test this comparing short time frames with long ones, like 1W and 15M; the results will be very different.

It is likely that the developer of the EA you are using created this system for a specific time frame, and maybe even a specific trading instrument, like EUR/USD or GBP/USD. We suggest you contact the developer and/or the vendor and ask them for instructions on how to use this specific EA, mainly for which timeframe was designed.

- Andres
0 link
SergioM
SergioM
Posts: 3


5 days ago
SergioM
SergioM
Posts: 3
Hello traders. I'm developing an EA on METATRADER 4 . I would like to debug the program. I could hardly find a couple of sites about the subject on you tube, but nothing clear. Can anybody tell me where to find a tutorial or a manual about metaeditor debugger.

Many thanks.
0 link
Admin
Admin
Administrator
Posts: 129


3 days ago
Admin
Admin
Administrator
Posts: 129
SergioM wrote:
Hello traders. I'm developing an EA on METATRADER 4 . I would like to debug the program. I could hardly find a couple of sites about the subject on you tube, but nothing clear. Can anybody tell me where to find a tutorial or a manual about metaeditor debugger.

Many thanks.


Hi there Sergio!

Yes, you are right. It's hard to find accurate info on the subject. And, unfortunately, we don't have a coder to help.
May i suggest a visit to our Telegram group and ask there? We have nearly 1000 members, and maybe some of these guys might know about EAs.

Thanks.

- Angelus
0 link