| View previous topic :: View next topic |
| Author |
Message |
philBell
Joined: 23 Jul 2009 Posts: 25 Location: Brighton, UK
|
Posted: Fri Aug 14, 2009 5:10 pm Post subject: Magic Number? |
|
|
In the Strategies API, there's an OrderMagicNumber function. What's the "magic number" for, please?
Phil Bell |
|
| Back to top |
|
 |
Terranin Site Admin

Joined: 21 Oct 2006 Posts: 831
|
Posted: Fri Aug 14, 2009 5:13 pm Post subject: Re: Magic Number? |
|
|
| philBell wrote: | In the Strategies API, there's an OrderMagicNumber function. What's the "magic number" for, please?
Phil Bell |
This is an analog of MetaTrader's MagicNumber. You can define this parameter for any order and then separate orders by this value. For example one group of orders has MagicNumber = 1, another group has MagicNumber = 2. So, when you want to close only orders from group one, you can separate them from group 2. _________________ Hasta la vista
Mike |
|
| Back to top |
|
 |
philBell
Joined: 23 Jul 2009 Posts: 25 Location: Brighton, UK
|
Posted: Sat Aug 15, 2009 10:14 am Post subject: |
|
|
Thanks. I'm in the UK, where spreadbetting is tax free whereas purchases/sales have an 18% tax on profits, so I'm not a MetaTrader user, whereas it seems that most ForexTester users are?
Phil Bell |
|
| Back to top |
|
 |
Terranin Site Admin

Joined: 21 Oct 2006 Posts: 831
|
Posted: Sat Aug 15, 2009 2:23 pm Post subject: |
|
|
| philBell wrote: | Thanks. I'm in the UK, where spreadbetting is tax free whereas purchases/sales have an 18% tax on profits, so I'm not a MetaTrader user, whereas it seems that most ForexTester users are?
Phil Bell |
MetaTrader is a good product for trading and I made a similar API to easily move experts from/to. And some brokers in USA also start using this product and I think it will be more popular in future. _________________ Hasta la vista
Mike |
|
| Back to top |
|
 |
|