NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 1 of 1
Search: Posts Made By: vvhg
Forum: NinjaTrader December 20th, 2012, 04:38 PM
Replies: 3
Views: 2,791
Posted By vvhg
I assume you have CalculateOnBarClose=true; ...

I assume you have CalculateOnBarClose=true;

The easiest way would be to use a simple bool flag like
if(crossedabove && CrossBelow(Close[0], MovingAverage)
{
ExitLong();
crossedabove = false;...
Showing results 1 to 1 of 1

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