NexusFi: Find Your Edge


Home Menu

 





My newest and best indicator EVER


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one alagrande with 26 posts (23 thanks)
    2. looks_two tracer888 with 5 posts (3 thanks)
    3. looks_3 FunTrade with 2 posts (0 thanks)
    4. looks_4 tigertrader with 1 posts (11 thanks)
      Best Posters
    1. looks_one tigertrader with 11 thanks per post
    2. looks_two Big Mike with 7 thanks per post
    3. looks_3 alagrande with 0.9 thanks per post
    4. looks_4 tracer888 with 0.6 thanks per post
    1. trending_up 14,806 views
    2. thumb_up 50 thanks given
    3. group 17 followers
    1. forum 44 posts
    2. attach_file 16 attachments




 
Search this Thread

My newest and best indicator EVER

  #21 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88

2 different new versions... they look cute The top one is a histogram v2 and the bottom one a cloud ver sion or a combination of 2 clouds one on top on the other.

HERE is the script for histogran2


#histogram2
#torque_rsi
declare lower;
input Channel_Length = 10; #10
input Average_Length = 20; #20, 11
input over_bought_1 = 60;
input over_bought_2 = 53;
input over_sold_1 = -60;
input over_sold_2 = -53;
input show_bubbles = yes;
input show_sec_bbls = no;
input show_alerts = yes;
def ap = hlc3;
def esa = ExpAverage(ap, Channel_Length);
def d = ExpAverage(AbsValue(ap - esa), Channel_Length);
def ci = (ap - esa) / (0.015 * d);
def tci = ExpAverage(ci, Average_Length);
def wt1 = tci;
def wt2 = SimpleMovingAvg(wt1, 2);

#plot zerobase =0;
#zerobase.setLineWeight(2);
#zerobase.setDefaultColor(color.white);

plot wt3 = (wt1 - wt2);
wt3.SetLineWeight(1);
wt3.SetDefaultColor(Color.YELLOW);
wt3.setStyle(1);
#wt3.hide();
#---------------------------------

input length3 = 2;
input length3b =6;
input price = close;
input averageType = AverageType.WILDERS;

def NetChgAvg3 = MovingAverage(averageType, price - price[1], length3);
def TotChgAvg3 = MovingAverage(averageType, AbsValue(price - price[1]), length3b);
def ChgRatio3 = if TotChgAvg3 != 0 then NetChgAvg3 / TotChgAvg3 else 0;

plot RSI3 = 10 * (ChgRatio3 + 1) - 10;
rsi3.SETDefaultColor(color.green);
rsi3.setLineWeight(2);
rsi3.hide();



input lengthr = 84;
#input price = close;
input averageType2 = AverageType.WILDERS;

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

def RSI = 50 * (ChgRatio + 1)-50;
DEF RS = average(RSI, 2);
def RS_ = average(RS, 3);
#def all = (rs-rs_);

plot diff = 5*(rs-rs_);
diff.setDefaultColor(color.white);
diff.setPaintingStrategy(paintingStrategy.HISTOGRAM);

plot rana = (diff-rsi3);
RANA.SETDefaultColor(color.red);
RANA.setLineWeight(4);
rana.setPaintingStrategy(paintingStrategy.HISTOGRAM);
rana.assignValueColor(if rana>wt3 then color.red else createcolor(0, 120, 180));


plot rana2 = (rsi3-rana);
rana2.SETDefaultColor(color.green);
rana2.setLineWeight(4);
rana2.setPaintingStrategy(paintingStrategy.HISTOGRAM);

rana2.assignValueColor(if rana2>wt3 then color.green else createcolor(200, 200, 10));
#end code

Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2020-05-26 at 2.47.41 PM.png
Views:	378
Size:	139.7 KB
ID:	300014  
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Deepmoney LLM
Elite Quantitative GenAI/LLM
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
Battlestations: Show us your trading desks!
26 thanks
The Program
18 thanks
  #22 (permalink)
 
tracer888's Avatar
 tracer888 
Ashburn, VA
 
Experience: Beginner
Platform: NT8, ThinkorSwim
Broker: TD Ameritrade (currently)
Trading: MES MNQ
Posts: 65 since Feb 2014
Thanks Given: 24
Thanks Received: 65

How are you using this in your trades? As a filter? An Entrance or exit?

Reply With Quote
Thanked by:
  #23 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88


hi, the target is to develop something to make trading EASY with the tools that the MASTER (TOS) has offered us.
THE best tool for me would be access to market depth but not offered by most platforms.

So... i am doing paper money on 30 min time frame which i have find out its the best for this study, and i enter when i see green clouds are scaling up and exit when green (over all) is scaling down or red scaling up.

TRY IT your self and see.

Reply With Quote
  #24 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88

and here is THE CLOUD version. it works better on a 30 min time frame....



#UGLY_2clouds
#created by alagrande 05/19/20
#Thanks to Lazy Bear for THE BLUE WAVE.
#torque_rsi
declare lower;


input Channel_Length = 10; #10
input Average_Length = 20; #20, 11
input over_bought_1 = 60;
input over_bought_2 = 53;
input over_sold_1 = -60;
input over_sold_2 = -53;
input show_bubbles = yes;
input show_sec_bbls = no;
input show_alerts = yes;
def ap = hlc3;
def esa = ExpAverage(ap, Channel_Length);
def d = ExpAverage(AbsValue(ap - esa), Channel_Length);
def ci = (ap - esa) / (0.015 * d);
plot tci = .5* ExpAverage(ci, Average_Length);
tci.setLineWeight(2);
tci.hide();
def wt1 = tci;
plot wt2 = SimpleMovingAvg(wt1, 2);
wt2.hide();

plot yellow_ = (wt1 - wt2);


input lengthr = 34;
input price = close;
input averageType2 = AverageType.WILDERS;

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

def RSI = 50 * (ChgRatio + 1) - 50;
def RS = Average(RSI, 2);
def RS_ = Average(RS, 3);
def diff = 3 * (RS - RS_);#16

#-----------------
input length3 = 2;
input length3b = 2;
#input price = close;
input averageType = AverageType.WILDERS;
def NetChgAvg3 = MovingAverage(averageType, price - price[1], length3);
def TotChgAvg3 = MovingAverage(averageType, AbsValue(price - price[1]), length3b);
def ChgRatio3 = if TotChgAvg3 != 0 then NetChgAvg3 / TotChgAvg3 else 0;

plot green1 = 20 * (ChgRatio3 + 1) - 20;
green1.SetDefaultColor(Color.GREEN);
#green1.SetLineWeight(1);
#green1.SetStyle(3);
green1.Hide();

plot red1 = 1 * (diff - green1);
red1.SetDefaultColor(Color.RED);
#red1.SetLineWeight(1);
#red1.SetStyle(3);
red1.Hide();

AddCloud(green1, 0, Color.GREEN, Color.RED);
AddCloud(0, red1, Color.GREEN, Color.RED);

AddCloud(green1, 0, Color.GREEN, Color.RED);
AddCloud(0, red1, Color.GREEN, Color.RED);



addlabel(green1>green1[1], " ",
color.green);
addlabel(green1<green1[1], " ", color.red);

#end code


input lengthr2 = 34;
#input price = close;
#input averageType2 = AverageType.WILDERS;

def NetChgAvg2 = MovingAverage(averageType2, price - price[1], lengthr2);
def TotChgAvg2 = MovingAverage(averageType2, AbsValue(price - price[1]), lengthr2);
def ChgRatio2 = if TotChgAvg2 != 0 then NetChgAvg2 / TotChgAvg2 else 0;

def RSI2 = 50 * (ChgRatio2 + 1) - 50;
def RS2 = Average(RSI2, 2);
def RS2_ = Average(RS2, 3);
#def all = (rs-rs_);

def diff2 = 3 * (RS2 - RS2_);#16

#RSI2--------------------------------------
input length4 = 14;
#input price = close;
#input averageType = AverageType.WILDERS;

def NetChgAvg4 = MovingAverage(averageType, price - price[1], length4);
def TotChgAvg4 = MovingAverage(averageType, AbsValue(price - price[1]), length4);
def ChgRatio4 = if TotChgAvg4 != 0 then NetChgAvg4 / TotChgAvg4 else 0;

def RSI0 = 50 * (ChgRatio4 + 1) - 50;
def RSI4 = Average(RSI0, 2);
def rsi4_ = Average(RSI4, 3);

####
def white = 3 * (RSI4 - rsi4_);


plot yellow = 2* (yellow_ - white);
yellow.SetStyle(1);
yellow.SetLineWeight(1);
yellow.SetDefaultColor(Color.yellow);
#yellow.hide();
#-----------------
input length5 = 2;
input length5b = 8;
#input price = close;
#input averageType = AverageType.WILDERS;
def NetChgAvg5 = MovingAverage(averageType, price - price[1], length5);
def TotChgAvg5 = MovingAverage(averageType, AbsValue(price - price[1]), length5b);
def ChgRatio5 = if TotChgAvg5 != 0 then NetChgAvg5 / TotChgAvg5 else 0;

plot green_ = 20 * (ChgRatio5 + 1) - 20;
green_.SetDefaultColor(Color.GREEN);
green_.SetLineWeight(1);
green_.SetStyle(3);
#green_.Hide();

plot red_ = 1 * (diff - green_);
red_.SetDefaultColor(Color.RED);
red_.SetLineWeight(1);
red_.SetStyle(3);
#red_.Hide();

AddCloud(green_, 0, Color.GREEN, Color.RED);
AddCloud(0, red_, Color.GREEN, Color.RED);

addlabel(green_>green_[1], " ",
color.green);
addlabel(green_<green_[1], " ", color.red);
#

plot cyan = (white-yellow_);
cyan.SETDefaultColor(color.cyan);
cyan.setLineWeight(2);
cyan.hide();

plot green =(cyan-red_);
green.SETDefaultColor(color.green);
#green.setStyle(3);
#rest.hide();
plot red = (wt2-green);
red.SETDefaultColor(color.red);

Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2020-05-29 at 3.02.36 PM.png
Views:	335
Size:	219.7 KB
ID:	300291  
Reply With Quote
Thanked by:
  #25 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88

INCREDIBLE!!!

Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2020-05-31 at 10.15.48 AM.png
Views:	268
Size:	171.1 KB
ID:	300336  
Reply With Quote
  #26 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88

I DID IT!!!! my best indicator ever!!!!

3 years of hard work.

Here is a pic

Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2020-06-04 at 9.47.23 PM.png
Views:	433
Size:	221.6 KB
ID:	300815  
Reply With Quote
Thanked by:
  #27 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88


CryptoBuffalo View Post
Would love the TOS code please. If you're looking for name suggestions, the chart reminds me of that old Atari game, Tempest. You might be too young to remember that game. I'm talking about the OG gaming console of the early 80s. My name suggestion would be RSI_Tempest_Spike.

HI, my friend i have choose you to get the final code. you and only you will get it. Are you interested?

Reply With Quote
  #28 (permalink)
 FunTrade 
Union City CA/USA
 
Experience: Beginner
Platform: ThinkOrSwim
Trading: Equity
Posts: 14 since Sep 2017
Thanks Given: 0
Thanks Received: 6

First off, Congratulations!!!! I see all your hard work finally coming through. Would you please share the final version of the code?

Thanks

Reply With Quote
  #29 (permalink)
 TraderDoc007 
Detroit MI/USA
 
Experience: Advanced
Platform: Multicharts, Custom own
Trading: All Futures
Posts: 66 since Sep 2017
Thanks Given: 41
Thanks Received: 206


alagrande View Post
I DID IT!!!! my best indicator ever!!!!

3 years of hard work.

Here is a pic

Are you really serious or is this just a fun thread for amusement?

Reply With Quote
Thanked by:
  #30 (permalink)
 
tracer888's Avatar
 tracer888 
Ashburn, VA
 
Experience: Beginner
Platform: NT8, ThinkorSwim
Broker: TD Ameritrade (currently)
Trading: MES MNQ
Posts: 65 since Feb 2014
Thanks Given: 24
Thanks Received: 65



alagrande View Post
HI, my friend i have choose you to get the final code. you and only you will get it. Are you interested?

Kinda looks like a flower blooming.

Reply With Quote




Last Updated on October 20, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts