NexusFi: Find Your Edge


Home Menu

 





How can I achieve this?


Discussion in NinjaTrader

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




 
Search this Thread

How can I achieve this?

  #11 (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

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?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Quant vue
Trading Reviews and Vendors
How to apply profiles
Traders Hideout
NexusFi Journal Challenge - May 2024
Feedback and Announcements
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
76 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Just another trading journal: PA, Wyckoff & Trends
37 thanks
Bigger Wins or Fewer Losses?
24 thanks
The Program
17 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:	165
Size:	51.4 KB
ID:	8801  
Reply With Quote
  #13 (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


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

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

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


© 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