Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 888

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
And I would also like to know where does breake come from?
And break from while(true). At first it was without loop, then I took it from some example - it helped.
And I have some problems with brackets - at the same time I corrected them for OrderSend, and now not only it doesn't close, but it doesn't open poses either. I'll try to figure it out, although I'm constantly comparing with different examples and can't find any reason.
So I decided it would be a long time to wait for an answer, so I calculated the average in the program.
datetime timeLastBar;
double MA;
void countMA(int minute){
if(TimeMinute(iTime(symbol,PERIOD_M5,0))== TimeMinute(timeLastBar))
return;
timeLastBar = iTime(symbol,PERIOD_M5,0);
MA = 0;
int i;
for ( i = 0; i< minute; i++)
{
if (iClose(symbol,PERIOD_M5,0)== -1){
i--;
break;
}
MA += iClose(symbol,PERIOD_M5,0);
}
MA = MA/i;
}
Hi. I am opening M1 chart (1999-2011), and I am using PeriodConverter, and the output is .hst, starting from 2011.05.16 only (takes exactly two months). Where does it take the rest? Does it work at all? Thank you.
Working, exports to the whole story.
What about me in that case?
Version 4.00, Build 765 of 12 December 2014
Where do you get the M1 from 1999?
What about me in that case?
Version 4.00, Build 765 of 12 December 2014
From google. But if you help, I can speed up the search process dramatically.So it's 788 build, isn't it time to upgrade? As for the converter, I use this one, haven't looked for any differences from the old one, maybe there is...
A bug?
2015.04.13 20:51:10.710 indi AUDJPY,H1: Requested indicator subframe: -1
No, not a bug.
Well, it's 788 build, isn't it time to upgrade? As for the converter, I use this one, didn't look for any differences from the old one, maybe there is...
Good day! Please help!
The OrderSend function stubbornly generates error 130.
The challenge: Depending on the order type, set stop-loss and take-profit using BollingerBands lines - top, bottom and middle.
I searched documentation, studied forum, nothing helped! Ahead of all obvious answers, here is what I am trying to tell you:
1. BollingerBands lines are set correctly, checked 100500 times,
2. NormalizeDouble did not help,
3. Multiplying by 10 - didn't help,
BUT! If I set them manually at the same BB levels (i.e. Bid+100*Point) - everything works fine. I.e. for some reason it does not perceive BB lines.
4. I tried to calculate a delta between bar opening and BB lines, and then to add / subtract it to OrderSend (so that there would be no BB lines) - did not help!
What to do - I do not know! Help please!