NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 5 of 5
Search: Posts Made By: DavidBodhi
Forum: NinjaTrader June 22nd, 2017, 03:42 PM
Replies: 9
Views: 1,315
Posted By DavidBodhi
Thank you. Much appreciated.

Thank you. Much appreciated.
Forum: NinjaTrader June 22nd, 2017, 01:32 PM
Replies: 9
Views: 1,315
Posted By DavidBodhi
Ahhh... I get it. You use variables to track your...

Ahhh... I get it. You use variables to track your conditions and then count how many times it's true.
Perfect. I can certainly use this concept for what I'm trying to do. Thank you!

But, I've...
Forum: NinjaTrader June 22nd, 2017, 11:29 AM
Replies: 9
Views: 1,315
Posted By DavidBodhi
I'm afraid this won't work, either. If the input...

I'm afraid this won't work, either. If the input number was 25, it'd check if the 25th bar back was lower than Keltner Channel's midline 2 bars ago. Though changing the midline's [2] to [MyInput0]...
Forum: NinjaTrader June 22nd, 2017, 09:14 AM
Replies: 9
Views: 1,315
Posted By DavidBodhi
Thanks for the reply, xplorer. I'm aware of...

Thanks for the reply, xplorer.

I'm aware of how to set a user-defined parameter. What I don't know how to do is use that parameter as a variable number of bar numbers.

For example, I can code:...
Forum: NinjaTrader June 21st, 2017, 11:46 PM
Replies: 9
Views: 1,315
Posted By DavidBodhi
Conditions true a varying number of bars back

Can anyone suggest code that would allow a strategy to check whether conditions were true for the previous X number of bars, where X is a user-input parameter?

I'm not even sure how to clearly ask...
Showing results 1 to 5 of 5

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