AddLabel formula question - futures io
futures io futures trading

AddLabel formula question

Discussion in ThinkOrSwim

Updated by kareem40
      Top Posters
    1. looks_one numberjuani with 4 posts (5 thanks)
    2. looks_two kareem40 with 4 posts (0 thanks)
    3. looks_3 byront with 3 posts (1 thanks)
    4. looks_4 AndrewQ with 1 posts (2 thanks)
    1. trending_up 598 views
    2. thumb_up 8 thanks given
    3. group 5 followers
    1. forum 11 replies
    2. attach_file 3 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)

Thread Tools Search this Thread

AddLabel formula question

  #11 (permalink)
Agoura Hills, CA USA
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
numberjuani's Avatar
Posts: 123 since Apr 2019
Thanks: 9 given, 94 received

byront View Post
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

Heres the code:



Data2Ratio = 100*(C/C[LookBack]) data2;
Data3Ratio = 100*(C/C[LookBack]) data3;
Data4Ratio = 100*(C/C[LookBack]) data4;

Plot1(Data2Ratio, "$VOLSPD Ratio", VOLSPD_Color);
Plot2(Data3Ratio, "$ADSPD Ratio", ADSPD_Color);
Plot3(Data4Ratio, "$TIKSP Ratio", TIKSP_Color);
Plot4(100, "Balance Line", White);
Plot5(AlertValue, " Bullish Area", Green);
Plot6((100/AlertValue)*100, "Bearish Area", Red);

If Data2Ratio > AlertValue and Data3Ratio > AlertValue and Data4Ratio > AlertValue then
Alert("Bullish Flow");

If Data2Ratio < (100/AlertValue) and Data3Ratio < (100/AlertValue) and Data4Ratio < (100/AlertValue) then
Alert("Bearish Flow");

Reply With Quote
The following 2 users say Thank You to numberjuani for this post:

Can you help answer these questions
from other members on futures io?
Convert NinjaTrader NT7 indicator to Tradestation EasyLanguage and RADARSCREEN
Platforms and Indicators
Issue meeting order entry conditions
Elite Automated NinjaTrader Trading
Last 5 minutes Label
Moving average with Lag reduction
  #12 (permalink)
Legendary Market Wizard
Dallas, TX
Experience: Intermediate
Platform: NT, TS
Broker: IB, Oanda
Trading: ES, MES, MNQ, MYM
kareem40's Avatar
Posts: 652 since May 2010
Thanks: 1,863 given, 868 received

numberjuani View Post
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.

Wow, that was very fast. Nice work. I will try it out tomorrow and thank you very much.


Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote

futures io Trading Community Platforms and Indicators ThinkOrSwim > AddLabel formula question

Upcoming Webinars and Events

Free BloodHound Licenses to everyone!


Every journal equals ten meals for the hungry


Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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