[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 59
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
Well...., please, PROFI, give me an answer, what to do with the indicator. Tell me, is it possible or impossible? (The question was written earlier in the thread, if I duplicate it, I will have a second yellow :o) )
You need to bump up the history.
With Alpari it is no problem. Other brokers have problems. I don't remember which ones (moreover it is accepted not to talk about them here on a forum).
Returns the total number of open and pending orders.
You need to bump up the history.
With Alpari it is no problem. Other brokers have problems. I don't remember which ones (moreover it is accepted not to talk about them here on the forum).
Is it possible to know the total number of open orders only?
have you tried to figure out how indicator buffers work? Very useful article (https://docs.mql4.com/ru/indicators/iCustom)
I read the article. Premier stochastic indicator seems to be prescribed correctly too, added input parameters:
extern int StochasticLenght=8;
extern int StochasticMode=0;
extern int SmoothLength=25;
extern double Level1=0.9;
extern double Level2=0.2;
the indicator is written
double cci = iCustom(NULL,0, "Premier stochastic",StochasticLenght,StochasticMode,SmoothLength,Level1,Level2,0,1);
double cci1 = iCustom(NULL,0, "Premier stochastic",StochasticLenght,StochasticMode,SmoothLength,Level1,Level2,0,2);
the rest of the source code remains unchanged.
-
-
I read the article. Premier stochastic indicator seems to be prescribed correctly too, added input parameters:
extern int StochasticLenght=8;
extern int StochasticMode=0;
extern int SmoothLength=25;
extern double Level1=0.9;
extern double Level2=0.2;
the indicator is written
double cci = iCustom(NULL,0, "Premier stochastic",StochasticLenght,StochasticMode,SmoothLength,Level1,Level2,0,1);
double cci1 = iCustom(NULL,0, "Premier stochastic",StochasticLenght,StochasticMode,SmoothLength,Level1,Level2,0,2);
the rest of the source code remains unchanged.
-
-
Question: do you want to learn how to program or just to have your bot fixed? If the first, then you need to understand why the order execution occurs. If it's the second, you should have said so right away...
As for your code, it takes data from the same buffer (of which there are 5) on the previous and the one before the previous candle, and waits for these conditions: (cci1<0 && cci>0) or (cci1>0 && cci<0) .... and I think it will wait forever.
Hi all!
I have a simple question.
There is a small program, it consists of three files:
1. expert vol1, the file which contains int start () etc.
As you can see, I include #include <Variables.mq4>
and import #import "statistics.mq4", #import "files.mq4 ".
2. Variables.mq4 - it contains variables.
3. files.mq4 this vile contains several functions The essence of the problem is that the compiler gives me 'MAIN' - variable not defined andName' - variable not defined !
I have declared them as Variables.mq4 ?
If someone can help me, I will be very grateful!
Thanks in advance for the reply !