NexusFi: Find Your Edge


Home Menu

 





Help with simple Bar indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one cory with 1 posts (0 thanks)
    2. looks_two Fat Tails with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 cheva282 with 1 posts (0 thanks)
    1. trending_up 1,817 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 3 attachments




 
Search this Thread
  #1 (permalink)
cheva282
Montevideo Uruguay
 
Posts: 5 since Nov 2013
Thanks Given: 0
Thanks Received: 0

Hi I need some help with coding an indicator (I know nothing about programming)

but what I need is really simple:


I need the indicator that paint a bar on each candlestick bar that has a body (difference between Open and Close) larger than the bodies of each of the prior three bars (each bar individually compared to the big body bar).


could somebody help me with this?

thanks


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Thanks Mike. Godspeed.
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
BERN ALGOS algo trading journal
1 thanks
Afternoon-close session
1 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


I have coded something like that. For some reason it is not yet available in the downloads. Maybe I have simply forgotten to post it.

It detects the following bar types:

- WB7 = wide body bar with a body that is the largest of the last 7 bars (larger than the preceding 6 bars)
- ENG7 = wide body bar WB7 that engulfs the prior bar
- ENG4 = wide body bar WB4 that engulfs the prior bar
- NB7 = narrow body bar with a body that is the smallest of the last 7 bar (smaller than the preceding 6 bars)
- IB7 = narrow body bar NB7 which is an inside body bar
- IB4 = narrow body bar NB4 which is an inside body bar
- DI4 = narrow body bar NB4 which is a double inside body bar (two consecutive inside body bars)

The parameters of the indicator (4,7,4,7) can be changed.

What you look for is a simple WB4 bar.

Attached is a sample chart.



Reply With Quote
  #4 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098

..................


Attached Thumbnails
Click image for larger version

Name:	ES 03-15 (5 Min)  12_17_2014.jpg
Views:	251
Size:	62.2 KB
ID:	169413  
Attached Files
Elite Membership required to download: Bar3.cs
Reply With Quote




Last Updated on December 17, 2014


© 2026 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 - Downloads - Top
no new posts