ChrisMoody

Example Of How To Code Triple EMA’s - Colors Based On Trend!!!

FX:AUDUSD   Australian Dollar/U.S. Dollar
3036 30 41
Example of Triple EMA Changing Color To Show Trend.Currently You Can Only Have 2 Plots That Change Colors and have Fills Between The Plots.So I Created 2 Separate Indicators with Same RulesRules:If Slow EMA is Less Than Medium EMA , AND Medium EMA is Less Than Fast EMAColor = Red Showing Down TrendIf Slow EMA is Greater Than Medium EMA , AND Medium EMA is Greater Than Fast EMAColor = Green Showing Up TrendIf Both of the Above Rules are False then:Color = Yellow Showing No Trend. Consolidation Area.Lower StudyUses the Same Rules as the Upper Studies With the 3 EMA’sPlots Red in Down Trend, Green in Up Trend, Yellow = No TrendHistogram Shows The Difference Between the Short and Long EMA's*****Code is pasted below...Sometimes When I Copy and Paste the Code For Some Reason It Doesn't Come Through Correctly. *****You Can Click On The White Arrow At The Top Right Of The Chart And Then You Have Access To The Chart. On The Indicators Click On The Brackets To The Left Of the X And You Will See The Source Code. Just Re Name It If you Want and Click Save And The Indicator Will Be In Your Indicators List Under "Custom Scripts"Let Me Know If You Have Any Requests For Any Indicators.....I Enjoy Coding...
Any idea why all of a sudden the "Fill" argument in the script is not displaying anymore?
Reply
genius
Reply
ChrisMoody PRO onemanatatime
Genius might be a overstatement but I do appreciate it. Just make sure you saw the post right above yours from me with updated code...Instead of getting the code from the chart...
Reply
Awesome indicator, TY
Reply
Version 2 of Code Released:

With update to Pine Script now the Upper Indicator just needs to be 1 Indicator instead of two.

Here is a Link to the New Code:
http://pastebin.com/C17gvh9d


New Video Showing How To Install Code From Link Above:
Video Titled: Importing Custom Indicators In TradingView Charts

Link To New Video:
http://vimeopro.com/user14689865/tradingviewcom-how-to-videos
Reply
Chris, This is awesome. Thanks for sharing your code.
Reply
Thanks...Have a lot more coming...if you haven't seen them I've posted several other codes...
Reply
Kautilya PRO ChrisMoody
Thanks Chris.. I got greedy :-) went through all your code and have saved charts as ChrisMoody - CCI, ChrisMoody-moon phases, etc.
Reply
Chris, I could not reach Ross, what is wrong with the number, I try to call many times.
Thanks

Freesia
Reply
Fcha...I'm not sure what number you called b/c he only has email on his Web site. We need to talk...I have a feeling TV will be releasing the Private Chat feature Soon...We will talk then
Reply
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out