NexusFi: Find Your Edge


Home Menu

 





Help with simple Bar indicator


Discussion in NinjaTrader

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




 
Search this Thread

Help with simple Bar indicator

  #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?
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
Strategy stop orders partially filled
EasyLanguage Programming
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
68 thanks
Spoo-nalysis ES e-mini futures S&P 500
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
Trading with Intuition
15 thanks
The Trading Pit "Futures VIP" Account Journal
15 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


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,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

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

Attached Thumbnails
Click image for larger version

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




Last Updated on December 17, 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