sample forex futures code - Easylanguage - futures io
futures io



sample forex futures code - Easylanguage


Discussion in EasyLanguage Programming

Updated
    1. trending_up 3,570 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 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
 

sample forex futures code - Easylanguage

(login for full post details)
  #1 (permalink)
 highjohn 
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!

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
How do I create Strategy with the Second Entry indicator
NinjaTrader
Market on Close data within IB
Platforms and Indicators
NT8 Order Management Strategy
The Elite Circle
Multi Time Frame High/Low/Median levels
NinjaTrader
Big Mo Indicator for NT8
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Is anyone actually making money?
123 thanks
ApexTraderFunding.com experience and review
11 thanks
Artificial Intelligence (AI) and Chat GPT
7 thanks
Dax market profile (FDAX, TPO)
7 thanks
Want your NinjaTrader indicator created, free?
7 thanks
 
(login for full post details)
  #2 (permalink)
Doob
Seattle,Washington,USA
 
 
Posts: 3 since Nov 2011
Thanks: 0 given, 1 received


highjohn View Post
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.

Reply With Quote
The following user says Thank You to Doob for this post:
 
(login for full post details)
  #3 (permalink)
 kevinkdog   is a Vendor
 
 
Posts: 3,464 since Jul 2012
Thanks: 1,827 given, 6,985 received



Doob View Post
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.

Follow me on Twitter Reply With Quote
The following user says Thank You to kevinkdog for this post:
 
(login for full post details)
  #4 (permalink)
 highjohn 
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.

Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
 kevinkdog   is a Vendor
 
 
Posts: 3,464 since Jul 2012
Thanks: 1,827 given, 6,985 received


highjohn View Post
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.

Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > sample forex futures code - Easylanguage


Last Updated on March 14, 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