EasyLanguage entry in active bar on previous bar's low - EasyLanguage Programming | futures io social day trading
futures io futures trading


EasyLanguage entry in active bar on previous bar's low
Updated: Views / Replies:3,029 / 3
Created: by tolu7325 Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

EasyLanguage entry in active bar on previous bar's low

  #1 (permalink)
Trading Apprentice
Brno Czech Republic
 
Futures Experience: Intermediate
Platform: TradeStation
Favorite Futures: Futures
 
Posts: 2 since Jul 2013
Thanks: 0 given, 0 received

EasyLanguage entry in active bar on previous bar's low

Hello guys I'd like to ask you to help me with following issue:

I'm trying to code an entry (daily timeframe) which will be generated during active bar/day at yesterday's price (high or low). The problem probably is, that the signal is valid AFTER new day's opening - I have IntraBarOrderGeneration=TRUE setting, however it doesn't help... see why:

This is what I have:

IntraBarOrderGeneration=TRUE;
Buy ( "long" ) this bar at low[1] stop; {<- I want to have BUY STOP order placed right after OPEN on previous bar's LOW, the OPEN is lower that previous LOW}

Unfortunately it return's error: 'Stop and limit orders can only be placed for the next bar' <-but I want to enter in active bar, not next one.

Please help me guys, it will be really appreciated!
Thank you

Reply With Quote
 
  #2 (permalink)
Elite Member
copenhagen, denmark
 
Futures Experience: Intermediate
Platform: multicharts, Ninja
Broker/Data: IB & Kinetick
Favorite Futures: ES
 
mengelbrecht's Avatar
 
Posts: 47 since Aug 2010
Thanks: 16 given, 21 received


tolu7325 View Post
Hello guys I'd like to ask you to help me with following issue:

I'm trying to code an entry (daily timeframe) which will be generated during active bar/day at yesterday's price (high or low). The problem probably is, that the signal is valid AFTER new day's opening - I have IntraBarOrderGeneration=TRUE setting, however it doesn't help... see why:

This is what I have:

IntraBarOrderGeneration=TRUE;
Buy ( "long" ) this bar at low[1] stop; {<- I want to have BUY STOP order placed right after OPEN on previous bar's LOW, the OPEN is lower that previous LOW}

Unfortunately it return's error: 'Stop and limit orders can only be placed for the next bar' <-but I want to enter in active bar, not next one.

Please help me guys, it will be really appreciated!
Thank you


Hi
Have a look at this coding example from big mike

https://futures.io/easylanguage-programming/11753-coding-simple-entry-exit.html

Big Mike is using a "limitprice" which is defined as lowest(low, 10) meaning the lowest of the previous 10 bars, replace 10 with 1 and you have the low of the previous bar

hope this helps

rgds
mengelbrecht

Reply With Quote
 
  #3 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary


Hi tolu7325,

with intrabar order generation "next bar" will be the next tick, so you can use this.

Regards,
ABCTG



tolu7325 View Post
Hello guys I'd like to ask you to help me with following issue:

I'm trying to code an entry (daily timeframe) which will be generated during active bar/day at yesterday's price (high or low). The problem probably is, that the signal is valid AFTER new day's opening - I have IntraBarOrderGeneration=TRUE setting, however it doesn't help... see why:

This is what I have:

IntraBarOrderGeneration=TRUE;
Buy ( "long" ) this bar at low[1] stop; {<- I want to have BUY STOP order placed right after OPEN on previous bar's LOW, the OPEN is lower that previous LOW}

Unfortunately it return's error: 'Stop and limit orders can only be placed for the next bar' <-but I want to enter in active bar, not next one.

Please help me guys, it will be really appreciated!
Thank you


Reply With Quote
 
  #4 (permalink)
Trading Apprentice
Brno Czech Republic
 
Futures Experience: Intermediate
Platform: TradeStation
Favorite Futures: Futures
 
Posts: 2 since Jul 2013
Thanks: 0 given, 0 received

Conclusion

Hello guys,

Thanks a lot for our tips!
Here is what works:

[IntrabarOrderGeneration = true]
if Open < low[1] then
Buy ( "Ops" ) next bar at low[1] stop;

Reply With Quote

Reply



futures io > > > > > EasyLanguage entry in active bar on previous bar's low

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Entry stop order stays active? EasyLanguage alexfdv Open E Cry 6 January 16th, 2013 05:21 PM
Use mouseclick on a bar to get the high and low of that bar KhaosTrader EasyLanguage Programming 4 October 26th, 2012 03:44 PM
How to step forward bar by bar (F12) with full bar not half bar? mercyman MetaTrader 1 October 23rd, 2012 05:49 PM
Previous Hour High and Low times in easylanguage onava TradeStation 3 April 26th, 2012 02:02 PM
3 bar high/low entry maintain active order until 3 bar high/low in opposite direction mrticks NinjaTrader Programming 8 November 13th, 2009 08:44 PM


All times are GMT -4. The time now is 09:12 AM.

Copyright © 2017 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
Page generated 2017-12-16 in 0.09 seconds with 19 queries on phoenix via your IP 54.83.122.227