one order every day - page 2

 
Keith Watford:

Why the minus 1?

is correct

Sorry I had in mind total Bars on chart not positions. I read in speed. :)
 
Marco vd Heijden:

This code prints a Order Ticketnumber.

Explain to me how this can possibly harm other EA's and or Other EA's running (other) Magic Numbers.

This code isn't incompatible, in fact is is compatible to every other EA(including itself on other charts and manual trading.)

If it does anything other than Print it is incompatible. If the human does anything with the ticket number it is incompatible. If the OP or someone else uses your code for anything else, you have mis-guided them.

You are mincing your words. Don't lead the noobs to the dark side. You should be helping them. I put up a warning.