NexusFi: Find Your Edge


Home Menu

 





Specify contract (instrument) in easylanguage code.


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Election Sunday Resolves: Peru Heads to Runoff at 42pct, …
Prediction Markets & Event Contracts
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 thanks
  #2 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,737 since Jul 2012
Thanks Given: 1,917
Thanks Received: 7,476


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 X 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,737 since Jul 2012
Thanks Given: 1,917
Thanks Received: 7,476


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 X Reply With Quote




Last Updated on January 12, 2022


© 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