Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1157
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Please help - there is a piece of code like this
everything works fine normally, but got an error here - can't reproduce - the error in the code starts with Time[I] brackets
2017.07.25 21:09:57.266 Worms_UpDn_RSI_OSC_Calc AUDCAD,M15: array out of range in 'Worms_UpDn_RSI_OSC_Calc.mq4' (104,47)
Try to replaceBars withBars(Symbol(), TF);
You are getting data from another timeframe, but the number of bars is taken from the current one.
Try to replaceBars withBars(Symbol(), TF);
You get data from another timeframe and take the number of bars from the current one, but the data you get may be less, hence the error
Thank you! I think it will help!
Attention, correct answer:
My EA stopped working in tester in non-visual mode after last update. I had to redo some things.
Greetings.
Is it possible to test on history with a spread?
It is set in the tester. Or do you need a real floating spread?
So it is set in the tester. Or do you want a real floating spread?
Real
Hello! I am writing an EA for placing pending orders on fractals. But only buy orders are placed. How should I correct it? I am attaching the EA and the indicator.
Hello! I am writing an EA to place pending orders on fractals. But only buy orders are opened. How to correct it?
It is allhere.
Hello.
Could you help correct two errors.
1. 1 order should open on one bar (now opens randomly)
2. To correctly open 1 order with a set volume (now it is opening with different volumes)
The idea is that this EA should open a deal of 10% of the deposit on one bar (I had hoped so), but it is not happening.
I have been working on this for a long time now and I am happy to see the results.
Please advise where the error lies.
Code:
Function is being evaluated