Discussion of article "Creating an Expert Advisor, which Trades on a Number of Instruments" - page 3

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
6.Seems to be missing:
TradePerformer( 4, Symb4, Trade4, StLoss4, TkProfit4, Lots4, Slippage4, UpSignal, DnSignal, UpStop, DnStop);
in Exp_TEMA.mq5 ?
6.Seems to be missing
in Exp_TEMA.mq5?
Please make a reproducible example. That is, you need ready-made code that you can compile, throw on a chart and get results.
Without this, few people will understand what we are talking about.Thought I'd cut back so as not to put people off for nothing.
Here is the full version:
What am I doing wrong, why can't I display the chart of another instrument normally?
Everything worked in MQL4, here it works only if you display it on the same instrument, then no errors.
What am I doing wrong, why can't I display the chart of another instrument normally?
Everything worked in MQL4, here it works only if you display it on the same instrument, then no errors.
I am not sure of the correctness of the implementation and the algorithm in general, but based on the code and what I was able to do with it, I assume that:
The string
should look like this
Perhaps it would be more correct to change the period everywhere as "0" to PERIOD_CURRENT.
At least everything worked for me after such changes.....
PS
Perhaps it is not relevant, but this way the compiler MATTERS much less
I'm not sure of the correct implementation and algorithm in general, but based on the code and what I was able to do with it I'll assume that:
The string
should look like this
PS
Perhaps it would be more correct to change the period everywhere as "0" to PERIOD_CURRENT.
At least everything worked for me after such changes....
It looks like this on my screen:

Clearly wrong.This is how it turned out for me
But since I didn't go into the logic of the inducer and its implementation, it's not for me to judge the correctness of the results.
PS
I would still get rid of the symbol in the parameter and make it by the current symbol and TF, and then use it in Expert Advisor or another tool using the usual iCustom().
Besides, I don't really understand the logic of working with buffers (I mean the tail of the calculator and so on). In my opinion, there is a lot to work on....
That's what I got
But since I didn't go into the logic of the inducer and its implementation, it's not for me to judge the correctness of the results.
PS
I would still get rid of the symbol in the parameter and make it according to the current symbol and TF, and then use it in Expert Advisor or any other tool using the usual iCustom().
Interesting:
Besides, I don't really understand the logic of working with buffers (I mean the tail of the calculator and so on). In my opinion, there is a lot to work on....
I would still pay attention to the algorithm of working with buffers. If I understood it correctly, one buffer is enough (it just needs to be correctly calculated and drawn on the chart).
PS
And with the current variant I have an impression that the inducer displays "left" data (the very beginning of history) instead of "right" (current)....
Or I don't understand anything in the logic of this indicator at all....