New Paintbar 4 Shortterm - NinjaTrader Programming | futures trading

Go Back

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

New Paintbar 4 Shortterm
Started:July 2nd, 2009 (08:46 AM) by wh Views / Replies:1,348 / 2
Last Reply:July 3rd, 2009 (04:04 AM) Attachments:2

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

New Paintbar 4 Shortterm

Old July 2nd, 2009, 08:46 AM   #1 (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

New Paintbar 4 Shortterm


i will follow the sharky rule, but i am not disciplined. i want to trade all ...
so i look for a conservative style. i want to trade 2 or 4 trade pro session and will hope it helps ... i do not make more counter trends ...

the rmma in panel 2 shows condolidation zones ... never buy/sell if close[0] is in zone ... wma 1 - 360

so i add this in doublemapaint code

RisingPlot.Set(bar 1val2);
                    if (
PaintBar && Close[0] > WMA(Close,360)[0])
BarColor barColorUp;
BarColor barColorNeutral;
//else if(falling)
else if(falling)
FallingPlot.Set(bar 1val2);
                    if (
PaintBar && Close[0] < WMA(Close,360)[0])
BarColor barColorDown;
BarColor barColorNeutral;
sorry can not export ...

Attached Thumbnails
New Paintbar 4 Shortterm-new-paintbar.png  
Attached Files
Register to download File Type: cs DoubleMAPaint.cs (21.1 KB, 31 views)

Last edited by wh; July 3rd, 2009 at 04:05 AM.
Reply With Quote
The following 2 users say Thank You to wh for this post:

Old July 3rd, 2009, 02:59 AM   #2 (permalink)
Site Administrator
Manta, Ecuador
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 45,432 since Jun 2009
Thanks: 28,836 given, 79,560 received


So you are using a WMA(360) moving average, as in 360 bars of length and basically trading it as a long/short signal? If your paint bars would normally be long, but the WMA 360 is not yet long, then you paint yellow and vice versa for shorts?

I did something similar with SuperTrend lately (my own version, called TrendBars2). I mentioned it in the VIP section you maybe saw it.

I think it is a good idea and I like mine this way as well. I am using a different method (discussed in VIP section) but I think the method you use to calculate it is probably not critical, just find something as you have done that keeps you out of the "middle".

Are you scalping for ticks? If yes, then we are alike, so I don't need to be first in line when a trend reverses, I just need the trend to continue a few ticks so I can get my piece. Too many traders try to find the indicator that gives them that early signal, when really being first is not the best in trading.


Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:

Old July 3rd, 2009, 04:04 AM   #3 (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


the idea with wma 360 came on a 4 minute chart. 4 * 360 is one day. but on 4 range charts i do not know why, works better. when price reverse i made to many trades.

but we are looking for some pips/points. so new paintbar shows only if long or short niveau == trend and so i do not see the counter trends, which always tempts me ... to lose money ...

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > New Paintbar 4 Shortterm

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

An Afternoon with FIO trader bobwest

Elite only

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
PaintBar Factory ntsst3 Vendors and Product Reviews 74 July 30th, 2015 12:55 PM
Help with paintbar code. bfreefalling NinjaTrader Programming 2 April 28th, 2011 09:54 AM
need paintbar study coded-PLEASE bobbyacim The Elite Circle 3 July 28th, 2010 02:35 PM
Paintbar for SMI2 TraderAZ NinjaTrader 2 August 22nd, 2009 12:08 AM

All times are GMT -4. The time now is 04:28 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-23 in 0.10 seconds with 21 queries on phoenix via your IP