[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 163
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
Hi all...
Could you please tell me how to build path to MetaTrader 4 history files? Like "c:\program files\metatrader 4\history\alpari-classic\"?
Thank you very much, sergeev, I think I've found it...
Print("Terminal path: ", TerminalPath() + "\\history\\" + AccountServer() + "\\");
this line outputs the correct path even though the editor is wrong in the colours... You should probably write the code in notepad. Just kidding.
Good evening everyone!
In Sergey Kovalev's tutorial I found an expert - trailing stop. I copied it into MetaEditor, compiled it, but the program does not work. Please advise what is the reason. Maybe I am doing something wrong.
is it written in mql?)
just give me the code.
Good evening everyone!
In Sergey Kovalev's tutorial I found an expert - trailing stop. I copied it into MetaEditor, compiled it, but the program does not work. Please advise what is the reason. Maybe I am doing something wrong.
Use this:
In user variables we write:
In EA Start write:
// ----------------------------- Тралим ордера ------------------------------------ TrailingRyn_b(TrailingStop,TrailingStep,Proskalz,MAGIC,WaitProfit,false);
After start in custom subprograms write:
Functions like ModifError() are my custom functions - they just display an error message. Write your own messages instead.
https://docs.mql4.com/ru/indicators/iBands