File Append Headers - Easylanguage - TradeStation | futures io | futures trading
futures io futures trading


File Append Headers - Easylanguage
Updated: Views / Replies:138 / 3
Created: by rolandw85 Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

File Append Headers - Easylanguage

  #1 (permalink)
London
 
Trading Experience: Intermediate
Platform: Tradestation
Favorite Futures: equities, options
 
Posts: 5 since Nov 2019
Thanks: 0 given, 1 received

File Append Headers - Easylanguage

Is it possible to have headers in the first row of the FileAppend function.

Eg: My current code is:
if Marketposition = 1 then
FileAppend("C:\Users\roland\Desktop\DT\Example.csv", Symbolname +","+ Numtostr(date + 19000000,0)+","+ Numtostr(Volume,0)+ Newline);

Is the only way to do this by adding more columns in front of each with a "header"? I just want my CSV to have headers on the top line if possible.

Reply With Quote
The following user says Thank You to rolandw85 for this post:
 
  #2 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 2,154 since Apr 2013
Thanks: 384 given, 1,389 received

Hi rolandw85,

you could write the header within a once block or "if CurrentBar = 1" conditional branching. Depending on how you write your files you might have to add additional checks to make sure the file doesn't exist yet, as FileAppend would otherwise append another header.

Regards,

ABCTG


rolandw85 View Post
Is it possible to have headers in the first row of the FileAppend function.

Eg: My current code is:
if Marketposition = 1 then
FileAppend("C:\Users\roland\Desktop\DT\Example.csv", Symbolname +","+ Numtostr(date + 19000000,0)+","+ Numtostr(Volume,0)+ Newline);

Is the only way to do this by adding more columns in front of each with a "header"? I just want my CSV to have headers on the top line if possible.


Follow me on Twitter Visit my Facebook Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #3 (permalink)
London
 
Trading Experience: Intermediate
Platform: Tradestation
Favorite Futures: equities, options
 
Posts: 5 since Nov 2019
Thanks: 0 given, 1 received

good idea


thanks. good idea. i clear the print log at the end of my code. this will work for what i am after.

Reply With Quote
 
  #4 (permalink)
Legendary Market Wizard
Houston, TX
 
Trading Experience: Advanced
Platform: XTrader
Broker/Data: Advantage Futures
Favorite Futures: Energy
 
Posts: 3,132 since Dec 2013
Thanks: 2,557 given, 5,665 received

The annoying thing is, I find that often my header row is actually the 2nd row of the csv file rather than the first, especially if I'm doing optimizations and writing results.

Reply With Quote

Reply



futures io > > > > File Append Headers - Easylanguage




Upcoming Webinars and Events (4:30PM ET unless noted)
 

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show file extensions for known file types in Windows xplorer Tech Support 3 October 31st, 2019 09:39 AM
How to add append string with .GetString ? bluewave65 Sierra Chart Programming 1 May 11th, 2017 12:07 PM
Is there alternative in ACSIL to str.append ? bluewave65 Sierra Chart Programming 2 February 20th, 2017 04:47 PM
Easylanguage Print to File Problem jalea148 TradeStation 1 August 13th, 2012 01:07 PM


All times are GMT -4. The time now is 11:49 PM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts