
[EDITED (19-08-2019)]:
So I came up with an idea of a self-disabling loading station: disabled by default, it turns on only when it's bay get enough material accumulated to fill up the train. So if all the stations collecting the same resource share the same name, then trains choose to visit only those which are full and ready!
Surprisingly, it turned out that automating stations to behave this way is extremely easy: just use green (or red) wire to connect all loading boxes with each other (this way we get the sum of all their contents) and stretch the wire from there to the station; then check the "Enable/disable" checkbox and set the condition for the station to be enabled (see the pic below):

(it may be hard to see on the pic above, but all 6 boxes are connected sequentially with a red wires)
In the example above the station will turn on and start accepting trains when the sum of material (any of the same kind) inside the boxes will be over 2000, which is the capacity of a single cargo wagon carrying raw ores.
Save your time, let your trains decide where to go shopping today!
