RateOfChange Scanner

JJTrades

New member
So since my halt mimic idea seems to be limited to the ToS software itself, I was thinking about a RateOfChange scanner.

I have a RateOfChange study applied to my charts, but when I go into the scanner studies, and into the custom tab, it only shows RateOfChange() without any additional code to be edited.

I was looking to edit it to where the RateOfChange is = 2. Anyone know how I would code that? Thanks
 
Solution
I believe the "RateOfChange()" your referencing is the ROC script on your study file. you might try to see if you can make your needed changes to the ROC Script. If not you'll need to get the entire ROC scanner script to modified it or built out from the condition wizard to your needs. hope it helps

JJTrades

New member
I changed the code to RateOfChangeCrossover("length" = 1) is greater than or equal to 1 within 3 bars

I have that set for a 1 minute aggregation. I think that will do what I want it to do. Guess Ill see on Monday lol. (Unless these custom scanners work in OnDemand so I can backtest them?)
 

barbaros

Administrator
Staff member
I changed the code to RateOfChangeCrossover("length" = 1) is greater than or equal to 1 within 3 bars

I have that set for a 1 minute aggregation. I think that will do what I want it to do. Guess Ill see on Monday lol. (Unless these custom scanners work in OnDemand so I can backtest them?)
Scanners don’t work with OnDemand.
 
I believe the "RateOfChange()" your referencing is the ROC script on your study file. you might try to see if you can make your needed changes to the ROC Script. If not you'll need to get the entire ROC scanner script to modified it or built out from the condition wizard to your needs. hope it helps
 
Last edited:
Solution
Top