Questions from Beginners MQL5 MT5 MetaTrader 5 - page 431 1...424425426427428429430431432433434435436437438...1605 New comment Vasiliy Sokolov 2015.09.03 19:38 #4301 pr0gre5: What is the easiest way to build an Expert Advisor that receives a signal from its indicator and places an order?I tried to do it through include file - it complains of two OnInit during compilationPlease suggest an easier article on the subject. At a minimum, you have to remove one of the OnInits. The second step is to learn the programming. Vladimir Karputov 2015.09.03 19:44 #4302 pr0gre5: What is the easiest way to build an Expert Advisor that receives a signal from its indicator and places an order?I tried to do it via include file - it complains about two OnInit when compilingPlease suggest an easier article on the subject. Create a trading signals module based on the indicator. Then you only need to use MQL5 Wizard to generate an Expert Advisor. pr0gre5 2015.09.03 19:44 #4303 The preprocessor replaces the line#include <file_name> with the contents of the WinUser32.mqh file. Angle brackets indicate that WinUser32.mqh file will be taken from the standard directory (usuallyterminal_directory\MQL5\Include).here is all the documentation Renat Akhtyamov 2015.09.03 20:08 #4304 pr0gre5: What is the easiest way to build an Expert Advisor that receives a signal from its indicator and places an order?I tried to do it via include file - it complains about two OnInit when compilingPlease suggest an easier article on this subject.You need to do two things:1. indicator2. the espert.These are two different files.Request data from the indicator by the expert and use it as a signal.Depending on the signal perform trade operations. How much data (in Filters' Trading System MT5 Alerts Leanid Aladzyeu 2015.09.03 21:45 #4305 how? a standard array can go out of bounds? Renat Akhtyamov 2015.09.03 21:55 #4306 Leanid Aladzyeu: how? the standard array can go out of bounds?it says press F1)))This is nonsense. Press "compile" again, maybe it will change the line number...or at least use iClose(Symbol(),Period(),1). Leanid Aladzyeu 2015.09.04 04:45 #4307 new-rena: it says press F1)))This is nonsense. Press "compile" again, maybe it will change the line number...At least use iClose(Symbol(),Period(),1). That's it for me in the xapperp tab the error dates after some time Renat Akhtyamov 2015.09.04 04:50 #4308 Leanid Aladzyeu: He was the one who gave me the error in the xperps tab after a while. I got it, did you do what I asked? Leanid Aladzyeu 2015.09.04 06:16 #4309 new-rena: I got it, did you do what I asked? I don't remember what it was about? Renat Akhtyamov 2015.09.04 06:25 #4310 Leanid Aladzyeu: I don't remember what you were talking about? I replied to your post "how is that? a standard array can go out of bounds?", look it up. 1...424425426427428429430431432433434435436437438...1605 New comment
What is the easiest way to build an Expert Advisor that receives a signal from its indicator and places an order?
I tried to do it through include file - it complains of two OnInit during compilation
Please suggest an easier article on the subject.
What is the easiest way to build an Expert Advisor that receives a signal from its indicator and places an order?
I tried to do it via include file - it complains about two OnInit when compiling
Please suggest an easier article on the subject.
The preprocessor replaces the line
#include <file_name> with the contents of the WinUser32.mqh file. Angle brackets indicate that WinUser32.mqh file will be taken from the standard directory (usuallyterminal_directory\MQL5\Include).
here is all the documentation
What is the easiest way to build an Expert Advisor that receives a signal from its indicator and places an order?
I tried to do it via include file - it complains about two OnInit when compiling
Please suggest an easier article on this subject.
You need to do two things:
1. indicator
2. the espert.
These are two different files.
Request data from the indicator by the expert and use it as a signal.
Depending on the signal perform trade operations.
how? a standard array can go out of bounds?
how? the standard array can go out of bounds?
it says press F1)))
This is nonsense. Press "compile" again, maybe it will change the line number...
or at least use iClose(Symbol(),Period(),1).
it says press F1)))
This is nonsense. Press "compile" again, maybe it will change the line number...
At least use iClose(Symbol(),Period(),1).
He was the one who gave me the error in the xperps tab after a while.
I got it, did you do what I asked?
I don't remember what you were talking about?