[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 949

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, maybe someone has come across a ready-made "Virtual Trawl" function which works like a regular one by pips ? (for profit is not suitable since lots are different) The essence - to move away from expanding the BC stop limits in a strong market.
And you should recalculate the profit for the order?
for a tank, everything is straightforward given that the account is a quid account.
if the lot is 0.01, trawl with 0.1 profit step == 1 pip. it also trawls 0.5 profit == 5 pips 1 = 10 pips
at 1 lot, trawl with 100 profit step == 1 pip.
What is the catch?
Everything is in the editor's help system, and what isn't there is looked up here.
Thank you!
Please explain what the magic number is. If I'm guessing correctly, this is what I need.
The only thing I found in MQL4 tutorial, but no description of how to use it (maybe I searched too much).
I'm not sure how to use it, but it may be bad looking for it::) Write an approximate code for opening a market order with its use and how to determine it afterwards.
(Hello all! )
What is a magic number? If I guess correctly, this is what I need.
The only thing I found in MQL4 tutorial, but no description of how to use it (maybe I searched too much).
I'm not sure how to use it, but it may be bad looking for it::) Write an approximate code for opening a market order with its use and how to determine it afterwards.
Each position can be assigned a magic number, among other data. This is the number by which the order can be exactly and precisely identified as belonging to the given EA. If there is no magik, the position is opened manually.
Read OrderMagicNumber() in help;
And you can't recalculate the size of the profit for the order?
If we take into account that the account is a quid account, everything is straightforward.
if the lot is 0.01, trawl with 0.1 profit step == 1 pip. it also trawl 0.5 profit == 5 pips 1 = 10 pips
at 1 lot, trawl with 100 profit step == 1 pip.
what is the catch?
Hello all!
Sometimes the simplest questions are totally baffling.
In brief. I had MetaTrader 5 installed on my home PC. The tester worked fine, but - only until some time, after which out of the blue the chart with trade visualization as well as the Equity chart stopped opening.
I have thought that it is because of the Expert Advisor. I replaced it with simple Examples\Moving Average\Moving Average.ex5 but the result is the same - processing, "whistling" and... no reaction.
Tried different periods - same thing.
Maybe something went wrong with the settings? Or maybe it was caused by my recent virus?
I formatted my disk (!), reinstalled my operating system (!) and was sure everything would be alright, but... the miracles keep happening.
My last hypothesis was that something was wrong with MT5, but the version on my office PC tests normally.
What do I think?
Standard installation..., standard tester..., standard EA example..., standard processing, but no result for some reason.
Below I am postingthe "explanation" of the Journal
:
2010.11.04 18:42:04 Core 1 disconnected
2010.11.04 18:42:04 Core 1 EURUSD: load 36 bytes of history data to synchronize
2010.11.04 18:42:02 Core 1 EURUSD: symbol synchronized, 2904 bytes of symbol info received
2010.11.04 18:42:02 Core 1 performance: 57
2010.11.04 18:42:02 Core 1 38 Kb of total initialization data received
2010.11.04 18:42:02 Core 1 successfully initialized
2010.11.04 18:42:02 Core 1 initial deposit 5000.00 USD, leverage 1:100
2010.11.04 18:42:02 Core 1 expert file added: Experts\Examples\Moving Average\Moving Average.ex5. 20636 bytes loaded
2010.11.04 18:42:02 Core 1 275 bytes of selected symbols loaded
2010.11.04 18:42:02 Core 1 7170 bytes of tester parameters loaded
2010.11.04 18:42:02 Core 1 3768 bytes of group info loaded
2010.11.04 18:42:02 Core 1 3124 bytes of account info loaded
2010.11.04 18:42:02 Core 1 common synchronization completed
2010.11.04 18:42:01 Tester EURUSD,H1 (MetaQuotes-Demo): testing of Experts\Examples\Moving Average\Moving Average.ex5 from 2010.01.01 00:00 to 2010.11.03 00:00 to be started
2010.11.04 18:42:01 Core 1 authorized (agent build 350)
2010.11.04 18:42:01 Core 1 connected
2010.11.04 18:42:01 Core 1 connecting to 127.0.0.1:3000
2010.11.04 18:42:00 Core 1 agent process started
Notes:
1. History on this pair for the specified time interval - available.
2. This Expert Advisor is standard, made by MetaQuotes, without any modifications, updates or corrections.
LOOKING FOR A HINT.
How do I write a "line" in my EA to calculate the ratio (profit/loss,pcs) of the last ten trades of a certain magician?
The difficulty is in obtaining data only for the last ten trades of one magician.
I understand that it is connected with an array, but I don't know how to use it.
Any clear example or pointing fingers to where to read about it would be appreciated.