NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 2 of 2
Search: Posts Made By: Big Mike
Forum: NinjaTrader June 16th, 2011, 09:36 PM
Replies: 8
Views: 3,830
Posted By Big Mike
Type-o in my code. I haven't used NT in 18...

Type-o in my code. I haven't used NT in 18 months, give me a small break :) Add [0] to end to reference DataSeries.


dsma = SMA(SMA(Close, 20), 100)[0];





Try watching sam028's basic...
Forum: NinjaTrader June 15th, 2011, 11:10 PM
Replies: 8
Views: 3,830
Posted By Big Mike
#init private double dsma; #onbarupdate ...

#init
private double dsma;

#onbarupdate
dsma = SMA(SMA(Close, 20), 100);


Will give you a double sma.
Showing results 1 to 2 of 2

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