New extremum trend

Script for filtering out periods when market is not trending.

It defines downtrend as following:
Lowest price of last 2 days is equal or lower then lowest price of last 100 days.

Values 2 and 100 are customizable.

Uptrend analogically with highs.
Remove from Favorite Scripts Add to Favorite Scripts
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out