How to get content of text files?
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
Hi TW,
I am not sure of exactly what you are trying to do but if you do decide to read/write text files this time (or any time in the future) the thread below has an example in the documentation of how to use the map command and list commands of the EL collections to get text data in and out of MC using csv files. It saves you having to learn the full ADE which I personally have never had a use for. To quickly figure out how to use the map command to do it you need to read the EL collections document which is in the last post of the thread below because I figured out exactly how to use the map command for it and put an example in to the original documentation. Without that example it can take a fair bit of experimenting to figure it out.
John.
http://forum.tssupport.com/viewtopic.ph ... highlight=
I am not sure of exactly what you are trying to do but if you do decide to read/write text files this time (or any time in the future) the thread below has an example in the documentation of how to use the map command and list commands of the EL collections to get text data in and out of MC using csv files. It saves you having to learn the full ADE which I personally have never had a use for. To quickly figure out how to use the map command to do it you need to read the EL collections document which is in the last post of the thread below because I figured out exactly how to use the map command for it and put an example in to the original documentation. Without that example it can take a fair bit of experimenting to figure it out.
John.
http://forum.tssupport.com/viewtopic.ph ... highlight=
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
I'm not sure why you would say "no solutions so far" - these types of solutions (GV, ELC, ADE) are the best and most straight-forward way to do this. You have a whole number of options, including GV/PushPop which is probably the simplest, ELC which is next least complex, and ADE which is most complex.
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
No problem - the one place where the added complexity involved with ADE would be justified is if you need to backtest / work with historical bars. For this, you can use ELC if you restrict everything to one chart (thus can line up by the bar number) but otherwise, such as when they are on different charts, ADE would be the easiest way to go. When only "real-time" information is needed, often GV or PushPop are the way to go, with ELC somewhere in between, such as when you must work with a file and don't just want the value sent to the other chart the most straight forward way possible. Often, ADE is not necessary, especially if real-time only is acceptable.
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact: