ORB Thinkorswim code for TradeStation 10 - futures io
futures io futures trading



ORB Thinkorswim code for TradeStation 10


Discussion in Traders Hideout

Updated by numberjuani
      Top Posters
    1. looks_one lrc11239 with 19 posts (0 thanks)
    2. looks_two numberjuani with 16 posts (2 thanks)
    3. looks_3 mistershake with 2 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 1,666 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 37 replies
    2. attach_file 4 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,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
 

ORB Thinkorswim code for TradeStation 10

(login for full post details)
  #11 (permalink)
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
 
numberjuani's Avatar
 
Posts: 127 since Apr 2019
Thanks: 9 given, 94 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

Reply With Quote

Can you help answer these questions
from other members on futures io?
TraderSync Experience?
Trading Reviews and Vendors
T​​​​​​radestation datafeed (real time and historical) to NT8
NinjaTrader
Stacked Imbalances.
Sierra Chart
Where is the link to download GomiRecorder?
NinjaTrader
DLL with webrequest function for MC
MultiCharts
 
 
(login for full post details)
  #12 (permalink)
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
 
numberjuani's Avatar
 
Posts: 127 since Apr 2019
Thanks: 9 given, 94 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

Reply With Quote
 
(login for full post details)
  #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
 
(login for full post details)
  #14 (permalink)
Brooklyn NY USA
 
 
Posts: 27 since Jul 2019
Thanks: 2 given, 0 received

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
 
(login for full post details)
  #15 (permalink)
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
 
numberjuani's Avatar
 
Posts: 127 since Apr 2019
Thanks: 9 given, 94 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

Reply With Quote
 
(login for full post details)
  #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
 
(login for full post details)
  #17 (permalink)
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
 
numberjuani's Avatar
 
Posts: 127 since Apr 2019
Thanks: 9 given, 94 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;

Reply With Quote
 
(login for full post details)
  #18 (permalink)
Brooklyn NY USA
 
 
Posts: 27 since Jul 2019
Thanks: 2 given, 0 received

Thank you!!! They work perfectly!!!

Reply With Quote
 
(login for full post details)
  #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
 
(login for full post details)
  #20 (permalink)
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
 
numberjuani's Avatar
 
Posts: 127 since Apr 2019
Thanks: 9 given, 94 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

Reply With Quote


futures io Trading Community Traders Hideout > ORB Thinkorswim code for TradeStation 10


October 14, 2019


Upcoming Webinars and Events
 

Dealing with burnout w/Linda Bradford Raschke

Elite only
     



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