NexusFi: Find Your Edge


Home Menu

 





Any ThinkScripter Pro members here?


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one TonyB with 2 posts (0 thanks)
    2. looks_two Don M with 1 posts (0 thanks)
    3. looks_3 winsor with 1 posts (0 thanks)
    4. looks_4 Fourwedge with 1 posts (0 thanks)
    1. trending_up 8,015 views
    2. thumb_up 0 thanks given
    3. group 13 followers
    1. forum 13 posts
    2. attach_file 0 attachments




 
Search this Thread

Any ThinkScripter Pro members here?

  #11 (permalink)
 
opts's Avatar
 opts 
NW Florida
 
Experience: Intermediate
Platform: OX and TOS
Trading: Futures Options, Stocks
Posts: 234 since Aug 2012
Thanks Given: 29
Thanks Received: 115

Hey everyone....I'm a new user with TOS but long time trader. I haven't looked into the ThinkScripter format yet but I have done coding with MetaTrader and TradeSation so coding isn't really that new to me. But, does the ThinkScript code have the ability to send you custom email alerts if a condition(s) is met per stock, index, etc?

Thanks

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Quant vue
Trading Reviews and Vendors
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
  #12 (permalink)
 
WilleeMac's Avatar
 WilleeMac 
Prospect, KY. USA
 
Experience: None
Platform: Sierra Chart
Broker: Infinity
Trading: /CL
Posts: 687 since Jan 2012
Thanks Given: 309
Thanks Received: 617

Thinkscripter is a must if using TOS, been a member since 2009

++++++++++++++++++++++++++++++++++++++++++++++

Go to create alert, when to notify, study, edit, add condition, edit condition, select condition

Never used it it but that's about the best I can tell

-Bill

Follow me on Twitter Reply With Quote
  #13 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88


declare lower;
###MTF_RSI###5MIN, 10MIN, 15,MIN
###############################################
input length2 = 4;
input over_Bought2 = 75;
input over_Sold2 = 25;
input averageType2 = AverageType.WILDERS;
INPUT PRICE = close;

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

plot RSI2 = 50 * (ChgRatio + 1);
#plot OverSold30 = over_Sold30;
#plot OverBough30 = over_Bought30;
RSI2.DefineColor("OverBought", Color.LIGHT_ORANGE);
RSI2.DefineColor("Normal", GetColor(9));
RSI2.DefineColor("OverSold", Color.LIGHT_RED);
RSI2.AssignValueColor(if RSI2 > over_Bought2 then RSI2.Color("OverBought") else if RSI2 < over_Sold2 then RSI2.Color("OverSold") else RSI2.Color("Normal"));
#OverSold30.SetDefaultColor(GetColor(8));
#OverBough30.SetDefaultColor(GetColor(8));
RSI2.SetLineWeight(4);
#plot Zero = 0;
RSI2.SetPaintingStrategy(PaintingStrategy.BOOLEAN_WEDGE_DOWN);

#############################################
input length30 = 4;
input over_Bought30 = 75;
input over_Sold30 = 25;
input averageType30 = AverageType.WILDERS;

def NetChgAvg30 = MovingAverage(averageType30, close(period = AggregationPeriod.FIVE_MIN) - close(period = AggregationPeriod.FIVE_MIN)[1], length30);
def TotChgAvg30 = MovingAverage(averageType30, AbsValue(close(period = AggregationPeriod.FIVE_MIN) - close(period = AggregationPeriod.FIVE_MIN)[1]), length30);
def ChgRatio30 = if TotChgAvg30 != 0 then NetChgAvg30 / TotChgAvg30 else 0;
plot RSI30 = 50 * (ChgRatio30 + 1);
#plot OverSold30 = over_Sold30;
#plot OverBough30 = over_Bought30;
RSI30.DefineColor("OverBought", Color.LIGHT_ORANGE);
RSI30.DefineColor("Normal", GetColor(9));
RSI30.DefineColor("OverSold", Color.LIGHT_RED);
RSI30.AssignValueColor(if RSI30 > over_Bought30 then RSI30.Color("OverBought") else if RSI30 < over_Sold30 then RSI30.Color("OverSold") else RSI30.Color("Normal"));
#OverSold30.SetDefaultColor(GetColor(8));
#OverBough30.SetDefaultColor(GetColor(8));
RSI30.SetLineWeight(4);
plot Zero = 0;
RSI30.SetPaintingStrategy(PaintingStrategy.bOOLEAN_WEDGE_UP);

###
input length15 = 4;
input over_Bought15 = 75;
input over_Sold15 = 25;
input averageType15 = AverageType.WILDERS;

def NetChgAvg15 = MovingAverage(averageType15, close(period = AggregationPeriod.TEN_MIN) - close(period = AggregationPeriod.TEN_MIN)[1], length15);
def TotChgAvg15 = MovingAverage(averageType15, AbsValue(close(period = AggregationPeriod.TEN_MIN) - close(period = AggregationPeriod.TEN_MIN)[1]), length15);
def ChgRatio15 = if TotChgAvg15 != 0 then NetChgAvg15 / TotChgAvg15 else 0;
plot RSI15 = 50 * (ChgRatio15 + 1);
#plot OverSold15 = over_Sold15;
#plot OverBough15 = over_Bought15;
RSI15.DefineColor("OverBought", Color.LIGHT_ORANGE);
RSI15.DefineColor("Normal", GetColor(9));
RSI15.DefineColor("OverSold", Color.LIGHT_RED);
RSI15.AssignValueColor(if RSI15 > over_Bought15 then RSI15.Color("OverBought") else if RSI15 < over_Sold15 then RSI15.Color("OverSold") else RSI15.Color("Normal"));
#OverSold15.SetDefaultColor(GetColor(8));
#OverBough15.SetDefaultColor(GetColor(8));
RSI15.SetLineWeight(4);
RSI15.SetPaintingStrategy(PaintingStrategy.booLEAN_POINTS);
###
###
input length31 = 4;
input over_Bought31 = 75;
input over_Sold31 = 25;
input averageType31 = AverageType.WILDERS;
def NetChgAvg31 = MovingAverage(averageType31, close(period = AggregationPeriod.FIFTEEN_MIN) - close(period = AggregationPeriod.FIFTEEN_MIN)[1], length30);
def TotChgAvg31 = MovingAverage(averageType31, AbsValue(close(period = AggregationPeriod.FIFTEEN_MIN) - close(period = AggregationPeriod.FIFTEEN_MIN)[1]), length31);
def ChgRatio31 = if TotChgAvg31 != 0 then NetChgAvg31 / TotChgAvg31 else 0;
plot RSI31 = 50 * (ChgRatio31 + 1);
#plot OverSold31 = over_Sold31;
#plot OverBough31 = over_Bought31;
RSI31.DefineColor("OverBought", Color.LIGHT_ORANGE);
RSI31.DefineColor("Normal", GetColor(9));
RSI31.DefineColor("OverSold", Color.LIGHT_RED);
RSI31.AssignValueColor(if RSI31 > over_Bought31 then RSI31.Color("OverBought") else if RSI31 < over_Sold31 then RSI31.Color("OverSold") else RSI15.Color("Normal"));
#OverSold31.SetDefaultColor(GetColor(8));
#OverBough31.SetDefaultColor(GetColor(8));
RSI31.SetLineWeight(2);
RSI31.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
##############################################
######TREND LINE##############################
###############################################
input fastLengthTrend = 7;#7
input slowLengthTrend = 15;#15
input trendLength = 4;#4
input noiseType = {default linear, squared};
input noiseLength = 250;
input correctionFactor = 2;


assert(trendLength > 0, "'trend length' must be positive: " + trendLength);
assert(correctionFactor > 0, "'correction factor' must be positive: " + correctionFactor);

def smf = 2 / (1 + trendLength);

def reversal = TrendPeriods(fastLengthTrend, slowLengthTrend);

def cpc = if isNaN(reversal[1]) then 0 else if reversal[1] != reversal then 0 else cpc[1] + close - close[1];

def trend = if isNaN(reversal[1]) then 0 else if reversal[1] != reversal then 0 else trend[1] * (1 - smf) + cpc * smf;

def noise;
def diff = AbsValue(cpc - trend);
switch(noiseType) {
case linear:
noise = correctionFactor * Average(diff, noiseLength);
case squared:
noise = correctionFactor * Sqrt(Average(diff*diff, noiseLength));
}

plot TQ = if noise == 0 then 0 else trend / noise;
#plot ZeroLine = 0;

TQ.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
TQ.SetLineWeight(3);
TQ.DefineColor("Positive", Color.UPTICK);
TQ.DefineColor("Negative", Color.DOWNTICK);
TQ.AssignValueColor(if TQ > 0 then TQ.color("Positive") else TQ.color("Negative"));
#ZeroLine.SetDefaultColor(GetColor(5));
###############################################

Reply With Quote
  #14 (permalink)
 winsor 
Los Angeles, California
 
Experience: None
Platform: MotiveWave, Optuma, Wav59
Posts: 50 since Jun 2012
Thanks Given: 5
Thanks Received: 14

I've been a ThinkScripter Pro member for several years and I've posted some help requests. Some of them were answered and I'm grateful for that. However, recently for some reason, when I try to logon to the website I've been blocked without any notice of why. I've only asked for help and then I'm blocked from even viewing the website. They've got my subscription money and I cannot even view the website. Something's not right and I don't know what it is. If you are a paid subscriber to that website, you may still view my posts and tell me what was wrong with them.


TonyB View Post
Looks like TOS will continue being an integral tool going-forward for me. I've managed to learn some ThinkScript and apply it reasonably well.

I have long pondered becoming a Pro member at ThinkScripter. It's a one time charge, $99, and ones gets access to plenty of Pro indicators. Are any worth it though? I saw in another thread here on futures.io (formerly BMT) about the Turtle Trading System for TOS...

I appreciate any feedback you all might have. Thanks.


Reply With Quote




Last Updated on March 3, 2019


© 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