easy language code for moving average - Futures DAX - futures io
futures io futures trading



easy language code for moving average - Futures DAX


Discussion in EasyLanguage Programming

Updated by kevinkdog
    1. trending_up 2,656 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 4 replies
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,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
 

easy language code for moving average - Futures DAX

(login for full post details)
  #1 (permalink)
rome - italy
 
 
Posts: 12 since Oct 2014
Thanks: 0 given, 0 received

Is there someone that can help me to write an easy Language code to go long or short using moving averages ?

if close>average(close,10) buy next bar at market;
if close<average(close,10) sellshort next bar at market;

thank you

Reply With Quote

Can you help answer these questions
from other members on futures io?
Degiro Negative Balance Advice
Traders Hideout
QDEL
Stocks and ETFs
3x Fangdango
Traders Hideout
Macros for flatten and reverse
TradeStation
I have segregated my investment and trading
Psychology and Money Management
 
Best Threads (Most Thanked)
in the last 7 days on futures io
VWAP for stock index futures trading?
57 thanks
Price Action Kewltech Style
19 thanks
Coronavirus COVID-19
19 thanks
Trying to locate prop firm that purchased my automated trading system
11 thanks
Trading natural gas futures
9 thanks
 
(login for full post details)
  #2 (permalink)
Legendary Market Wizard
Cleveland Ohio/United States
 
Experience: Advanced
Platform: Tradestation
Broker: Tradestation, DeCarley, others
Trading: futures
 
Posts: 2,806 since Jul 2012
Thanks: 1,453 given, 5,418 received


Giox View Post
Is there someone that can help me to write an easy Language code to go long or short using moving averages ?

if close>average(close,10) buy next bar at market;
if close<average(close,10) sellshort next bar at market;

thank you

What you have should work. What exactly do you need?

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #3 (permalink)
rome - italy
 
 
Posts: 12 since Oct 2014
Thanks: 0 given, 0 received


Hi Kevindog,

What I'm looking to do is to write a code to go long or short ( at limit ) using the cros of moving averages and try this strategy for simulated DAX30 Futures at 10 min. time frame.

Reply With Quote
 
(login for full post details)
  #4 (permalink)
rome - italy
 
 
Posts: 12 since Oct 2014
Thanks: 0 given, 0 received



As you can see in the grapf, my idea is to write a code that can follow the change color of average line (dotted line) going long or short at limit, and set stop loss some ticks away from market entry.

Thank you

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Legendary Market Wizard
Cleveland Ohio/United States
 
Experience: Advanced
Platform: Tradestation
Broker: Tradestation, DeCarley, others
Trading: futures
 
Posts: 2,806 since Jul 2012
Thanks: 1,453 given, 5,418 received


Giox View Post
Hi Kevindog,

What I'm looking to do is to write a code to go long or short ( at limit ) using the cros of moving averages and try this strategy for simulated DAX30 Futures at 10 min. time frame.

if close crosses above average(close,10) buy next bar at XXXX limit;
if close crosses below average(close,10) sellshort next bar at XXXX limit;

where XXXX is your limit price you want to enter at.

Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > easy language code for moving average - Futures DAX


November 15, 2014


Upcoming Webinars and Events
 

An Afternoon With futures io member TropicalTrader

Elite only
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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