Specify contract (instrument) in easylanguage code. - futures io
futures io



Specify contract (instrument) in easylanguage code.


Discussion in EasyLanguage Programming

Updated
    1. trending_up 3,710 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 3 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Specify contract (instrument) in easylanguage code.

(login for full post details)
  #1 (permalink)
erdocdpb
phoenix arizona
 
 
Posts: 6 since Apr 2015
Thanks: 0 given, 0 received

Is there a way to specify which futures contract your system orders in the code (easylanguage). This is keeping me from completley automating an apparently profitalble Micro ES system. Will share my code for an example. lol

Reply With Quote

Can you help answer these questions
from other members on futures io?
Demo accounts order fill
Emini and Emicro Index
Multi Time Frame High/Low/Median levels
NinjaTrader
Market on Close data within IB
Platforms and Indicators
Tradovate + Jigsaw issues
Tradovate
Book for fundamental analysis
Stocks and ETFs
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Is anyone actually making money?
52 thanks
An embarrassing, honest confession
37 thanks
Sierra vs. Ninja : why I chose .....
8 thanks
Machine Learning Journal
5 thanks
Institutional Grade Massive Data Dump for Quant Research …
5 thanks
 
(login for full post details)
  #2 (permalink)
 kevinkdog   is a Vendor
 
 
Posts: 3,471 since Jul 2012
Thanks: 1,829 given, 6,988 received


erdocdpb View Post
Is there a way to specify which futures contract your system orders in the code (easylanguage). This is keeping me from completley automating an apparently profitalble Micro ES system. Will share my code for an example. lol

Automated code will always buy/sell the data1 symbol in the chart.

Right now your chart should have @MESH22 for data1.

That should let you automate the strategy.

Be careful, and I think you know that, since you say "apparently profitable." I wish I had $1 for every one of those algo strategies I've created the past 20+ years LOL!

You can post the code here if you want, but don't post any "secret" or special code that you do not want the world to see. You can always send that privately if you choose, but posting code probably not necessary.

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #3 (permalink)
erdocdpb
phoenix arizona
 
 
Posts: 6 since Apr 2015
Thanks: 0 given, 0 received


Thanks Kevindog, that's the only reason I am having trouble. I pulled up the symbol for the chart (@MES) instead of MESh22. Nice to have someone point out my brainless blunder. Working well now with 4 positive trades in a row.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
 kevinkdog   is a Vendor
 
 
Posts: 3,471 since Jul 2012
Thanks: 1,829 given, 6,988 received


erdocdpb View Post
Thanks Kevindog, that's the only reason I am having trouble. I pulled up the symbol for the chart (@MES) instead of MESh22. Nice to have someone point out my brainless blunder. Working well now with 4 positive trades in a row.

Glad you got it working.

Just a note: Depending on your strategy, @MESH22 as data1 and MESH22 could give you different results. Did not know if you realized that...

Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Specify contract (instrument) in easylanguage code.


Last Updated on January 12, 2022


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2023 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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