RSI_POINTS for thinkorswim - futures io
futures io futures trading

RSI_POINTS for thinkorswim

Discussion in ThinkOrSwim

Updated by tarigal
      Top Posters
    1. looks_one alagrande with 1 posts (2 thanks)
    2. looks_two dayfun with 1 posts (0 thanks)
    3. looks_3 diazlaz with 1 posts (0 thanks)
    4. looks_4 tarigal with 1 posts (0 thanks)
    1. trending_up 677 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 3 replies
    2. attach_file 0 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

RSI_POINTS for thinkorswim

(login for full post details)
  #1 (permalink)
glendale ca usa
Posts: 94 since Sep 2017
Thanks: 11 given, 74 received

declare lower;
input length = 44;#24
input length2 = 18;#8
input over_Bought = 70;
input over_Sold = 30;
input price = close;
input averageType = AverageType.WILDERS;
input showBreakoutSignals = no;

def NetChgAvg = MovingAverage(averageType, price - price[1], length);
def TotChgAvg = MovingAverage(averageType, AbsValue(price - price[1]), length);
def ChgRatio = if TotChgAvg != 0 then NetChgAvg / TotChgAvg else 0;

plot RSI = 100 * (ChgRatio + .5);
##plot OverSold = over_Sold;
##plot OverBought = over_Bought;

plot avg = wildersAverage(RSI, length2);
addcloud(rsi, avg,,;
addcloud(rsi, avg,,;

###plot line50 = 50;
###line50.setStyle (curve.long_DASH);
RSI.DefineColor("OverBought", GetColor(1));
RSI.DefineColor("Normal", GetColor(7));
RSI.AssignValueColor(if RSI > over_Bought then RSI.color("OverBought") else if RSI < over_Sold then RSI.color("OverSold") else RSI.color("Normal"));

input RSI_length2 = 14;
input RSI2_length = 14;
#input over_bought = 80;
#input over_sold = 20;

input RSI_average_type = AverageType.WILDERS;
input RSI_price = close;
input KPeriod = 44;#14
input DPeriod = 3;
input slowing_period = 1;
#input averageType = AverageType.SIMPLE;
#input showBreakoutSignals = {default "No", "On FullK", "On FullD", "On FullK & FullD"};

def RSI2 = RSI(price = RSI_price, length = RSI_length2, averageType = RSI_average_type);
def avg1 = wildersAverage(rsi, RSI2_length );

def FullK = StochasticFull(over_bought, over_sold, KPeriod, DPeriod, RSI, RSI, RSI, slowing_period, averageType).FullK;
plot FullD = StochasticFull(over_bought, over_sold, KPeriod, DPeriod, RSI, RSI, RSI, slowing_period, averageType).FullD;

plot UpSignal_ = if FullD> FullD[1] AND FullD > 70 then FullD else Double.NaN;
plot DownSignal_ = if FullD< FullD[1] AND FullD < 30 then FullD else Double.NaN;


plot UpSignal2_ = if FullD>75 then FullD else Double.NaN;
plot DownSignal2_ = if FullD<25 then FullD else Double.NaN;

input lengthR = 50;
input lengthp2 = 8;
input lengthp3 = 5;
#input over_Sold = 20;
#input over_Bought = 80;

def highest = Highest(high, lengthR);
def divisor = highest - Lowest(low, lengthR);

DEF "%R" = 1* if divisor equals 0 then 0 else 100 - 100 * (highest - close) / divisor;

plot line50 = 50;
line50.setStyle (curve.MEDIUM_DASH);
line50.AssignValueColor(if "%R" > over_Bought then color.CYAN else if "%R" < over_Sold then else color.gray);
###ADDCLOUD(line50, slowRSI,,;
plot OverSold = over_Sold;
OverSold.AssignValueColor(if "%R" > over_Bought then color.CYAN else if "%R" < over_Sold then else color.gray);

plot OverBought = over_Bought;
OverBought.AssignValueColor(if "%R" > over_Bought then color.CYAN else if "%R" < over_Sold then else color.gray);

#code end

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

(login for full post details)
  #2 (permalink)
orlando florida
Experience: None
Platform: TradeStation Thinkorswim
Trading: equities
Posts: 1 since Sep 2018
Thanks: 0 given, 0 received

This is very nice! This fits well with my setup. Thanks for sharing.

Reply With Quote
(login for full post details)
  #3 (permalink)
Fort Lee + NJ/USA
Experience: None
Platform: TOS
Trading: Currency
Posts: 1 since Dec 2017
Thanks: 3 given, 0 received

thanks for the indicator. Do you have some more information and usage that describes the indicator and points in more depth? Looks great - thanks for sharing.

Reply With Quote
(login for full post details)
  #4 (permalink)
Posts: 1 since Nov 2018
Thanks: 0 given, 0 received

thanks for sharing!

Reply With Quote

futures io Trading Community Platforms and Indicators ThinkOrSwim > RSI_POINTS for thinkorswim

November 26, 2018

Upcoming Webinars and Events

Free BloodHound Licenses for 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