How to program an EMA fade entry strategy? - futures io
futures io



How to program an EMA fade entry strategy?


Discussion in EasyLanguage Programming

Updated
    1. trending_up 3,567 views
    2. thumb_up 1 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
 

How to program an EMA fade entry strategy?

(login for full post details)
  #1 (permalink)
ernmen
Fleming Island
 
 
Posts: 6 since Jul 2019
Thanks: 2 given, 0 received

EMA fade entry question:
Spent many hours this past week searching for EasyLanguage example on how to create an entry/fade off an EMA. Not a crossover entry, but rather limit order 1 tick above or below the EMA when price returns to the EMA from above or below.

I am trading futures and have limited programming experience.

Any help is truly appreciated in advance...

Thanks,

EM

Reply With Quote

Can you help answer these questions
from other members on futures io?
Big Mo Indicator for NT8
NinjaTrader
How do I create Strategy with the Second Entry indicator
NinjaTrader
Market on Close data within IB
Platforms and Indicators
help with take profit several targets
TradeStation
Multi Time Frame High/Low/Median levels
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
Want your NinjaTrader indicator created, free?
7 thanks
Artificial Intelligence (AI) and Chat GPT
7 thanks
Dax market profile (FDAX, TPO)
7 thanks
 
(login for full post details)
  #2 (permalink)
 kjhosken 
Seattle, WA/USA
 
Experience: Intermediate
Platform: TOS, TS
Trading: Forex, crude
 
Posts: 95 since Sep 2016
Thanks: 7 given, 35 received


ernmen View Post
EMA fade entry question:
Spent many hours this past week searching for EasyLanguage example on how to create an entry/fade off an EMA. Not a crossover entry, but rather limit order 1 tick above or below the EMA when price returns to the EMA from above or below.

I am trading futures and have limited programming experience.

Any help is truly appreciated in advance...

Thanks,

EM

Without more specifics I can't help more than saying define your entry price and use a buy limit order.
 
Code
input: length(20);
value1 = xaverage(close, length) + minmove * 1 points;
if marketposition <> 1 then buy n contracts next bar at value1 limit;

Follow me on Twitter Reply With Quote
The following user says Thank You to kjhosken for this post:
 
(login for full post details)
  #3 (permalink)
ernmen
Fleming Island
 
 
Posts: 6 since Jul 2019
Thanks: 2 given, 0 received



kjhosken View Post
Without more specifics I can't help more than saying define your entry price and use a buy limit order.
 
Code
input: length(20);
value1 = xaverage(close, length) + minmove * 1 points;
if marketposition <> 1 then buy n contracts next bar at value1 limit;

This is great - thanks!

Reply With Quote
 
(login for full post details)
  #4 (permalink)
James11
San Francisco CA USA
 
 
Posts: 6 since Jul 2020
Thanks: 1 given, 3 received


ernmen View Post
EMA fade entry question:
Spent many hours this past week searching for EasyLanguage example on how to create an entry/fade off an EMA. Not a crossover entry, but rather limit order 1 tick above or below the EMA when price returns to the EMA from above or below.

I am trading futures and have limited programming experience.

Any help is truly appreciated in advance...

Thanks,

EM

Are you on TS or MC?

Reply With Quote
 
(login for full post details)
  #5 (permalink)
ernmen
Fleming Island
 
 
Posts: 6 since Jul 2019
Thanks: 2 given, 0 received


kjhosken View Post
Without more specifics I can't help more than saying define your entry price and use a buy limit order.
 
Code
input: length(20);
value1 = xaverage(close, length) + minmove * 1 points;
if marketposition <> 1 then buy n contracts next bar at value1 limit;


James11 View Post
Are you on TS or MC?

I am using TS

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > How to program an EMA fade entry strategy?


Last Updated on February 20, 2021


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