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)
AddLabel formula question
Updated August 15, 2019
Top Posters
looks_one
kareem40
with 4 posts (0 thanks)
looks_two
numberjuani
with 4 posts (5 thanks)
looks_3
byront
with 3 posts (1 thanks)
looks_4
AndrewQ
with 1 posts (2 thanks)
trending_up
3,004 views
thumb_up
8 thanks given
group
4 followers
forum
11 posts
attach_file
3 attachments
AddLabel formula question
August 14th, 2019, 05:08 PM
Brooklyn, NY
Posts: 6 since Apr 2019
Thanks Given: 3
Thanks Received: 6
I'm looking to add labels that act as alerts on my trading screen with the following criteria:
- Display numbers as ratios compared to previous bar
- Color (green or red) dependent on positive or negative value
I intend to use these market internals :
- SP Internals Volume: $VOLSPD > or < $VOLSPD previous 3m bar
- SP Internals Shares: $ADSPD > or < $ADSPD previous 3m bar
- SP Internals Ticks: $TIKSP > or < $TIKSP previous 3m bar
I'd also like to display a separate alert when all three cross a certain threshold (2x previous bar value).
Any help appreciated!
Example can be found here: youtube.com/watch?v=h9oXCuA4ffU
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
August 14th, 2019, 06:12 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
byront
I'm looking to add labels that act as alerts on my trading screen with the following criteria:
- Display numbers as ratios compared to previous bar
- Color (green or red) dependent on positive or negative value
I intend to use these
market internals :
- SP
Internals Volume: $VOLSPD > or < $VOLSPD previous 3m bar
- SP Internals Shares: $ADSPD > or < $ADSPD previous 3m bar
- SP Internals Ticks: $TIKSP > or < $TIKSP previous 3m bar
I'd also like to display a separate alert when all three cross a certain threshold (2x previous bar value).
Any help appreciated!
Example can be found here: youtube.com/watch?v=h9oXCuA4ffU
What platform do you want this for? That’s an easy coding job I can help out if it’s easylanguage
Sent using the NexusFi mobile app
August 14th, 2019, 06:18 PM
Dallas, TX
Legendary TradeTheBar
Experience: Intermediate
Platform: NT, TS
Broker: IB, Oanda
Trading: ES, MES, MNQ, MYM
Posts: 730 since May 2010
Thanks Given: 1,950
Thanks Received: 927
numberjuani
I think TOS , since its in the section. But it would be nice if you can please do one in NT8.
Thanks
K
August 14th, 2019, 06:23 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
kareem40
I think
TOS , since its in the section. But it would be nice if you can please do one in NT8.
Thanks
K
Lol sorry count me out then Easylanguage is only good for tradestation or multicharts .
Sent using the NexusFi mobile app
August 14th, 2019, 06:28 PM
Dallas, TX
Legendary TradeTheBar
Experience: Intermediate
Platform: NT, TS
Broker: IB, Oanda
Trading: ES, MES, MNQ, MYM
Posts: 730 since May 2010
Thanks Given: 1,950
Thanks Received: 927
numberjuani
Got one of those ( TS) as well! if you can and when you have time, please. Looks interesting.
Thanks,
K
August 14th, 2019, 06:31 PM
Dallas, TX
Legendary TradeTheBar
Experience: Intermediate
Platform: NT, TS
Broker: IB, Oanda
Trading: ES, MES, MNQ, MYM
Posts: 730 since May 2010
Thanks Given: 1,950
Thanks Received: 927
numberjuani
BTW, I have been to Agoura Hills recently. Nice area, very nice homes on the way there! My company HQ is there.
Thanks,
K
August 14th, 2019, 08:09 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
kareem40
BTW, I have been to Agoura Hills recently. Nice area, very nice homes on the way there! My company HQ is there.
Thanks,
K
Yeah I like it here love california. here's your indicator. So I made it so that each internal has a color and is plotted as a dot percent of the previous bar, or you can change that in the Lookback input, to say, 2 or x bars ago. you can also choose what level triggers the alert in terms of percentage. so its defaulting to two, which is 200 percent of the previous bar value, and for bearish flow, 50% of the previous bar value. if all 3 meet the alert, youll get an alert.
Attached Files
Elite Membership required to download: MARKET INTERNALS.ELD
Elite Membership required to download: Market Internals.tsw
August 14th, 2019, 08:14 PM
Seattle, WA
Experience: Beginner
Platform: Thinkorswim, NinjaTrader
Trading: Micros
Posts: 4 since Nov 2018
Thanks Given: 3
Thanks Received: 7
Let me know if this helps. Would work on 3min candles.
def Advancing = close("$ADSPD");
def AdvRatio = Advancing/Advancing[1];
AddLabel(yes, Round(AdvRatio) + " AdvRatio", if AdvRatio>=1 then Color.UPTICK else Color.DOWNTICK );
August 14th, 2019, 08:25 PM
Brooklyn, NY
Posts: 6 since Apr 2019
Thanks Given: 3
Thanks Received: 6
numberjuani
Yeah I like it here love california. here's your indicator. So I made it so that each internal has a color and is plotted as a dot percent of the previous bar, or you can change that in the Lookback input, to say, 2 or x bars ago. you can also choose what level triggers the alert in terms of percentage. so its defaulting to two, which is 200 percent of the previous bar value, and for
bearish flow, 50% of the previous bar value. if all 3 meet the alert, youll get an alert.
Seems like this is great - but yes, I need one for TOS . Would it be possible for you to post the code as a snippet so I can see your logic? Thanks
August 14th, 2019, 08:26 PM
Brooklyn, NY
Posts: 6 since Apr 2019
Thanks Given: 3
Thanks Received: 6
AndrewQ
Let me know if this helps. Would work on 3min candles.
def Advancing = close("$ADSPD");
def AdvRatio = Advancing/Advancing[1];
AddLabel(yes, Round(AdvRatio) + " AdvRatio", if AdvRatio>=1 then Color.
UPTICK else Color.
DOWNTICK );
Thanks, I'll check this out tomorrow on market open.
Last Updated on August 14, 2019