ORB Thinkorswim code for TradeStation 10 - Traders Hideout | futures io social day trading
futures io futures trading


ORB Thinkorswim code for TradeStation 10
Updated: Views / Replies:455 / 33
Created: by lrc11239 Attachments:4

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
 4  
 
Thread Tools Search this Thread
 

ORB Thinkorswim code for TradeStation 10

  #11 (permalink)
Agoura Hills, CA USA
 
Trading Experience: Intermediate
Platform: Tradestation
Broker/Data: TradeStation
Favorite Futures: Futures & Equities
 
numberjuani's Avatar
 
Posts: 48 since Apr 2019
Thanks: 3 given, 25 received

Inputs:
SessionStart(630),
RangeDurationBars(1),
Targets(10);


Variables:
FirstBar(0),
LastBar(0),
Period(0),
BreakoutTop(0),
BreakoutBottom(0);


if time = SessionStart then begin
LastBar = BarNumber[1];
Period = LastBar - FirstBar;
FirstBar = CurrentBar;
Print(Period);
end;

If BarNumber = FirstBar + (RangeDurationBars -1) then begin
BreakoutTop = Highest(H, CurrentBar - FirstBar + 1);
Breakoutbottom = Lowest(L, CurrentBar - FirstBar + 1);
end;


Plot1(BreakoutTop, "OpeningRangeTop");
Plot2(Breakoutbottom, "OpeningRangeBottom");
Plot3(BreakoutTop + Targets, ďTargetLĒ);
Plot4(BreakoutBottom -Targets, ďTargetSĒ);


If CurrentBar = FirstBar + Period or CurrentBar = (FirstBar + (RangeDurationBars -1 )) or FirstBar = CurrentBar then begin
SetPlotColor(1, Transparent);
SetPlotColor(2, Transparent);
SetPlotColor(3, Transparent);
SetPlotColor(4, Transparent);

end;






Sent using the futures.io mobile app

Follow me on Twitter Reply With Quote
 
  #12 (permalink)
Agoura Hills, CA USA
 
Trading Experience: Intermediate
Platform: Tradestation
Broker/Data: TradeStation
Favorite Futures: Futures & Equities
 
numberjuani's Avatar
 
Posts: 48 since Apr 2019
Thanks: 3 given, 25 received

Let me know if it works Iím in a plane and donít have access to TS So Iím not sure itíll verify but it should


Sent using the futures.io mobile app

Follow me on Twitter Reply With Quote
 
  #13 (permalink)
Brooklyn NY USA
 
 
Posts: 27 since Jul 2019
Thanks: 2 given, 0 received



numberjuani View Post
Let me know if it works Iím in a plane and donít have access to TS So Iím not sure itíll verify but it should


Sent using the futures.io mobile app



Ok thanks. Iíll check it later tonight. Enjoy your weekend!!!


Sent using the futures.io mobile app

Reply With Quote
 
  #14 (permalink)
Brooklyn NY USA
 
 
Posts: 27 since Jul 2019
Thanks: 2 given, 0 received

ORB with targets

it came back with these 2 errors:

Plot name expected Here - Line 30 Error (#30194)
This plot has never been assigned a value - Line 31 Error (#30296)




Thanks....

Reply With Quote
 
  #15 (permalink)
Agoura Hills, CA USA
 
Trading Experience: Intermediate
Platform: Tradestation
Broker/Data: TradeStation
Favorite Futures: Futures & Equities
 
numberjuani's Avatar
 
Posts: 48 since Apr 2019
Thanks: 3 given, 25 received


lrc11239 View Post
it came back with these 2 errors:



Plot name expected Here - Line 30 Error (#30194)

This plot has never been assigned a value - Line 31 Error (#30296)









Thanks....



Ok Iíll fix it when Iím back Iíll post it here


Sent using the futures.io mobile app

Follow me on Twitter Reply With Quote
 
  #16 (permalink)
Brooklyn NY USA
 
 
Posts: 27 since Jul 2019
Thanks: 2 given, 0 received

Thanks as always!


Sent using the futures.io mobile app

Reply With Quote
 
  #17 (permalink)
Agoura Hills, CA USA
 
Trading Experience: Intermediate
Platform: Tradestation
Broker/Data: TradeStation
Favorite Futures: Futures & Equities
 
numberjuani's Avatar
 
Posts: 48 since Apr 2019
Thanks: 3 given, 25 received


lrc11239 View Post
Thanks as always!


Sent using the futures.io mobile app

Inputs:
SessionStart(630),
RangeDurationBars(1),
Targets(10);


Variables:
FirstBar(0),
LastBar(0),
Period(0),
BreakoutTop(0),
BreakoutBottom(0);


if time = SessionStart then begin
LastBar = BarNumber[1];
Period = LastBar - FirstBar;
FirstBar = CurrentBar;
Print(Period);
end;

If BarNumber = FirstBar + (RangeDurationBars -1) then begin
BreakoutTop = Highest(H, CurrentBar - FirstBar + 1);
Breakoutbottom = Lowest(L, CurrentBar - FirstBar + 1);
end;


Plot1(BreakoutTop, "OpeningRangeTop");
Plot2(Breakoutbottom, "OpeningRangeBottom");
Plot3(BreakoutTop + Targets, "LE_Target");
Plot4(Breakoutbottom - Targets, "SE_Target");

If CurrentBar = FirstBar + Period or CurrentBar = (FirstBar + (RangeDurationBars -1 )) or FirstBar = CurrentBar then begin
SetPlotColor(1, Transparent);
SetPlotColor(2, Transparent);
SetPlotColor(3, Transparent);
SetPlotColor(4, Transparent);
end;
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Follow me on Twitter Reply With Quote
 
  #18 (permalink)
Brooklyn NY USA
 
 
Posts: 27 since Jul 2019
Thanks: 2 given, 0 received

ORB Targets

Thank you!!! They work perfectly!!!

Reply With Quote
 
  #19 (permalink)
Brooklyn NY USA
 
 
Posts: 27 since Jul 2019
Thanks: 2 given, 0 received


lrc11239 View Post
Thank you!!! They work perfectly!!!



Hello.
One more request for you. After the opening range is calculated can the lines be extended forward about 25 bars or an hour instead of as the bars are formed.
I really appreciate all your help.


Sent using the futures.io mobile app

Reply With Quote
 
  #20 (permalink)
Agoura Hills, CA USA
 
Trading Experience: Intermediate
Platform: Tradestation
Broker/Data: TradeStation
Favorite Futures: Futures & Equities
 
numberjuani's Avatar
 
Posts: 48 since Apr 2019
Thanks: 3 given, 25 received


Ok so let me get this straight you just want the plot to cut out after x number or bars basically?


Sent using the futures.io mobile app

Follow me on Twitter Reply With Quote

Reply



futures io > > > ORB Thinkorswim code for TradeStation 10

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
 

Show us your trading desks and win over $5,000 in prizes w/Jigsaw Trading

September
 

The Spirituality of Trading w/Dr Brett Steenbarger

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to code ORB tradestation w4rri0r EasyLanguage Programming 3 November 13th, 2016 06:43 AM
Need to code MQL indicator from ThinkorSwim Code bearman99 MetaQuotes MetaTrader MQL Programming 2 June 17th, 2015 11:51 AM
ORB Scanner /w TTMs and SlowStoch clawingup ThinkOrSwim Programming 4 July 2nd, 2014 11:05 AM
Strategy Coding - help needed - ORB & Trailing conditions RodS The Elite Circle 24 December 8th, 2010 08:30 AM
ORB Blz17 Traders Hideout 1 December 10th, 2009 10:10 PM


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

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