Registered User Joined: 12/28/2017 Posts: 1
|
looking to make a scan for past breakouts/big moves
just for patten study purposes
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You should be able to use the Custom PCF % True Indicator or the CountTrue() function for this. You need to define what constitutes a breakout/big move first however.
For example, if you wanted to check for the magnitude of the percent change in price from one bar to the next to be at least 10% happening within the most recent 200 bars, you could use a condition formula like the following.
CountTrue(100 * ABS(C / C1 - 1) >= 10, 200) > 0
-Bruce Personal Criteria Formulas TC2000 Support Articles
|