NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: Fat Tails
Forum: NinjaTrader July 28th, 2011, 03:43 AM
Replies: 7
Views: 3,541
Posted By Fat Tails
I would suggest to dig through a book, something...

I would suggest to dig through a book, something like "C# in 20 days". Then just copy and paste code from existing indicators and use the NinjaScript reference. That should do.
Forum: NinjaTrader July 27th, 2011, 11:27 AM
Replies: 7
Views: 3,541
Posted By Fat Tails
NinjaTrader references the CurrentBar with [0],...

NinjaTrader references the CurrentBar with [0], if you want to reference the previous bar, you would use [1]. The code would therefore be

if (High[0]-Low[1] > 2 * (SMA(High,10)[1] -...
Forum: NinjaTrader July 27th, 2011, 06:11 AM
Replies: 7
Views: 3,541
Posted By Fat Tails
This is the NinjaTrader code: High[0]-Low[0]...

This is the NinjaTrader code:

High[0]-Low[0] > 2 * (SMA(High,10)[0] - SMA(Low,10)[0]);
Showing results 1 to 3 of 3

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