[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 12
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
artem86 23.03.2012 09:28
Please tell me why I cannot open a deposit!
//--------------------------------------------------------------------
int start()
{
double Price =Ask+20*Point;
Alert (Price);
OrderSend(Symbol(), OP_BUYSTOP, 0.1, Price,2, Bid-15*Point, Bid+15*Point);
Alert (GetLastError();
return; // Exit from start()
}
//--------------------------------------------------------------------
I've been worried for two days!
artem86 23.03.2012 09:28
Please tell me why I cannot open a deposit!
//--------------------------------------------------------------------
int start()
{
double Price =Ask+20*Point;
Alert (Price);
OrderSend(Symbol(), OP_BUYSTOP, 0.1, Price,2, Bid-15*Point, Bid+15*Point);
Alert (GetLastError();
return; // Exit from start()
}
//--------------------------------------------------------------------
I've been worried for two days!
Decided to start learning C,C++,C#, who can suggest a good compiler and editor.
Thank you.
double Sredn(double& ArrSr[]) - I used the & sign that way.
Vadim, you put such a small (&) that you can't see it straight away!..! :)))
I wonder how the author (in the author's version) this function was performed in one place and not in another! ;)
There is no error as such in calculating the whole indicator. Just think what is faster:
1) to count Bars (about 10000) bars every tick
2) count 20 bars 1 time per minute (or even more)
I repeat, the opening price of OP_BUY==Ask, OP_SELL==Bid.
And you have Close[i].
It came from my indicator, I also wanted to make Ask's calculation, but it didn't work. I had to use Close.
I will try it that way.
Decided to start learning C,C++,C#, who can suggest a good compiler and editor.
Thank you.