Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Updated November 6, 2023
Top Posters
looks_one
lrc11239
with 19 posts (0 thanks)
looks_two
numberjuani
with 17 posts (2 thanks)
looks_3
ilalovely
with 7 posts (1 thanks)
looks_4
kevinkdog
with 5 posts (0 thanks)
trending_up
13,693 views
thumb_up
3 thanks given
group
7 followers
forum
53 posts
attach_file
7 attachments
August 31st, 2019, 12:03 PM
Agoura Hills, CA USA
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102
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 NexusFi mobile app
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
August 31st, 2019, 12:04 PM
Agoura Hills, CA USA
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102
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 NexusFi mobile app
August 31st, 2019, 01:05 PM
Brooklyn NY USA
Posts: 27 since Jul 2019
Thanks Given: 2
Thanks Received: 0
numberjuani
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
NexusFi mobile app
Ok thanks. I’ll check it later tonight. Enjoy your weekend!!!
Sent using the NexusFi mobile app
September 1st, 2019, 10:57 PM
Brooklyn NY USA
Posts: 27 since Jul 2019
Thanks Given: 2
Thanks Received: 0
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....
September 2nd, 2019, 10:29 PM
Agoura Hills, CA USA
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102
lrc11239
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 NexusFi mobile app
September 3rd, 2019, 02:18 PM
Brooklyn NY USA
Posts: 27 since Jul 2019
Thanks Given: 2
Thanks Received: 0
Thanks as always!
Sent using the NexusFi mobile app
September 4th, 2019, 01:05 PM
Agoura Hills, CA USA
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102
lrc11239
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;
September 4th, 2019, 01:24 PM
Brooklyn NY USA
Posts: 27 since Jul 2019
Thanks Given: 2
Thanks Received: 0
Thank you!!! They work perfectly!!!
September 9th, 2019, 02:49 PM
Brooklyn NY USA
Posts: 27 since Jul 2019
Thanks Given: 2
Thanks Received: 0
lrc11239
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 NexusFi mobile app
September 9th, 2019, 10:55 PM
Agoura Hills, CA USA
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102
Ok so let me get this straight you just want the plot to cut out after x number or bars basically?
Sent using the NexusFi mobile app
Last Updated on November 6, 2023