NexusFi: Find Your Edge


Home Menu

 





Bar Percent Indicator Request: Between Close and Low


Discussion in NinjaTrader

Updated
    1. trending_up 1,418 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 RosDaBoss 
USA
 
Experience: Intermediate
Platform: NinjaTrader, Tradestation, Win98
Trading: 6E, ES, TF
Posts: 33 since Feb 2011
Thanks Given: 44
Thanks Received: 27

Is anybody available to code this for me?

Platform: NT 7
Would be two separate indicators (instances):
Desirable percent input: .005 (Half of 1%)
Selectable (If possible): Use Close or Average for calculating within percent. If not possible just use bar close.
Signal would generate on bar close. I guess I could also displace forward when i feed into bloodhound.

Signal Condition:
1.) Bar Close > Bar Open
2.) Bar Close (58.76) and Bar Low (58.67) are within desirable percent input (.005) of each other
*Debating to use Bar Close or Average of Bar Close and Bar Low for calculating above
Bar Close Formula: (Bar Close – Bar Low)/Bar Close=X
Bar Average Formula: (Bar Close – Bar Low)/((Bar Close + Bar Low)/2)=X
3.) Would have to output true/false on close of bar

Signal Condition (Separate Indicator):
1.) Bar Close < Bar Open
2.) Bar High (58.76) and Bar Close (58.67) are within desirable percent input (.005) of each other
*Debating to use Bar Close or Average of Bar Close and Bar High for calculating above
Bar Close Formula: (Bar High – Bar Close)/Bar Close=X
Bar Average Formula: (Bar High – Bar Close)/((Bar Close + Bar High)/2)=X
3.) Would have to output true/false on close of bar


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Would a node-based workflow for automated trading be useful?
Traders Hideout
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (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



RosDaBoss View Post
...

this will get you start, it looks for High - Low >= 2*body


Reply With Quote
Thanked by:




Last Updated on August 9, 2017


© 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