
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
seriously, for newcomers to the market it's the right thing to do !, neat, informative, now it's up to the serious stuff.
suggestions for improvements are accepted out of turn =)
I am currently sitting and thinking - should I post symbol_lib and Expert Advisor template, intended for this purpose =)
and I think there is no such a need... If I trade on different accounts - I will still have to run several terminals, and if I trade on one - I will just open several windows. And there would be less confusion, it seems...
It will be interesting to hear opinions and arguments to them ;)
The topic is interesting, especially if there is a possibility to trade around the clock, (dedicated or ADSL and "server").
I'm not a programmer, but I have implemented trading on several pairs, the theme itself, the indicator was taken for pure experimentation, it is clear that the terms of trade everyone will choose for himself. The only hitch is that the EA should check if the orders are there and whether they are there for the tested symbol, sorry for the pun, I'm bored with it.
//----------------If there are orders on the vl----------------------- pair
int total=OrdersTotal();
int n=0;
Print ("Total orders==",total);
if (total>0)
{for (cnt=0;cnt>total;cnt++)
{OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);
{if(OrderSymbol()==vl)
{n++; return(0);
}
}
}
}
//Print("NNN==",n," ",vl);
Print("STEP==",cnt," ", "Symbol", vl," ", "Orders==",n);
//---------------------------------------------
This is a piece of code that doesn't work, tell me, from the heights of a serious programmer's mind, what's the "bug"
Yes, we should assign a MagicNumber to the order, and then check after the orderselect - if ( OrderMagicNumber() == _MagicNumber ) { then do something with the order.
You probably need to "mess around" yourself to understand how it works ;).
I will try to make your life easier - the _MagicNumber function (ATTENTION: if the required pair is not in the list, the magic will be generated non-original)
[qoute]
Got it, thanks for MN, huge special thanks for the library, I'll try it out