Opening Range Custom - EasyLanguage Programming | futures io social day trading
futures io futures trading


Opening Range Custom
Updated: Views / Replies:374 / 2
Created: by simon14 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
 

Opening Range Custom

  #1 (permalink)
Elite Member
TORONTO
 
Futures Experience: Advanced
Platform: multi charts
Favorite Futures: crude cl
 
simon14's Avatar
 
Posts: 13 since Sep 2016
Thanks: 7 given, 2 received

Opening Range Custom

So i have taken a couple diff systems and combined them, iam fairly new at EL and iam getting stuck atm trying to make the Open range midpoint the stop for the system any ideas what iam missing ?? It produces the entries but not the exits. In the future i want to make daily pivot extensions the targets but thats one day at a time here lol. I Have underlined the new code i added where the problems are most likely located. This is one of big mikes strategies iam changing to my method slowly while i learn EL.

thank you

Inputs:
startTime ( 8 ),
endTime ( 11 ),
startTradeTime ( 11 ),
stoploss ( 16 ),
target1 ( 32 ),
target2 ( 16 ),
target3 ( 72 ),
datramt ( 1 );

variables:
sessHi (0),
sessLo (0),
sessOp (0),
sessMid (0);

if date <> date[1] then begin
sessOp = Open;
sessLo = Low;
sessHi = High;
sessMid = (( high + low ) * 0.50 );

end;

if time < endTime * 100 then begin
if High > SessHi then SessHi = High;
if Low < SessLo then SessLo = Low;
end;

SetStopContract;

SetStopLoss( stoploss * BigPointValue );

// entries


if Close > SessHi then begin
Buy 3 Contracts Next Bar At Market;

end;
if Close < SessLo then begin
Sellshort 3 Contracts Next Bar At Market;
end;

// order management

if marketposition = 1 then begin

if currentbar < sessMid then sell 3 contracts next bar at open;

if marketposition = -1 then begin

if currentbar > sessMid then sell 3 contracts next bar at open;

end;

end;

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #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,466 since Apr 2013
Thanks: 224 given, 836 received


Hi simon14,

with the code below you check for a bar number being above/below a price as an exit condition. While the code will verify and eventually trigger signals, I doubt that this is what you intend to do.
 
Code
if currentbar < sessMid then sell 3 contracts next bar at open;

if currentbar > sessMid then sell 3 contracts next bar at open;
For your entries you check for "Close" being above/below a trigger price and this is what I'd suggest to test for your exits, too.

Regards,

ABCTG

Reply With Quote
The following 2 users say Thank You to ABCTG for this post:

Reply



futures io > > > > > Opening Range Custom

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

RandBots: AutoTrading Bots to diversify your trading

Oct 24
 

TopstepTrader: Profiting Without Risking Your Own Money

Oct 26

Building Open Source Indicators for NT8 w/Fat Tails @ Lizard Indicators

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Range with Fibs trendfriendpa ThinkOrSwim 0 June 5th, 2016 11:12 AM
Opening Range Low steve2222 Terms (Glossary) 0 February 6th, 2016 03:01 PM
Opening Range Top steve2222 Terms (Glossary) 0 February 6th, 2016 02:57 PM
Opening Range High steve2222 Terms (Glossary) 0 February 6th, 2016 02:57 PM
Opening Range steve2222 Terms (Glossary) 0 February 2nd, 2016 03:22 PM


All times are GMT -4. The time now is 07:52 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-10-23 in 0.07 seconds with 19 queries on phoenix via your IP 54.162.154.91