Straightened Price Curve

This is another among zillions of attempts at a moving average of a security. More precisely, two attempts at one go). The zzoid function generates a zigzag-like MA that can adopt different forms. The stepline function creates, sure enough, a stepline.
Remove from Favorite Scripts Add to Favorite Scripts


REM: the two TFs should be equal. Try two 7s to get a real zigzag.
capissimo capissimo
@capissimo, above you see a 1m chart, so settings for different TFs should be modified propotionately.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out