Discussion of article "How to Prepare a Trading Account for Migration to Virtual Hosting" - page 20
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
Unclear situation, Expert Advisors on the server do not assign magiks to newly opened positions, or assign completely foreign numbers, as a result of which positions are not modified and closed.
2015.07.21 16:50:00.317 DragSuper2 EURUSD,M1: open #143554354 buy 0.01 EURUSD at 1.09365 ok
2015.07.21 16:50:00.317 DragSuper2 EURUSD,M1: Spread19.0DragSuper2MG0
2015.07.21 16:50:00.551 DragSuper2 EURUSD,M1: modify #143554354 buy 0.01 EURUSD at 1.09365 sl: 1.09036 tp: 0.00000 ok
2015.07.21 16:50:00.551 DragSuper2 EURUSD,M1: DragSuper2MG19720118
This is an excerpt from a journal. MG is a magik. After the opening is equal to 0.
2015.07.22 22 22:15:59.714 Drag_newATR++ EURUSD,M1: open #61521134 buy 0.02 EURUSD at 1.09211 ok
2015.07.22 22 22:15:59.714 Drag_newATR++ EURUSD,M1: Spread7.0Drag_newATR++MG888
2015.07.22 22:15:59.730 Drag_newATR++ EURUSD,M1: open #61521135 buy 0.02 EURUSD at 1.09211 ok
2015.07.22 22:15:59.730 Drag_newATR++ EURUSD,M1: Spread7.0Drag_newATR++MG888
2015.07.22 22 22:15:59.776 Drag_newATR++ EURUSD,M1: modify #61521134 buy 0.02 EURUSD at 1.09211 sl: 1.08951 tp: 0.00000 ok
2015.07.22 22 22:15:59.776 Drag_newATR++ EURUSD,M1: Drag_newATR++MG666
Statement from another account. Expert Advisors with different numbers opened positions with one magik. Subsequent modification of one of the Expert Advisors took place with the native number. As a result, the positions were not closed.
Example code:
Perhaps I am not good at code, but in the terminal on my computer everything works flawlessly.
Unclear situation, Expert Advisors on the server do not assign mags to newly opened positions, or assign completely foreign numbers, as a result of which positions are not modified and closed.
Example code:
I may be bad at code, but in the terminal on my computer everything works flawlessly.
How exactly do you set the magik? How and where do you initialise the variable into which the magick is written?
It is an external variable "extern int MAGIC = 567;".
It is checked when the stop is set by the modify function, AND it is checked when closing.
if(OrderMagicNumber()!=MAGIC && OrderSymbol()!=Symbol()) continue;-when selecting an order, in addition in the closing conditions it is specified:
if(OrderMagicNumber()==MAGIC && ...
This is an external variable "extern int MAGIC = 567;".
It is checked when setting a stop by the modification function, and it is checked when closing.
if(OrderMagicNumber()!=MAGIC && OrderSymbol()!=Symbol()) continue;-when selecting an order, in addition in the closing conditions it is specified:
if(OrderMagicNumber()==MAGIC && ...
Why do you need extern? Try changing it to input.
Hello
I've used the free trial period and want to subscribe again. Only problem is that all my options are ghosted?
Hello
I've used the free trial period and want to subscribe again. Only problem is that all my options are ghosted?
Hello
I've used the free trial period and want to subscribe again. Only problem is that all my options are ghosted?
Hello
I've used the free trial period and want to subscribe again. Only problem is that all my options are ghosted?
Hi,
For testing purpose I would like to use VPS for a demo account upto the freely available time duration. Kindly guide me, Can I do it on demo account?