NexusFi: Find Your Edge


Home Menu

 





paintbar based on inside and outside bars


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one wh with 6 posts (1 thanks)
    2. looks_two hanaa with 4 posts (0 thanks)
    3. looks_3 Andrew with 3 posts (0 thanks)
    4. looks_4 sukhsan with 1 posts (0 thanks)
    1. trending_up 7,671 views
    2. thumb_up 2 thanks given
    3. group 5 followers
    1. forum 16 posts
    2. attach_file 11 attachments




 
Search this Thread

paintbar based on inside and outside bars

  #11 (permalink)
hanaa
canada
 
Posts: 34 since Jun 2009
Thanks Given: 4
Thanks Received: 9

thank you very much worked

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
36 thanks
Tao te Trade: way of the WLD
24 thanks
Spoo-nalysis ES e-mini futures S&P 500
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #12 (permalink)
Andrew
sea side
 
Posts: 217 since Dec 2009
Thanks Given: 86
Thanks Received: 25

WH,
I'm "a bit late" with my question, but I've just registered on this good forum a few days ago.
So the question is on your screen shot...is that secret...that Histogram in the bottom of your chart what indicator is that ? is that possible to download that for free member somewhere ?
Thank you in advance.
Krgds,
Andrew


wh View Post
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


Reply With Quote
  #13 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512



Andrew View Post
WH,
I'm "a bit late" with my question, but I've just registered on this good forum a few days ago.
So the question is on your screen shot...is that secret...that Histogram in the bottom of your chart what indicator is that ? is that possible to download that for free member somewhere ?
Thank you in advance.
Krgds,
Andrew

andrew look here:



consolidation and osc. are in panel 2/3

best regards
arne

Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Started this thread Reply With Quote
  #14 (permalink)
Andrew
sea side
 
Posts: 217 since Dec 2009
Thanks Given: 86
Thanks Received: 25

Arne,

Thank you !
Will check I highly interested in that histogramm and already have some ideas how to optimize it.
the only question no is there indicated by you that
GMMAConsolidation is optimated for eurusd.
is that mean it will show not quite good results for commodities and interest rates ?

Krgds,
Andrew



wh View Post
andrew look here:



consolidation and osc. are in panel 2/3

best regards
arne


Reply With Quote
  #15 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512

it was optimized ...
rewrite the old one.

it works on all markets, because it is only simple ma calculation. last works with fib numbers.

best luck

Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Attached Files
Elite Membership required to download: GMMAConsolidation.cs
Started this thread Reply With Quote
Thanked by:
  #16 (permalink)
Andrew
sea side
 
Posts: 217 since Dec 2009
Thanks Given: 86
Thanks Received: 25

thank you, but can not import that



wh View Post
it was optimized ...
rewrite the old one.

it works on all markets, because it is only simple ma calculation. last works with fib numbers.

best luck


Reply With Quote
  #17 (permalink)
 
sudhirc's Avatar
 sudhirc 
detroit,mi
sc
 
Experience: Intermediate
Platform: NT
Broker: NT
Trading: ES
Frequency: Every few months
Duration: Hours
Posts: 417 since Sep 2011
Thanks Given: 1,709
Thanks Received: 471

I would like to plot the lines when at least three bars are formed

I only consider a candle a Master Candle //or Mother Candle if i find at least three bars inside of it and only that instant i would like to have the line drawn from the top and bottom of that candle.

Can some one please modify this indicator so that it will only plot lines when at least three consecutive bars are inside a candle.

Attached the file i used to create lines on the chart(modified indicator from post 1)




Thanks in advance,
Sudhir

Attached Files
Elite Membership required to download: InsideBarV4.cs
Reply With Quote




Last Updated on July 26, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts