[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 883

 
belck:

here's the attachment


There's too much to edit. And it's not just fixing. All the logic has to be reworked. It's not worth it.
 
You give me a hint and I'll rule.
 
belck:
You give me a hint and I'll rule.
Files:
 
it's worth it to me to learn.
 

Try it. I bluntly added it. But it's unlikely to work correctly.

 
What exactly are you confused about? Maybe I can orientate
 

doesn't do the averaging. which means it can't see Magic.

!?!?

 

Logically, I want to make only the opposite order open, which means one more cycle. and the Expert Advisor will only need to check two Magic. it may be easier to declare:

extern int MagicNumber_1 = 12324;

extern int MagicNumber_2 = 12324; 

but if this is the case, how should this be linked correctly?

 

I see only one option at the moment:

to assign everything to "_2".

 
belck:

Greetings!

Can you suggest a function that will add 1 to MagicNumber and assign it.

I need it to run several loops in one EA at the same time.

I thank you in advance.

Read ALL of your posts and Victor's... Something tells me you can't explain what it is you want.
Judging by this post of yours, what you need to do is this:

MagicNumber++;

But judging from the rest of your posts, you need two different magicians. Then what's the problem? Set them rigidly for each of the two situations...
Or am I missing something, what do you need???

Reason: