NexusFi: Find Your Edge


Home Menu

 





Getting Live triggers to csv file


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ABCTG with 2 posts (1 thanks)
    2. looks_two ilu007 with 2 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 Jura with 1 posts (1 thanks)
    1. trending_up 2,342 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 ilu007 
New York + US
 
Experience: Intermediate
Platform: MultiCharts
Trading: Indian Stocks
Posts: 40 since Aug 2015
Thanks Given: 10
Thanks Received: 2

Dear Traders,

I am using Multicharts platform and I have strategies coded in Easy language. I need to automate the trade. Since all the brokers in India does not have bridge with Multicharts. However they say that if Multicharts has the capability to convert the live triggers from the chart to .csv file then they are able to fire the order to the Exchange.

Does anyone know whether we can convert the live triggers from the chart to .csv file instantly?

I believe Tradestation has these features but have doubt about MC's capabilites


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Expiration Day: Wall Street Rallies on Peace Hopes While …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
World Cup Opens: USA at 45.5% Tonight as Markets Push Ba …
Prediction Markets & Event Contracts
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
197 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642


ilu007,

you will likely have to write the file yourself (i.e. have the code do it) at the moment your order is triggered. Then it would have to be in a format that your broker's software can pick up and execute.

Regards,

ABCTG


Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 691


ilu007 View Post
I am using Multicharts platform and I have strategies coded in Easy language. I need to automate the trade. Since all the brokers in India does not have bridge with Multicharts. However they say that if Multicharts has the capability to convert the live triggers from the chart to .csv file then they are able to fire the order to the Exchange.

Does anyone know whether we can convert the live triggers from the chart to .csv file instantly?

You can use the FileAppend() keyword to write information to a file.

For instance (totally untested):

 
Code
if (longSignal) then begin

  Buy 1 contracts next bar at market;
  
  FileAppend("C:\Temp\TradeLog\SeptemberTrades.csv",
    "Symbol;direction;orderSize");

end;
By the way, I would first get very clear of your broker what they mean with "convert the live triggers from the chart to .csv file then they are able to fire the order to the Exchange". Because once you have the .csv file with the orders on your computer, you'd still need to have some way to send it to your broker.

Since you probably don't want to do that manually (if that would be even possible), this would probably require programming a way to upload this to the broker. And this would complicate things quite a bit.


Reply With Quote
Thanked by:
  #5 (permalink)
 ilu007 
New York + US
 
Experience: Intermediate
Platform: MultiCharts
Trading: Indian Stocks
Posts: 40 since Aug 2015
Thanks Given: 10
Thanks Received: 2

Hey Jura,

Thanks a lot for your comment. Your view make a lot of sense to me. Apart from this option I have other option such as getting Multicharts API for order. MC does provide such API for Automation. Do you have any information about this whether it is free API or else I have to shell out some money for it?

Trading Software Development Kits (2nd option from top)

Went through your website tradingcode.net. It looks very promising and I may need some help from you regarding coding in Multicharts.



Jura View Post
You can use the FileAppend() keyword to write information to a file.

For instance (totally untested):

 
Code
if (longSignal) then begin

  Buy 1 contracts next bar at market;
  
  FileAppend("C:\Temp\TradeLog\SeptemberTrades.csv",
    "Symbol;direction;orderSize");

end;
By the way, I would first get very clear of your broker what they mean with "convert the live triggers from the chart to .csv file then they are able to fire the order to the Exchange". Because once you have the .csv file with the orders on your computer, you'd still need to have some way to send it to your broker.

Since you probably don't want to do that manually (if that would be even possible), this would probably require programming a way to upload this to the broker. And this would complicate things quite a bit.


Started this thread Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642

ilu007,

the API is not free unfortunately. I don't recall the exact amount, but is was something like 5-10k $. The others prices published under the link will give you an idea what to expect.
Keep in mind that any programming would be on top of that as you'd still need to write (have someone write) the code to connect MC to your broker.

Regards,

ABCTG


ilu007 View Post
Apart from this option I have other option such as getting Multicharts API for order. MC does provide such API for Automation. Do you have any information about this whether it is free API or else I have to shell out some money for it?


Follow me on X Reply With Quote




Last Updated on September 17, 2016


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts