NexusFi: Find Your Edge


Home Menu

 





How can I achieve this?


Discussion in NinjaTrader

Updated
    1. trending_up 5,633 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 17 posts
    2. attach_file 8 attachments




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

make sure this part is also in onbarupdate so that it continue to test for it


 
Code
if (low3 > 0 || low2 > 0)
if ((Low[0] < low3) || (Low[0] < low2))
{
DrawArrowUp("IBP" + CurrentBar, true, 0, (Low[0] -(2*TickSize)), Color.Green);
low2 = 0; low3 = 0;
}


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Thanks Mike. Godspeed.
The Elite Circle
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Datafeed for Atas
Platforms and Indicators
Daytrading to swingtrading
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #12 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

Hi Cory,

really appreciate your patience and help. unfortunately we are still getting the same result...


Attached Thumbnails
Click image for larger version

Name:	NIA 02-10  11_20_2009 (3 Min).jpg
Views:	249
Size:	51.4 KB
ID:	8801  
Reply With Quote
  #13 (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


use symbol emini es H0 so that i can match your chart, then you can point out where you want the error.


Reply With Quote
  #14 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

Hi Cory,

I've attached ES 03-10 (ESH0) chart for February 5. This is approximately Feb 4th 9:30pm to 5:30am (EST)

According to your code, the white box is what i want. However the red box didn't give the same result. Not sure why. Code is attached too.


Attached Thumbnails
Click image for larger version

Name:	ES 03-10  2_5_2010 (3 Min).jpg
Views:	276
Size:	146.8 KB
ID:	8806  
Attached Files
Elite Membership required to download: kys4.zip
Reply With Quote
  #15 (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

if you see the arrow that means the test is successful thus it won't branch to the second chance condition.


Reply With Quote
  #16 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

the 1st test is for the 9th or 8th count to be lower than the 6th and 7th count. in the red box, the 1st test failed.

the second chance is a low following the 9th count which is lower than the lower of the 6th and 7th count. the arrow should only appear 27 bars down or approximately an hour down from where it is now...


Reply With Quote
  #17 (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

so the original logic is not correct since there is an arrow in the red box. If the original logic is not correct then you will not have the second chance logic behaves they way you want it to behave.


Reply With Quote
  #18 (permalink)
kaywai
singapore
 
Posts: 131 since Nov 2009
Thanks Given: 11
Thanks Received: 7

ok. lemme take a closer look. thx cory


Reply With Quote




Last Updated on February 26, 2010


© 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