Discussion of article "LifeHack for traders: Blending ForEach with defines (#define)" - page 4

 
Rashid Umarov:

The nested ForEach is to show that there are no collisions. Right?

Yes.

 
fxsaber:
Only it's not really foreach. ForEach by syntax provides access to elements directly, not to an index.

But it's still better than everything above.

 
Комбинатор:

Huh?

How about false?
Are you going to fix the mistake in the article?
 
Комбинатор:
will you correct the error in the article?

Yes, it has already been corrected in the article and in the codes to false.

 
Vladimir Karputov:

No. It's not a mistake.

It is a mistake.

If I take your defines and substitute them into my EAs, some of them will not trade at all, because a good tone in MQL4 is to check the context.

There is a correspondence, and I pointed it out. In MQL5 there is no need to check the context, because the terminal itself solves this problem, i.e. the trading context is always free. i.e. the normal analogy is false.

 
Комбинатор:

This is a mistake.

The code and article have already been corrected and republished.

Thanks for the criticism

 

Punto Switcher...

Works in any window/editor where the keyboard works...

Copy the necessary block, paste it into the auto-replacement window, make up an abbreviation...

When entering an abbreviation, a tooltip appears - press enter or tab...

Result...

p.s. At work I use it constantly for many years - it helps a lot).

 
Aleh Sasonka:

Punto Switcher...

I didn't know that, thanks

 
Aleh Sasonka:

Punto Switcher...

Works in any window/editor where the keyboard works...

Copy the necessary block, paste it into the auto-change window, make up an abbreviation...

When entering an abbreviation, a tooltip appears - press enter or tab...

Result...

p.s. I've been using it at work for many years - very helpful)

Ahahaha) Good old poundo, didn't know that either, thanks. Now everything will be a lot easier.
 
MetaQuotes Software Corp.:

New article LifeHack for traders: Blending ForEach with defines (#define) has been published:

Author: webmasterfa

(i,true)