Trend Reversal Indicator with Signals for ThinkorSwim

BenTen

BenTen

Administrative
Staff
VIP
@VenB Due to the repainting factor, I'm not sure if this will work properly when adding as a watchlist column.
 
S

Siva

New member
VIP
@Siva Was this related to the setup that @tenacity11 shared?

Edit: Never mind, I don't think so. Can you post a screenshot of the error?
I modified the script and replaced the reversal label command with Arrow up or down fuction.
Irrespective of that its not able to detect the ZigZagHighLow function.

Same study working fine on charts. Only challenge is not able to create an alert to send to mobile as a text message whenever there is a reversal.
Any other indicator/script you suggest ?

How do I upload a screenshot?
 
R

ranjithd

New member
thank you. Is there any way I can use this for scanning?
I'm looking to find a way to use this in a scan as well. I ended up getting a toocomplexexception presumably due to the recursive variable.
 
rad14733

rad14733

Active member
VIP
@Siva Please post the entire script... That error makes it sound like you are attempting to daisy-chain references and that could very well create issues...

Edited to add: Or take BenTen's advice... ;)
 
S

Siva

New member
VIP
@Siva There is no need to go through all that hassle. If you want the version with up and down arrows instead of bubbles then use this one: https://tos.mx/vlVadom
Thank you @BenTen . Added the indicator as a scan query. But still not able to get the alert notifications. Any suggestions how to get alerts on mobile for this indicator?
 
BenTen

BenTen

Administrative
Staff
VIP
@Siva Don't forget to save the scanner as a watchlist and select the option called "Alerts when scan results change..."

 
S

Siva

New member
VIP
@Siva Don't forget to save the scanner as a watchlist and select the option called "Alerts when scan results change..."

@BenTen
Thanks you for your quick response.
Yes. I selected my default watchlist for "Intersect with" and created a scan query with the below condition.

SivaBenIndicator()."upArrow" is true

Next I ran the scan. It gave zero results.
I saved it as a new watchlist
created an alert. Still don't see any messages.
What else I am missing here. please kindly advice.
 
BenTen

BenTen

Administrative
Staff
VIP
@Siva It's after-hours right now, you shouldn't be getting any alerts. I don't know if it will send you alerts on time during market hours because of the repainting factor. So be aware of that.
 
S

Siva

New member
VIP
@Siva It's after-hours right now, you shouldn't be getting any alerts. I don't know if it will send you alerts on time during market hours because of the repainting factor. So be aware of that.
I enabled After Hours option. Also now I am testing on /ES and /NQ.
I tested with ParabolicSARCrossover indicator during AH and got alerts for my watchlist until 8pm EST.
 
S

Siva

New member
VIP
I enabled After Hours option. Also now I am testing on /ES and /NQ.
I tested with ParabolicSARCrossover indicator during AH and got alerts for my watchlist until 8pm EST.
Created a new alert now. Some how started working now. thanks a lot for all your inputs. Appreciate it.
 
V

VinJal

New member
Created a new alert now. Some how started working now. thanks a lot for all your inputs. Appreciate it.
Hi Siva. If the scanner is working for you, could you please post the code or let us know how you were able to make it work?
 
S

Siva

New member
VIP
Hi Siva. If the scanner is working for you, could you please post the code or let us know how you were able to make it work?
This is what I did.

1. Save indicator https://tos.mx/vlVadom shared by Ben.
When you open the link in tos its asks you to save it. After that you can easily find it under study
2. Create a scan query and save it.
got Scan/Stock Hacker.
Sacn in "All Stocks"
intersect with myWatchList (I used my watch list)
Remove all filters if you have any then add a study filter and select the indicator shared by Ben. (Assume you know this on adding a study filter)
Select the plot UpArrow or DownArrow.
Set within the bars value to 3.
Save the query.
I created two queries. One for Up and other for Down.
3. Create the alert notification from the option "Alert when scan results change"
4. Verify them under Marketwatch/Alerts.


Hope this helps.
 
M

Marvinpatt

New member
Siva, could you share the plots for your two scans. I have tried to load it on the scan tab under custom and it will not work. Any help would be much appreciated. I love the reversal indicator, and would love to be able to scan for these reversals.
 
M

Marvinpatt

New member
Dear Ben, I have tried to use the scan in TOSS under custom thinkscript and it will load, but when the scan is made, it returns with an error on it without any signals on the scans. Could you help me. I love the original reverse trend, but cannot get it to work in a scan. Any help would be extremely appreciated.
 
P

paraglohiya

New member
VIP
Good Morning! Sorry if this question was answered before but going through 54 pages was a night mare.

if someone has converted the trend reversal into strategy and can share it it will be great help! I am new and don't know all these fancy stuff.
Also I read that this indicator repaints so use OnDemand instead of back testing. Please let me know steps if available to do this as well.

Just a suggestion - can we have a page just for the code. its hard to track each version.
if we use GitHub for maintenance of code I think it will simply everyones like. Github is free for everyone it also have auto versioning.

Thanks!
Parag
 
Last edited:

Similar threads

Top