paintbar based on inside and outside bars - NinjaTrader Programming | futures io social day trading
futures io futures trading


paintbar based on inside and outside bars
Updated: Views / Replies:4,557 / 16
Created: by wh Attachments:11

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
 11  
 
Thread Tools Search this Thread
 

paintbar based on inside and outside bars

  #1 (permalink)
Elite Member
Neubrandenburg, Germany
 
Futures Experience: Advanced
Platform: R
Favorite Futures: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 297 given, 480 received

paintbar based on inside and outside bars

hallo have rewrite my inside bar code and add simple function for paintbar studies

 
Code
                            
if (CurrentBar >= 2
            {
                
spreadtmp spread TickSize;
                
                if((
Bars.BarsSinceSession == 1) || (Close[0] > this.OH[1]) || (Close[0] < this.OL[1]))
                {
                    
OH.Set(High[0]+spreadtmp);
                    
OL.Set(Low[0]-spreadtmp);
                    
                    if(
High[0] > High[1])
                        
BarColor Color.Blue;
                    if(
Low[0] < Low[1])
                        
BarColor Color.Red;
                    
                }
                else
                {
                    
OH.Set(OH[1]);
                    
OL.Set(OL[1]);
                    
BarColor Color.Gray;
                }
            } 
see image and file

wh

Attached Thumbnails
paintbar based on inside and outside bars-new-paintbar.png  
Attached Files
Register to download File Type: cs InsideBarv2.cs (7.0 KB, 85 views)
Reply With Quote
 
  #2 (permalink)
Membership Temporarily Revoked
USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: futures
 
HJay's Avatar
 
Posts: 197 since Aug 2009
Thanks: 94 given, 171 received

Re: paintbar based on inside and outside bars

Wh, I saw where you mentioned a RHiekienAshe indicator but I have looked all over the site and can't seem to find it. I use the standard indicator today so I am very interested in having a look.. Any ideas?

Sorry for being off topic. This looks interesting ad well.

Thanks HJay

Reply With Quote
 
  #3 (permalink)
Member
canada
 
Futures Experience: Intermediate
Platform: ninja trader
Broker/Data: infiniti
Favorite Futures: es
 
Posts: 35 since Jul 2009
Thanks: 4 given, 8 received


DH what are you using for the text at bottom of chart that says long at x price and short at x price if you do not mingd sharing
thanks
hanaa

Reply With Quote
 
  #4 (permalink)
Elite Member
Neubrandenburg, Germany
 
Futures Experience: Advanced
Platform: R
Favorite Futures: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 297 given, 480 received


hanaa View Post
DH what are you using for the text at bottom of chart that says long at x price and short at x price if you do not mingd sharing
thanks
hanaa

 
Code
                            
    DrawTextFixed("Stop""Short: " +OH[0] +" Long: " +OL[0], tPositionColor.Black, new Font("Arial Rounded MT Bold"12), Color.BlackColor.White2); 


Reply With Quote
 
  #5 (permalink)
Member
canada
 
Futures Experience: Intermediate
Platform: ninja trader
Broker/Data: infiniti
Favorite Futures: es
 
Posts: 35 since Jul 2009
Thanks: 4 given, 8 received

thank you for your help but have no idea about ninja programming.but you are a very kind person god bless you .any way of posting your template and indicators used
thanks
hanaa

Reply With Quote
 
  #6 (permalink)
Elite Member
Perdido Beach, AL
 
Futures Experience: Intermediate
Platform: graph paper
Favorite Futures: Guitar
 
websouth's Avatar
 
Posts: 1,150 since Jul 2009
Thanks: 1,094 given, 1,299 received

very cool

this thing does darvas boxes better than Darvas...

I know a few of you scalp the EUR/USD. If you use a 1 range chart. This indicator along with the "WH special" doubleMA 4ADXVMA/40ADXVMA gives nice signals. Thanks WH

Attached Thumbnails
paintbar based on inside and outside bars-insidebarscalp.jpg   paintbar based on inside and outside bars-darvas.jpg  

Last edited by websouth; August 4th, 2009 at 07:57 PM.
Reply With Quote
The following user says Thank You to websouth for this post:
 
  #7 (permalink)
Elite Member
Neubrandenburg, Germany
 
Futures Experience: Advanced
Platform: R
Favorite Futures: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 297 given, 480 received

ok thanx to websouth. but i think tick charts work better.

Attached Thumbnails
paintbar based on inside and outside bars-2rangechart.png   paintbar based on inside and outside bars-21-tick.png  

Last edited by wh; August 5th, 2009 at 05:08 AM.
Reply With Quote
 
  #8 (permalink)
Elite Member
Neubrandenburg, Germany
 
Futures Experience: Advanced
Platform: R
Favorite Futures: Stocks
 
wh's Avatar
 
Posts: 538 since Jun 2009
Thanks: 297 given, 480 received

 
Code
                            
private int IsInTrend()
        {
            
isTrend 0;
            
            
double ematmp EMA(Close,3)[0] - EMA(Close,5)[0] +
                                
EMA(Close,8)[0] - EMA(Close,10)[0] +
                                
EMA(Close,12)[0] - EMA(Close,15)[0] +
                                
EMA(Close,30)[0] - EMA(Close,35)[0] +
                                
EMA(Close,40)[0] - EMA(Close,45)[0] +
                                
EMA(Close,50)[0] - EMA(Close,55)[0];
            
            if(
High[0] > High[1] && ematmp >sigline)
                        
isTrend 1;
            else if(
Low[0] < Low[1] && ematmp <sigline*-1)
                        
isTrend = -1;
            else
                        
isTrend 0;
            
            return 
isTrend;
            
            
        } 
add new function to this to filter out whipsaws bars. parameter are optimized for eurusd for example i use an 233 tick chart and 21 tick chart aka fibonacci.

233 tick chart InsideBarv2 ( 0,0005, 2)
21 tick chart InsideBarv2 (0,0001,2)

the first value is a consolidation filter used in posted method. second is the spread mean difference between bid and ask.

this indicator is build for priceaction.

i can not give an explantion (why i build this: input came from a german trading book and from ross 123 hook) but i think the chart tell you.


Attached Thumbnails
paintbar based on inside and outside bars-21_233-tick.png  
Attached Files
Register to download File Type: cs InsideBarv2.cs (8.2 KB, 93 views)

Last edited by wh; August 5th, 2009 at 05:42 AM.
Reply With Quote
 
  #9 (permalink)
Member
canada
 
Futures Experience: Intermediate
Platform: ninja trader
Broker/Data: infiniti
Favorite Futures: es
 
Posts: 35 since Jul 2009
Thanks: 4 given, 8 received

sory for my ignorance buthow to import cs.file format into ninja trader.any way to post file in zip format
thank you for your help
regard
hanaa

Reply With Quote
 
  #10 (permalink)
Elite Member
KANATA,ON Canada
 
Futures Experience: Beginner
Platform: Ninja
Broker/Data: Mirus,Zen-Fire
Favorite Futures: Currencies
 
sukhsan's Avatar
 
Posts: 106 since Jun 2009
Thanks: 93 given, 66 received


hanaa,

download file direct to Indicator folder then complied


Document---ninja6.5--bin--custom-indicator

SSS

Reply With Quote

Reply



futures io > > > > > paintbar based on inside and outside bars

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
PaintBar Factory ntsst3 Trading Reviews and Vendors 74 July 30th, 2015 01:55 PM
VWAP based on bars? Default User NinjaTrader 3 April 23rd, 2012 12:32 PM
Time Based Renko Bars for ninja 7? ianrk NinjaTrader 12 November 18th, 2011 12:53 AM
Inside and Outside bars Big Mike Traders Hideout 24 May 9th, 2011 04:54 PM
Paintbar for SMI2 TraderAZ NinjaTrader 2 August 22nd, 2009 01:08 AM


All times are GMT -4. The time now is 01:18 AM.

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-18 in 0.12 seconds with 20 queries on phoenix via your IP 54.92.201.232