NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 2 of 2
Search: Posts Made By: rleplae
Forum: NinjaTrader July 27th, 2014, 09:28 AM
Replies: 4
Views: 1,222
Posted By rleplae
to be sure you can write to the log: if...

to be sure you can write to the log:

if ((Close [0] < MyIndicator.cutLevelLong) && (Close [1] > MyIndicator.cutLevelLong))
{
Log("Triggered my ExitLong ",...
Forum: NinjaTrader July 26th, 2014, 12:48 PM
Replies: 4
Views: 1,222
Posted By rleplae
Seems ok

Are you sure this is the piece of code that is triggering the exit?

The code seems all right.
< has priority over &&, so no () needed

and Close [0] is the last bar
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