thx a lot
looking forward to other useful stuffs from u :>
looking forward to other useful stuffs from u :>
Yeah, I actually wandered over to the forum listed in the expert.
Needless to say I didn't dwell long even with the help of a web translator :)
Needless to say I didn't dwell long even with the help of a web translator :)
3. Add function SetTrace(); in block start()
Translated by Promt - http://www.e-promt.com/en/
3. Add function SetTrace(); in block start()
int start()
{
int ticket, total,totalExpert;
//------------------------------------------------------
// ради упрощения и ускорения кода, сохраним необходимые
// данные индикаторов во временных переменных
SetTrace();
{
int ticket, total,totalExpert;
//------------------------------------------------------
// ради упрощения и ускорения кода, сохраним необходимые
// данные индикаторов во временных переменных
SetTrace();
Translated by Promt - http://www.e-promt.com/en/
3. Add function SetTrace(); in block start()
int start()
{
int ticket, total,totalExpert;
//------------------------------------------------------
// For the sake of simplification and acceleration of a code,
// we shall keep the necessary data of indicators in time variables
SetTrace();
{
int ticket, total,totalExpert;
//------------------------------------------------------
// For the sake of simplification and acceleration of a code,
// we shall keep the necessary data of indicators in time variables
SetTrace();
Thanks
Pity, my russian language skills are non-existent. You never know how important those little notes after the '//' marks are until you can't understand it.
Good work though!!
JF
Pity, my russian language skills are non-existent. You never know how important those little notes after the '//' marks are until you can't understand it.
Good work though!!
JF
Anything essential in comments is not present. They are made only for simplification of perception(recognition)
Anything essential in comments is not present. They are made only for simplification of perception(recognition)
The only answer I find on this forum and from MQ to learn to code with MQL4 is to look around to other experts and scripts that I can find. As there is not a lot of them floating around, those that I found most helpfull are the ones where the coders make these //notes for themselves and others. It helps me to figure out what certain lines and codes actually do.
I spent some time on a russian tug and saw some translation programs. The crew and I amused ourselves for hours on end by trying to translate certain phrases. For above phrase I take it you mean "Anything present in comments are not essential"?? (See what I mean?)
I too studied language on another's advisers and indicators. Probably, it is a unique way.
I have replaced in a code Russian comments on English.
Code very simple and problems should not be.
I have replaced in a code Russian comments on English.
Code very simple and problems should not be.
I too studied language on another's advisers and indicators. Probably, it is a unique way.
I have replaced in a code Russian comments on English.
Code very simple and problems should not be.
I have replaced in a code Russian comments on English.
Code very simple and problems should not be.
To you it may be simple, but the last programming language I realy used was Turbo Pascal in 1993. In it a variable was defined as "var:price, open, high;" then a value could be given to it by "price:=1.259;". Constants was defined "constant:stop, slip, spread;". If there was an error in the script, the compiler takes you back to where it thinks the problem is (no need to count lines!!). With my experience in Turbo Pascal, MQL for MT3 was a relatively simple learning proccess.
Imagine my horror when MQL4 started! suddenly there are terms like "double, extern double", and a whole lot of commands, and changes in syntax. Now capitalization is important. To think I actually believed the comments on the web site about how simple MQL4 is to use!! For someone as out of date as me, the help file is just not good enough. I'm just glad there are people like you that take the time and effort to share helpfull codes and procedures like the one above. MANY THANKS!!!
Regards
JF
Jan,
Wander over to the Yahoo forums - fantastic bunch of the most helpful guys around.
http://groups.yahoo.com/group/MetaTrader_Experts_and_Indicators
Cheers
Martin
Wander over to the Yahoo forums - fantastic bunch of the most helpful guys around.
http://groups.yahoo.com/group/MetaTrader_Experts_and_Indicators
Cheers
Martin
Jan,
Wander over to the Yahoo forums - fantastic bunch of the most helpful guys around.
http://groups.yahoo.com/group/MetaTrader_Experts_and_Indicators
Cheers
Martin
Wander over to the Yahoo forums - fantastic bunch of the most helpful guys around.
http://groups.yahoo.com/group/MetaTrader_Experts_and_Indicators
Cheers
Martin
Agree, only I do not read them - time is not present
WBR
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Small and usefull utility for visual analys worked orders after completed back-testing.
Manual:
1. Put this file Tracert.mqh in folder experts\include\
2. Add in code of expert the line #include <Tracert.mqh>
3. Add function SetTrace(); in block start()
4. After back-testing click "Open Chart" - must be like this:
Code: