cryptotaku

MA Ribbon HA

cryptotaku 已更新   
* Inspired by Krypt's and Madrid's Ribbon
* Supplemental to bullish or bearish trend confirmations with Heikin Ashi candles (e.g. 10/20 MA cross)
* Default of: MA 5-55, 100 and 200
* Ability to switch between Simple vs Exponential MAs

You may switch color gradient by using this tool,
http://www.perbang.dk/rgbgradient/

Hope this helps. Please do let me know if you know how to script the wishlist below =)

Thanks!



---
Wishlist/to do next:

1. Be able to do this color change on counter-trend by implementing this script from Madrid's:

leadMAColor = change(ma05)>=0 and ma05>ma100 ? lime
: change(ma05)<0 and ma05>ma100 ? maroon
: change(ma05)<=0 and ma05<ma100 ? red
: change(ma05)>=0 and ma05<ma100 ? green
: gray
maColor(ma, maRef) =>
change(ma)>=0 and ma05>maRef ? lime
: change(ma)<0 and ma05>maRef ? maroon
: change(ma)<=0 and ma05<maRef ? red
: change(ma)>=0 and ma05<maRef ? green
: gray


2. Add this function from Krypt's to "Drop N candle":

dropn(src, n) =>
na(src) ? na : src
...
price = dropn(src, dropCandles)

3. Be able to update line thickness of E/MA 10 & 20, as well as their colors.

4. A way to input two HEX colors and automatically update the ribbon lines to have those color gradient.

版本注释:
Added some lines from Madrid's Ribbon just as a way to remember what I'd want to implement or get some help implementing.

Looking forward to help if this is easy for you. Much thanks in advance. Cheers!
版本注释:
* Added 10-20 MA Cross indicator
* Added Fractals
版本注释:
Add separate cross indicators to distinguish a crossover signal to long or short.
版本注释:
* Updated line thickness for 50, 100 and 200MAs
* Modified color for 200MA to bold red

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?