trying to code ORB tradestation - EasyLanguage Programming | futures io social day trading
futures io futures trading


trying to code ORB tradestation
Updated: Views / Replies:765 / 3
Created: by w4rri0r 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 100,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
 

trying to code ORB tradestation

  #1 (permalink)
Trading Apprentice
world's citizen
 
Futures Experience: Master
Platform: Tradestation, Sierra
Broker/Data: many
Favorite Futures: NQ, CL, METALS, FDAX, FDXM, NK, E7, J7, BP, BTC, XBT ,
 
Posts: 45 since Oct 2015
Thanks: 10 given, 6 received

trying to code ORB tradestation

Hi,
can someone help me with a simple code? I've tried but it's really not my work......can't figure out how it work....
I'm trying to code a simple breakout strategy:
> buy long (limit) if price goes above 1rst minute candle + 0.01 cent
> put a stop at 1rst minute low - 0.01 cent
> position = distance from 1rst minute high and low / $fixed dollar amount

then i will try to code some better money management rules, like trailing stop or move stop at breakeven > taking profits (scaling out etc etc)

Please, someone can point me in the right direction?

thanks!

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)
Elite Member
Philadelphia, PA
 
Futures Experience: Intermediate
Platform: Matlab, TradeStation
Favorite Futures: Stocks
 
GoldenRatio's Avatar
 
Posts: 190 since Aug 2012
Thanks: 4,721 given, 242 received



w4rri0r View Post
Hi,
can someone help me with a simple code? I've tried but it's really not my work......can't figure out how it work....
I'm trying to code a simple breakout strategy:
> buy long (limit) if price goes above 1rst minute candle + 0.01 cent
> put a stop at 1rst minute low - 0.01 cent
> position = distance from 1rst minute high and low / $fixed dollar amount

then i will try to code some better money management rules, like trailing stop or move stop at breakeven > taking profits (scaling out etc etc)

Please, someone can point me in the right direction?

thanks!

@w4rri0r You will have better success if you post your sample code so that others can review it and point out any issues.


Last edited by GoldenRatio; November 13th, 2016 at 07:16 AM. Reason: typo
Reply With Quote
 
  #4 (permalink)
Trading Apprentice
world's citizen
 
Futures Experience: Master
Platform: Tradestation, Sierra
Broker/Data: many
Favorite Futures: NQ, CL, METALS, FDAX, FDXM, NK, E7, J7, BP, BTC, XBT ,
 
Posts: 45 since Oct 2015
Thanks: 10 given, 6 received


GoldenRatio View Post
@w4rri0r You will have better success if you post your sample code so that others can review it and point out an issues.

Hi @Golden,

i need to insert some money management in this code:
 
Code
var: 
    FirstBarHi( 0 ), 
    FirstBarLo( 0 ); 
 
If CurrentSession(0) <> CurrentSession(0)[1] then begin         
FirstBarHi = High; 
FirstBarLo = Low;    
end; 
 
if Time > 0930 and Time <= 0935 then begin  // allow five min. after the open to break below or above the first min. bar of the day 
Buy next bar at  FirstBarHi + .01 stop; 
Sell short next bar at FirstBarLo - .01 stop; 
end; 
 
Sell next bar at FirstBarLo - .01 stop; 
BuyToCover next bar at FirstBarHi + .01 stop; 
  
setexitonclose;
1) what i'd like to code is a position size like --> distance from low to high (in points) / fixed dollar amount
2) take profit after x conditions (like a % move in the right direction or increase in volatility) and move stop to breakeven
3) move stop to breakeven after x conditions (time etc etc)

Reply With Quote

Reply



futures io > > > > > trying to code ORB tradestation

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

September Journal Challenge (sponsored by TopstepTrader)

September

Free Elite Membership: Twitter Tuesday and Facebook Friday!

Tue & Fri

TopstepTrader (TBD)

Sep 25

RandBots (TBD)

Sep 27

Anthony Drager (TBD)

Oct 4
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
code conversion tradestation to ninjascript D2miadan NinjaTrader 3 March 7th, 2016 06:21 AM
TradeStation EasyLanguage RadarScreen Indicator Code kitewind TradeStation 3 May 23rd, 2014 05:59 AM
Multi time frame code for TradeStation SamYeotl The Elite Circle 2 May 1st, 2014 09:32 AM
Help, Tradestation code cannot compile in MC mwkl2011 EasyLanguage Programming 7 July 20th, 2012 01:30 PM
Code a T3 indicator for TradeStation daveste99 EasyLanguage Programming 5 September 14th, 2010 02:09 PM


All times are GMT -4. The time now is 12:19 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 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 2018-09-23 in 0.10 seconds with 14 queries on phoenix