Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
PaintBars
Collapse
X
-
Hi there, How can I paint a bar 1 bar ago. I don't want the current bar painted, I want 1 bar ago painted if the current bar meets my conditions.
PaintBar[1] doesn't work for me.
Thanks
JJLast edited by jjthetrader; 02-04-2008, 12:27 PM.
Comment
-
-
-
Ray, can you paint draw objects into the past instead of my idea here to paint bars into the past?
thanks
JJ
Comment
-
Absolutely. Please check out the barsAgo parameter e.g. here: http://www.ninjatrader-support.com/H...6/DrawDot.html
Comment
-
-
does anybody know of an indicator that will highlight/draw a dot/something on/above/below a price bar x-number of bars back? i've just read that the bar's colour itself cannot be changed. i've been through the indicator wizard thing but i just don't 'get' it..
i'm looking to visibly identify the 60th bar back from the current bar.
any help with this would be appreciated..
.m.
just added my indicator whcih doesn't work..Attached FilesLast edited by newbouldm; 09-27-2008, 11:26 AM.
Comment
-
Hi Ben,
I've found and slightly altered Josh's User Defined Colour Inputs indicator,
which seemed to work fine on my YM chart but not always so on my ZN chart, as sometimes it just wouldn't appear. On my 'live' chart it would highlight the 60th bar, when I tried it on replaying charts of YM & ZN, it constantly highlighted the 2nd bar (1st left of current).
I could only seem to find examples that would change colours based on an event happening, i.e., crossing of 20SMA over 50SMA or the example instruction which was just a straight, unconditional statement that I then copied and pasted into the above indicator after removing the 2 original lines, wouldn't work despite compiling without errors. (I realise that the compiler isn't interested in whether it works or not, just that the instructions are set out correctly.)
I'm not a programmer at the mo. I'm struggling with its logic and jargon..
I've attached my altered version of Josh's indicator..
Thanks for your help in advance..
.m.Attached Files
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by CortexZenUSA, Today, 12:53 AM
|
0 responses
1 view
0 likes
|
Last Post
by CortexZenUSA
Today, 12:53 AM
|
||
Started by CortexZenUSA, Today, 12:46 AM
|
0 responses
1 view
0 likes
|
Last Post
by CortexZenUSA
Today, 12:46 AM
|
||
Started by usazencortex, Today, 12:43 AM
|
0 responses
5 views
0 likes
|
Last Post
by usazencortex
Today, 12:43 AM
|
||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
168 responses
2,265 views
0 likes
|
Last Post
by sidlercom80
Today, 12:05 AM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
3 responses
11 views
0 likes
|
Last Post Yesterday, 11:58 PM |
Comment