- Search Metals Mine
-
7bit replied Sep 20, 2010Why do you place "quote" buttons to completely different threads into your posting?
Default How to close trade in Metatrader after amount of time or amount of bars
-
7bit replied Sep 20, 2010"The position" <-- I ask you again: which position? Each position in the whole account? Each Position: (Run this as EA) int timediff = 4 * 3600; // 4 hours int start(){ int i; for (i=0; i<OrdersTotal(); i++){ OrderSelect(SELECT_BY_POS, MODE_TRADES); ...
How to close trade in Metatrader after amount of time or bars
-
7bit replied Sep 19, 2010Permanent solution would be to install MT4 into a different folder. (not into "program files")
Indicators not showing up in Explorer
-
7bit replied Sep 19, 2010MT4 would not allow many of the features like for example closing a buy by sending a sell order or partially taking profits by placing smaller pending orders, etc. MT4 has the inherent design flaw that it always wants to open new positions instead. ...
MT4 at Oanda
-
7bit replied Sep 19, 2010if your disk was formatted with NTFS you can simply place a symlink (or a junction point in versions older than vista) inside the files folder that points to somewhere else or even make the entire files folder a symlink. This is a convenient method ...
Change Date format on MT4 .csv files?
-
7bit replied Sep 18, 20104 hours to the minute exact or aligned to a H1 candle closing? Each trade separately 4 hours after each one's opening time or all trades at once 4 hours after you start a timer? if so: close all trades in the account, in the same pair or only a ...
Default How to close trade in Metatrader after amount of time or amount of bars
-
7bit replied Sep 17, 2010You misunderstood me: The hash is not a solution to the non-problem of brokers being able to group your trades, its a solution to the real problem of accidental magic number conflicts that might arise when there are many different EAs running on ...
Dynamic (Magic Number) - Randomizing
-
7bit replied Sep 16, 2010Because the thread title could be misleading and to make people who might read this later understand that the intention of the original posting makes no sense and the only reason one would really want to auto-generate a magic number is to make it ...
Dynamic (Magic Number) - Randomizing
-
7bit replied Sep 16, 2010I don't care what the broker keeps track of. I trade with him so he will be able to see my trades. If he wants to watch me trading in real-time because he has nothing else to do he can do so anyways. If he wants to know why I'm so profitable he can ...
Dynamic (Magic Number) - Randomizing
-
7bit replied Sep 16, 2010I have similar EAs (timeframe independent, one of them is almost like you describe with drawing lines, etc.). Instead of making the hash with magic = makeMagicNumber(WindowExpertName() + Symbol() + Period()); i simply use magic = ...
Dynamic (Magic Number) - Randomizing
-
7bit replied Sep 16, 2010if your broker doesn't give you any history older than 2008 it cannot start at 2000. You have to find some history data somewhere.
VHands Trading Simulator
-
7bit replied Sep 16, 2010No you couldn't. It always starts at the start date and ends at the end date given in the two date input fields. It doesn't care about scrolling and never did.
VHands Trading Simulator
-
7bit replied Sep 16, 2010Thats what programming languages were invented for: To tell a computer what to do.
Back Testing Software
-
7bit replied Sep 16, 2010Don't do it. * 66% are actually short (forexfactory trader sentiment) and they are usually wrong. * USDCHF has just broken down an important support (trend line) and by the looks of this chart it will go down much further. * Others have reported ...
EURUSD
-
7bit replied Sep 15, 2010Why would one want to vary the number randomly between trades at all? Of course you could cut off the last few bits off the hash and use it as a base for a range of numbers, the hash is good enough to allow this without provoking collisions. This ...
Dynamic (Magic Number) - Randomizing
-
7bit replied Sep 15, 2010magic numbers are of course meant to stay the same for the lifetime of an EA on a certain chart since their only purpose is to identify a group of trades! It's their purpose! What else do you think magic numbers are good for??? I am sure this is ...
Dynamic (Magic Number) - Randomizing
-
7bit replied Sep 15, 2010It should not only be unique but also stay fixed or repeatable because you need the same number again later if you want to close the trades. And there can be crashes and reboots between open and close. Nobody wants an EA that will not automatically ...
Dynamic (Magic Number) - Randomizing
-
7bit replied Sep 15, 2010Then you have to specify a range instead of a number and that range must be unique for each EA and for each instance and you are back at square one. Its even more complicated since you now have two numbers for every chart where you run an EA instead ...
Dynamic (Magic Number) - Randomizing