Trading Articles
Article Categories
Article Tools
sample forex futures code - Easylanguage
Updated March 14, 2022
trending_up
3,570 views
thumb_up
2 thanks given
group
2 followers
forum
4 posts
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)
sample forex futures code - Easylanguage
(login for full post details)
#1 (permalink )
Durham, North Carolina
Experience: Beginner
Platform: TS
Trading: Futures
Posts: 11 since Mar 2022
Thanks: 8 given,
1
received
Hello,
Can someone share a sample code for Forex -futures strategy that includes stop loss/take profit?
This code is not working for forex futures; works for m2k though.
buy next bar 2 contracts at open;
Tried googling but no luck.
Thanks!
Can you help answer these questions from other members on futures io?
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
Seattle,Washington,USA
Posts: 3 since Nov 2011
Thanks: 0 given,
1
received
highjohn
Hello,
Can someone share a sample code for Forex -futures strategy that includes stop loss/take profit?
This code is not working for forex futures; works for m2k though.
buy next bar 2
contracts at open;
Tried googling but no luck.
Thanks!
Just change it a little - you have:
"buy next bar 2 contracts at open;"
Just need to switch it around a little.
Try the following:
buy("buy") 2 contracts next bar at open;
I used Tradestation many years ago - at the time - way too many problems with EasyLanguage and their Support - was poor. I switched over to MultiCharts - PowerLanguage - which was basically the same as EasyLanguage. MultiCharts has 2 versions - MultiCharts PowerLanguage and MultiCharts.NET C#.
Hope that works for you.
The following user says Thank You to Doob for this post:
(login for full post details)
#3 (permalink )
Posts: 3,464 since Jul 2012
Thanks: 1,827 given,
6,985
received
Doob
Just change it a little - you have:
"buy next bar 2
contracts at open;"
Just need to switch it around a little.
Try the following:
buy("buy") 2 contracts next bar at open;
I used Tradestation many years ago - at the time - way too many problems with
EasyLanguage and their Support - was poor. I switched over to
MultiCharts - PowerLanguage - which was basically the same as EasyLanguage. MultiCharts has 2 versions - MultiCharts PowerLanguage and
MultiCharts.NET C#.
Hope that works for you.
And you might have to enter number of contracts as forex lots - like 100000 contracts for 1 standard Forex lot.
The following user says Thank You to kevinkdog for this post:
(login for full post details)
#4 (permalink )
Durham, North Carolina
Experience: Beginner
Platform: TS
Trading: Futures
Posts: 11 since Mar 2022
Thanks: 8 given,
1
received
It didnt work....Will keep trying.
(login for full post details)
#5 (permalink )
Posts: 3,464 since Jul 2012
Thanks: 1,827 given,
6,985
received
highjohn
It didnt work....Will keep trying.
Can you be a little more specific?
For example, post the code (take out anything proprietary) and then paste any error messages, etc.
Last Updated on March 14, 2022
Ongoing