NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 6 of 6
Search: Posts Made By: jmejedi
Forum: NinjaTrader February 3rd, 2011, 12:25 AM
Replies: 37
Views: 23,495
Posted By jmejedi
Apparently, that isn't right neither . . . . . ....

Apparently, that isn't right neither . . . . . . namely this:


// if CURRENT-BAR-CLOSE > HIGHEST-BAR-CLOSE within last 10 bars THEN enterLong()
if ( Close[0] > Close[HighestBar(Close,...
Forum: NinjaTrader February 2nd, 2011, 11:47 PM
Replies: 37
Views: 23,495
Posted By jmejedi
wait . . . . . . . . actually the above is...

wait . . . . . . . . actually the above is wrong,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, what I really want is:



Close[HighestBar(Close, 10)]



, , , , , , Right ??
Forum: NinjaTrader February 2nd, 2011, 11:30 PM
Replies: 37
Views: 23,495
Posted By jmejedi
alright, I think I found it: " ...

alright, I think I found it:



"

NinjaScript > Language Reference > Data >
HighestBar()

Definition
Forum: NinjaTrader February 2nd, 2011, 11:22 PM
Replies: 37
Views: 23,495
Posted By jmejedi
this code is executed within the method ...

this code is executed within the method

OnBarUpdate()


.... furthermore,,,,,, I'm testing this on

6e

instrument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Forum: NinjaTrader February 2nd, 2011, 11:16 PM
Replies: 37
Views: 23,495
Posted By jmejedi
i don't think this is working . . . . . ...

i don't think this is working . . . . .


// if CURRENT-BAR-CLOSE > HIGHEST-BAR-CLOSE within last 10 bars THEN enterLong()
if ( Close[0] > MAX(Close, 20)[0] ) {EnterLong();}
// ...
Forum: NinjaTrader February 2nd, 2011, 06:49 PM
Replies: 37
Views: 23,495
Posted By jmejedi
highest bar close occuring within the last X number of bars . . . .

sorry in advance if this already exists within this forum, but at least I can't find it and that's why I'm posting this as a new thread . . . . . . . . . . . . . . Here's the Q:

How would I...
Showing results 1 to 6 of 6

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 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