AddLabel formula question - futures io
futures io futures trading



AddLabel formula question


Discussion in ThinkOrSwim

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

 
Search this Thread
 

AddLabel formula question

(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: 125 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:

Inputs:
LookBack(1),
AlertValue(200),
VOLSPD_Color(White),
ADSPD_Color(Blue),
TIKSP_Color(Yellow);

Variables:
Data2Ratio(0),
Data3Ratio(0),
Data4Ratio(0);

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?
Any Jim Dalton's June 2020 Intensive Graduates?
Emini and Emicro Index
Linear Regression Slope Indicator
TradeStation
GGP straightforward North?
Stocks and ETFs
Data Feed sharing possible between TS/IB and 3rd party apps?
Platforms and Indicators
Which broker that works with NT8 has a Debit Visa card?
Brokers
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Are sharks watching on the other side?
52 thanks
Sierra Chart ACSIL for Beginners.
27 thanks
Earn2Trade (Helios) - "The Gauntlet"
23 thanks
VWAP for stock index futures trading?
17 thanks
FIO Journal Challenge - June 2020 w/SharkIndicators
16 thanks
 
(login for full post details)
  #12 (permalink)
Dallas, TX
 
Experience: Intermediate
Platform: NT, TS
Broker: IB, Oanda
Trading: ES, MES, MNQ, MYM
 
kareem40's Avatar
 
Posts: 653 since May 2010
Thanks: 1,864 given, 870 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.

K

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


August 14, 2019


Upcoming Webinars and Events
 

Free BloodHound Licenses for everyone!

June
 

Every journal equals ten meals for the hungry

June
     



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