NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-06-2011, 08:42 AM   #1
buylosellhi
Member
 
Join Date: Mar 2011
Posts: 83
Thanks: 0
Thanked 0 times in 0 posts
Default Color Bar Error

hi,

I'm trying out a simple code where if RSI value is above 70 then bars plot green - this part is working.

But when I add another condition where I say MACD is rising I get no colors on any bars.

Is this because condition_1 is being evaluated on point values where condition_2 is on a DataSeries ?

thanks in advance
buylosellhi is offline  
Reply With Quote
Old 04-06-2011, 08:51 AM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello buylosellhi,

What is the error you are getting? Not sure exactly what you are seeing but if you can share a code snippet I'm happy to take a look.
NinjaTrader_RyanM is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change chart panel back color and bar color for a previous bar. ackchan General Programming 5 03-09-2010 08:44 AM
Bar color error?? velocity Version 7 Beta General Questions & Bug Reports 2 12-29-2009 07:26 AM
vol bar color match price bar upsndowns Indicator Development 5 12-21-2009 06:45 AM
Bar Color velocity General Programming 4 08-29-2009 04:03 PM
Bar Color cptrader General Programming 5 11-08-2008 08:56 AM


All times are GMT -6. The time now is 03:58 AM.