How do I write the script for - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

How do I write the script for
Started:January 19th, 2010 (08:26 AM) by kaywai Views / Replies:1,549 / 1
Last Reply:January 19th, 2010 (10:06 AM) Attachments:1

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

How do I write the script for

Old January 19th, 2010, 08:26 AM   #1 (permalink)
Trading for Fun
Futures Experience: Intermediate
Platform: ninjatrader
Broker/Data: IB
Favorite Futures: ES, forex, oil
Posts: 131 since Nov 2009
Thanks: 11 given, 7 received

How do I write the script for

when the oscillator has spent more than 6 consecutive bars at < -45, i would like the chart background to be highlighted in a different color? I would also like the "shading" to stop once the oscillator >-45.

i've attached the script file. thx!

Attached Files
Register to download File Type: zip (2.6 KB, 16 views)
Reply With Quote

Old January 19th, 2010, 10:06 AM   #2 (permalink)
Elite Member
Neubrandenburg, Germany
Futures Experience: Advanced
Platform: R
Favorite Futures: Stocks
wh's Avatar
Posts: 539 since Jun 2009
Thanks: 297 given, 474 received

i believe you need commercial support ...
or you

BackColor = Color.Black;


BackColorAll = Color.Black;

Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
The following user says Thank You to wh for this post:

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > How do I write the script for

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I write a trading plan? skyfly Traders Hideout 5 May 20th, 2011 01:13 AM
Need little help with a Ninjatrader script raindrop NinjaTrader Programming 9 April 20th, 2011 10:35 PM
Looking for this script or indicator. rh017548 NinjaTrader Programming 3 May 16th, 2010 07:00 PM
script idea sharky NinjaTrader Programming 64 November 15th, 2009 05:05 PM

All times are GMT -4. The time now is 07:03 PM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-27 in 0.06 seconds with 20 queries on phoenix via your IP