Inside Bar order entry - futures io
futures io futures trading



Inside Bar order entry


Discussion in EasyLanguage Programming

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

Inside Bar order entry

(login for full post details)
  #1 (permalink)
New Orleans
 
 
Posts: 3 since Apr 2012
Thanks: 1 given, 0 received

Hi all, I have just recently started to get interested in automating my strategy, as sometimes its impossible to manually input 10+ order entries when a new bar begins and then manage them. I always write down stocks that meet my criteria throughout the day, and after manually backtesting every day for the past month has always turned a profit, so I am excited about potentially getting it automated. I dont have any prior programming experience so I thought Easylanguage would be a good starting point.

Anyways, im trying to write basic strategies to get more comfortable, and what I am currently trying to do is buy/short after an inside bar. I want to buy at the high of the inside bar + .01 as long as it hasnt traded below the low of the inside bar.

After researching i can only find code similar to:

Buy ("l1") 100 shares next bar at H of data1 + 0.01 stop;

but this doesnt have any criteria that the long position will only be initiated as long as it hasnt traded below the low of the inside bar. Can anyone point me in the right direction?

Reply With Quote

Can you help answer these questions
from other members on futures io?
Work with historical tcks data on MUltichart NET PowerLa …
MultiCharts
Reading A set of Trading Signals
EasyLanguage Programming
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Selling Options on Futures?
109 thanks
Battlestations: Show us your trading desks!
104 thanks
Rank your Futures vs Stocks trading priority
54 thanks
Want your NinjaTrader indicator created, free?
26 thanks
Whats this confusion with margins?
23 thanks
 
(login for full post details)
  #3 (permalink)
London
 
 
Posts: 118 since Mar 2010
Thanks: 42 given, 58 received



chris2980 View Post
Hi all, I have just recently started to get interested in automating my strategy, as sometimes its impossible to manually input 10+ order entries when a new bar begins and then manage them. I always write down stocks that meet my criteria throughout the day, and after manually backtesting every day for the past month has always turned a profit, so I am excited about potentially getting it automated. I dont have any prior programming experience so I thought Easylanguage would be a good starting point.

Anyways, im trying to write basic strategies to get more comfortable, and what I am currently trying to do is buy/short after an inside bar. I want to buy at the high of the inside bar + .01 as long as it hasnt traded below the low of the inside bar.

After researching i can only find code similar to:

Buy ("l1") 100 shares next bar at H of data1 + 0.01 stop;

but this doesnt have any criteria that the long position will only be initiated as long as it hasnt traded below the low of the inside bar. Can anyone point me in the right direction?

you will need a couple of conditional statements to get you on the right track

eg.

 
Code
if low > low[1] and close > high[1] then
BUY...

Reply With Quote
 
(login for full post details)
  #4 (permalink)
New Orleans
 
 
Posts: 3 since Apr 2012
Thanks: 1 given, 0 received

thank you, that makes sense. i was using if h>h[1] then buy by mistake.

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Inside Bar order entry


Last Updated on September 25, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



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