ninja background colour dependant on indicator - NinjaTrader | futures io social day trading
futures io futures trading


ninja background colour dependant on indicator
Updated: Views / Replies:3,753 / 9
Created: by kiwihsv Attachments:4

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

ninja background colour dependant on indicator

  #1 (permalink)
Elite Member
Christchurch, New Zealand
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: cl
 
Posts: 5 since Oct 2010
Thanks: 6 given, 1 received

ninja background colour dependant on indicator

Can someone please give me some guidence. I want to colour my ninja trader background dependant on an indicators levels. For example lets say i only want to trade when the stockhastic's are above 60. I want to colour the the chart background to say grey as a no trade zone when the indicator below 60. How do i do it? in the simplist terms please. Thanks in advance.

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received


 
Code
 
if (Condition 1)
{
BackColor = Color.Red;
}
 
else if (Condition 2)
 
{
BackColor = Color.Green;
}

else if...
 


if you need more help pm me

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
  #4 (permalink)
Elite Member
Christchurch, New Zealand
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: cl
 
Posts: 5 since Oct 2010
Thanks: 6 given, 1 received

Hi Vegas

Thanks for your reply. I cant pm as this was my first post and i need 5 to pm. I am hopeless at this computer stuff. So do i go to Tools=> Edit ninjascript=> indicator then select the indicator i want. eg stockhastic? Then would i insert what you wrote in lines 70 down and if i want the chart grey when the stkhst is above 60 would it be

if (<60)
{
backColor = Color.Grey; ?

Thanks for your help i really appreciate it.

Cheers
Mike

Reply With Quote
 
  #5 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received


kiwihsv View Post
Can someone please give me some guidence. I want to colour my ninja trader background dependant on an indicators levels. For example lets say i only want to trade when the stockhastic's are above 60. I want to colour the the chart background to say grey as a no trade zone when the indicator below 60. How do i do it? in the simplist terms please. Thanks in advance.

You would need to get someone to write a simple indicator to do that.

What version of Ninja Trader are you on?

Many people use an OverBought and an Oversold threshold , say 80 and 20.

Do you want a color if the stocastic goes below 20 , or just a color for over 60 and a color for under 60?

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
 
  #6 (permalink)
Big game hunter
NY
 
Futures Experience: Advanced
Platform: Esignal, MBT navigator
Favorite Futures: Currencies
 
Posts: 2,526 since Jun 2009
Thanks: 1,397 given, 2,570 received

You can easily build simple indis with ninja . This I made quickly to paint the background according to the slope of the Macd Avg via ninjascript strategy ---> cut and paste the variables of the strategy ----> paste into a ninjascript new indicator ----> edit the code accordingly and compile . Open the code to this indi and have a look around - you wont break it . See ninja help guide (ninjascript overview) for details -

http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html

Or you can pay a few bucks to have a ninja consultant do it for you . For my money its a good investment of time and resources to learn a little C# , its easier than it looks and itll open up the door to you for making indis .

Attached Thumbnails
ninja background colour dependant on indicator-simple.jpg  
Attached Files
Register to download File Type: zip MacdAvgSlope.zip (4.6 KB, 112 views)
Reply With Quote
The following 5 users say Thank You to Eric j for this post:
 
  #7 (permalink)
Elite Member
Christchurch, New Zealand
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: cl
 
Posts: 5 since Oct 2010
Thanks: 6 given, 1 received

Thanks all for your replies. @tmft i am on version 7 and i want to take trades only when an indicator is above a certain level so my theory was if i can color the chart a grey color when it is below that level to help stop me taking trades. I'll have a play around with your one Eric. Thanks.

Reply With Quote
 
  #8 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received

Answer
This post has been selected as an answer to the original posters question Answer


kiwihsv View Post
Thanks all for your replies. @tmft i am on version 7 and i want to take trades only when an indicator is above a certain level so my theory was if i can color the chart a grey color when it is below that level to help stop me taking trades. I'll have a play around with your one Eric. Thanks.

Here ya go...

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Attached Thumbnails
ninja background colour dependant on indicator-stochasticcolorbackground.png  
Attached Files
Register to download File Type: zip StochasticColorBackGround.zip (9.9 KB, 127 views)
Reply With Quote
The following 4 users say Thank You to ThatManFromTexas for this post:
 
  #9 (permalink)
Elite Member
Christchurch, New Zealand
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: cl
 
Posts: 5 since Oct 2010
Thanks: 6 given, 1 received

Brilliant. Cheers Tmft. Bloody good of you. I must admit i was struggling a bit with it. So thank you again and to all that helped. I owe you one

Cheers
Mike

Reply With Quote
 
  #10 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received



kiwihsv View Post
Brilliant. Cheers Tmft. Bloody good of you. I must admit i was struggling a bit with it. So thank you again and to all that helped. I owe you one

Cheers
Mike

You should see all the cool FREE downloads in the Elite Section. Click on the Elite tab on the top of the screen and read all about it. (It's rather painless... )

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote

Reply



futures io > > > > ninja background colour dependant on indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
need vwap indicator that changes colour on up and downmoves anniebee321 NinjaTrader 27 August 10th, 2017 08:09 PM
Colour time zones indicator nickohorny NinjaTrader 17 June 2nd, 2016 10:21 AM
Add Background Color function to an indicator michaelf NinjaTrader Programming 33 October 15th, 2014 06:34 PM
Ninja Indicator to Ninja Strategy emini_Holy_Grail NinjaTrader Programming 10 March 10th, 2013 12:23 AM
Message for MindSet regarding your gradient background indicator FBJS NinjaTrader Programming 12 December 16th, 2010 08:40 AM


All times are GMT -4. The time now is 09:50 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-12 in 0.12 seconds with 38 queries on phoenix via your IP 54.221.93.187