Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Moving Average With Colors TOS Code
Updated February 7, 2021
Top Posters
looks_one
leaky01ch
with 2 posts (1 thanks)
looks_two
txsroper
with 2 posts (0 thanks)
looks_3
Marty3
with 1 posts (14 thanks)
looks_4
Drive
with 1 posts (0 thanks)
trending_up
17,597 views
thumb_up
15 thanks given
group
12 followers
forum
10 posts
attach_file
3 attachments
Moving Average With Colors TOS Code
July 3rd, 2013, 08:41 AM
New York, New York
Experience: Beginner
Platform: ThinkorSwim
Trading: Stocks
Posts: 1 since Jun 2013
Thanks Given: 0
Thanks Received: 1
Here is the TOS code I wrote for a moving average that is green when up and red when down. You can select the following:
Color (up, down, flat )
Average type (simple, exponential, weighted, Wilders, or Hull)
Length
Line Type
Price (close, open, high, low, etc.)
Good trading!
Attached Files
Elite Membership required to download: MA_ColorSTUDY.ts
Thanked by:
becker908 , brevco , CanadianBacon , cuongvu , eyetrap , LukhyG , matthew2582 , NoBushwhack , nubby , pira76 , themetron , TraderGrace , treehousetrader , xuluxa
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
May 5th, 2015, 10:23 AM
Angola+Indiana/USA
Posts: 2 since May 2015
Thanks Given: 0
Thanks Received: 1
I would like to use the TOS Code, but I can not open it. What do I need to use to do so?
May 5th, 2015, 10:25 AM
virginia
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090
leaky01ch
I would like to use the
TOS Code, but I can not open it. What do I need to use to do so?
I can read it with wordpad.
May 5th, 2015, 11:21 AM
Angola+Indiana/USA
Posts: 2 since May 2015
Thanks Given: 0
Thanks Received: 1
Thank You
February 9th, 2019, 09:47 AM
Bakersfield
Posts: 7 since Feb 2019
Thanks Given: 0
Thanks Received: 0
Im looking for a Script that turns the price candles Green when the Slow Stochastic K period crossover the D period signifying a bullish condition, and Red candles when the K period crosses below the D period signifying a bearish condition.
June 3rd, 2020, 10:42 PM
BayanBary/Malaysia
Posts: 1 since Jun 2020
Thanks Given: 0
Thanks Received: 0
thank you very much. it work for me.
June 17th, 2020, 10:05 AM
Los Angeles (CA)
Experience: Master
Platform: ThinkOrSwim
Trading: Currency Future, Stocks
Posts: 34 since Apr 2019
Thanks Given: 1
Thanks Received: 40
Marty3
Here is the
TOS code I wrote for a
moving average that is green when up and red when down. You can select the following:
Color (up, down, flat )
Average type (simple, exponential, weighted, Wilders, or Hull)
Length
Line Type
Price (close, open, high, low, etc.)
Good trading!
Attachment 117647
awesome
January 2nd, 2021, 08:18 PM
Kansas City, USA
Posts: 2 since Mar 2018
Thanks Given: 2
Thanks Received: 0
Marty3
Here is the
TOS code I wrote for a
moving average that is green when up and red when down. You can select the following:
Color (up, down, flat )
Average type (simple, exponential, weighted, Wilders, or Hull)
Length
Line Type
Price (close, open, high, low, etc.)
Good trading!
Attachment 117647
Hi - thank you very much for this - very helpful - is it possible to add an audio alert setting when the color changes?
Thank you once again
Matthew Therrien
January 21st, 2021, 07:27 AM
Tucuman
Posts: 1 since Oct 2020
Thanks Given: 1
Thanks Received: 0
I would also like an alert.
February 4th, 2021, 05:57 PM
San Jose, CA
Posts: 1 since Feb 2021
Thanks Given: 1
Thanks Received: 0
I haven't tested it but should work
#Alert
Alert(MA > MA[1] and MA[1] < MA[2], "Up", Alert.BAR, Sound.Bell);
Alert(MA < MA[1] and MA[1] > MA[2], "Down", Alert.BAR, Sound.Bell);
Last Updated on February 7, 2021