NexusFi: Find Your Edge


Home Menu

 





Specify contract (instrument) in easylanguage code.


Discussion in EasyLanguage Programming

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




 
Search this Thread

Specify contract (instrument) in easylanguage code.

  #1 (permalink)
erdocdpb
phoenix arizona
 
Posts: 6 since Apr 2015
Thanks Given: 0
Thanks Received: 0

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 NexusFi?
MC PL editor upgrade
MultiCharts
Better Renko Gaps
The Elite Circle
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
What broker to use for trading palladium futures
Commodities
 
  #2 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


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
  #3 (permalink)
erdocdpb
phoenix arizona
 
Posts: 6 since Apr 2015
Thanks Given: 0
Thanks Received: 0


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
  #4 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


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




Last Updated on January 12, 2022


© 2024 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 - Privacy Policy - Downloads - Top
no new posts