Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Responsive Coppock: Tradingview Pinescript Code

32 sec read

Coppock Indicator is one of the investing style indicators to check whether to stick to the trends or not in the short term. Hull smoothing is applied in the indicator which will eventually reduce the lag component in the trend.

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/

// © marketcalls_in
//Coded by Rajandran R (Founder - Marketcalls/Co-Founder - Algomojo)

//@version=4
study(title = "Responsive Coppock Curve")

wmaLength = input(title="Length",defval=200,type=input.integer)
longRoCLength = input(title="Long ROC",defval=250,type=input.integer)
shortRoCLength = input(title="Short ROC",defval=200,type=input.integer)

source = input(title="Source",type=input.source,defval=hl2)

curve = roc(source, longRoCLength) + roc(source, shortRoCLength)
hullma = wma(2*wma(curve, wmaLength/2)-wma(curve, wmaLength), round(sqrt(wmaLength)))
bcolor = iff(hullma > 0, color.lime, color.red)
plot(hullma, title="Responsive Coppock", style=plot.style_histogram, linewidth=3,color = bcolor)
Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Practical Approach to Tradingview Pinescript Programming – Feb’22 Edition

This course will teach you the basics of Pinescript programming in a practical approach. There are many resources available for learning Pinescript, but most...
Rajandran R
1 min read

Supertrend Strategy with Intraday Controls, Target and Stoploss Module…

Here is a sample pinescript strategy module for those who are looking for building targets, stop loss, and intraday controls to automate their trading...
Rajandran R
5 min read

Algomojo – Tradingview Pinescript Library Launched

Tradingview recently updated their Pinescript from Version 4 to Version 5 which brings very interesting features and one among them is Tradingview Libraries. So...
Rajandran R
9 min read

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More