3943 views
This is an updated version of my previous Kay_SRLevels - Support and Resistance (Barry) indicator.
If this indicator have helped you in your trading or you plan to use the code in one of your script,
please donate to following with a message to specify the money as Donation.
SKRILL : trading.kay27@gmail.com
Donated money will go to Plan Canada (Save a Girl) and other charities around the world.
LETS PAY THE TAXES FROM OUR TRADING PROFITS TO NATURE, COMMUNITY AND GOOD CAUSES :)
Likes will help promote the script and is appreciable. (wink wink). :)
If this indicator have helped you in your trading or you plan to use the code in one of your script,
please donate to following with a message to specify the money as Donation.
SKRILL : trading.kay27@gmail.com
Donated money will go to Plan Canada (Save a Girl) and other charities around the world.
LETS PAY THE TAXES FROM OUR TRADING PROFITS TO NATURE, COMMUNITY AND GOOD CAUSES :)
Likes will help promote the script and is appreciable. (wink wink). :)
Comments
study(title="Kay_MA", shorttitle="Colored MA", overlay=true)
len = input(5, minval=1, title="MA")
src = input(hl2, title="Source")
cc = input(true, title="Change Color")
out = sma(src, len)
col = cc ? (change(out) > 0 ? green : red) : red
plot(out, title="MA", color=col, transp=0, linewidth=2)
This version will help visualize levels in more clear way and also can act as SL levels for trades itself.