Coding help for my simple strategy in EL - futures io
futures io



Coding help for my simple strategy in EL


Discussion in EasyLanguage Programming

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




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

Coding help for my simple strategy in EL

(login for full post details)
  #1 (permalink)
Pitrader
Canada
 
 
Posts: 12 since Feb 2011
Thanks: 3 given, 0 received

I was wondering if someone could help me writing a strategy in EL. Itís fairly straightforward (no bells and whistles).
Basically what I need is this.

When I press Ctrl 0 a buy order will be placed 1 tick above the current bars high (the one that is currently unfolding) and place a stop 10 ticks down form that price.
When I press Ctrl 1 a buy order will be placed 1 tick above the high of the bar 1 bar ago and place a stop 10 ticks down form that price.
When I press Ctrl 2 a buy order will be placed 1 tick above the high of the bar 2 bars ago and place a stop 10 ticks down form that price.
When I press Ctrl 3 a buy order will be placed 1 tick above the high of the bar 3 bars ago and place a stop 10 ticks down form that price.

When I press Alt 0 a sell order will be placed 1 tick below the current bars low (the one that is currently unfolding) and place a stop 10 ticks up form that price.
When I press Alt 1 a sell order will be placed 1 tick below the low of the bar 1 bar ago and place a stop 10 ticks up form that price. Etc.

Any help would be appreciated.

Reply With Quote

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(302 thanks from 30 posts)
looks_twoSalao's Journalby Salao
(81 thanks from 13 posts)
looks_3Deeteeís DAX Trading Journal (time based)by Deetee
(50 thanks from 21 posts)
looks_4Learning to Profit - A journey in algorithms and optionsby Syntax
(38 thanks from 16 posts)
looks_5Maybe a little bit different journalby Malykubo
(17 thanks from 18 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Crude Dude Oil Trading System
122 thanks
Big Mike in Ecuador
60 thanks
Help improve the FIO community
38 thanks
Next New Poll Ideas/Suggestions
20 thanks
www.isystems.com
16 thanks
 
(login for full post details)
  #3 (permalink)
 manualtrader 
California
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
 
Posts: 71 since Dec 2011
Thanks: 253 given, 84 received


This is what I like to have too, Buy one tick above previous bar High, and Sell one tick below previous bar Low. There are third party for NT, but I could not find one for Multicharts or Tradestation.

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Coding help for my simple strategy in EL


Last Updated on October 29, 2018


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1,800 in prizes!

April

An Introduction to CME Group Micro Bitcoin Futures w/David Lerman

Elite only
     



Copyright © 2021 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