Hello all
I'm live trader, and totally ignorant on Empty4 programming, nevertheless, I've managed to modify some indicators, with this "success" I've faced the task of making my own EA. I need a guideline on "how to"
I know Ea consist on 3 parts first with "extern", second is "init" (here is where I'm lost), and "start"
I've made an ea, compiled with no errors but in live chart shows a frown face, my question are why the frown face? what Empty4 needs to recognize an ea? and what goes on init?
I'll apreciate any hint
best regards
Super Newbie questions
- milanese
- TechAdmin
- Posts: 3293
- Joined: Wed Jan 09, 2013 9:02 am
- Location: btr rdx, r8 +
Re: Super Newbie questions
Hello and welcome on boardfxcba wrote:Hello all
I'm live trader, and totally ignorant on Empty4 programming, nevertheless, I've managed to modify some indicators, with this "success" I've faced the task of making my own EA. I need a guideline on "how to"
I know Ea consist on 3 parts first with "extern", second is "init" (here is where I'm lost), and "start"
I've made an ea, compiled with no errors but in live chart shows a frown face, my question are why the frown face? what Empty4 needs to recognize an ea? and what goes on init?
I'll apreciate any hint
best regards
Maybe you should read this http://www.stevehopwoodforex.com/phpBB3 ... ?f=11&t=26, it could be the reason for the "frustated" face ..
Cheers
Tommaso
Global Prime is the official SHF broker 
Searching for Servers and Workstations with individual configuration?
Just PM
Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Searching for Servers and Workstations with individual configuration?
Just PM
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
- RedLineFred
- Trader
- Posts: 52
- Joined: Wed May 01, 2013 6:15 am
- Location: Brisbane, Australia
Re: Super Newbie questions
You have over simplified the situation - an EA contains many parts and sections, subroutines and other sections of code. Suggest you continue your coding journey with a trip to http://docs.mql4.com/ where all will be revealed.fxcba wrote:Hello all
........."how to"
I know Ea consist on 3 parts first with "extern", second is "init" (here is where I'm lost), and "start"
..........best regards
Specifically the "extern" you refer to is not really a part but rather a reference to how the variable is used by the EA. extern = external and is used when the variable is to be made available to the user who can change the value when loading the EA.
"init()" defines a subroutine within the EA that is run once to initialise the EA. Any code here will be executed and then control of the program is passed to "start()".
Hope this helps.
cheers Fred
-
fxcba
- Trader
- Posts: 46
- Joined: Wed Aug 21, 2013 10:10 pm
Re: Super Newbie questions
Good morning
Milanese, thank you, I didn't realize that, now face is similing.
RedLineFred: thank you too, that's kind of explanation I was looking for, I read mql page already but still is hard to understand, that's why I'm looking for something more common man oriented.
Cheers
Ric
Milanese, thank you, I didn't realize that, now face is similing.
RedLineFred: thank you too, that's kind of explanation I was looking for, I read mql page already but still is hard to understand, that's why I'm looking for something more common man oriented.
Cheers
Ric
- milanese
- TechAdmin
- Posts: 3293
- Joined: Wed Jan 09, 2013 9:02 am
- Location: btr rdx, r8 +
Re: Super Newbie questions
Hi Ric,fxcba wrote:Good morning
Milanese, thank you, I didn't realize that, now face is similing.
RedLineFred: thank you too, that's kind of explanation I was looking for, I read mql page already but still is hard to understand, that's why I'm looking for something more common man oriented.
Cheers
Ric
too, you can take a look in this thread http://www.stevehopwoodforex.com/phpBB3 ... f=50&t=301 maybe what you find there will be usefull for you.
Cheers
Tommaso
Global Prime is the official SHF broker 
Searching for Servers and Workstations with individual configuration?
Just PM
Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Searching for Servers and Workstations with individual configuration?
Just PM
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
-
fxcba
- Trader
- Posts: 46
- Joined: Wed Aug 21, 2013 10:10 pm
Re: Super Newbie questions
Grazie Tommasomilanese wrote:Hi Ric,fxcba wrote:Good morning
Milanese, thank you, I didn't realize that, now face is similing.
RedLineFred: thank you too, that's kind of explanation I was looking for, I read mql page already but still is hard to understand, that's why I'm looking for something more common man oriented.
Cheers
Ric
too, you can take a look in this thread http://www.stevehopwoodforex.com/phpBB3 ... f=50&t=301 maybe what you find there will be usefull for you.
Cheers
Tommaso
Hope this helps