NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: eDanny
Forum: NinjaTrader March 17th, 2011, 09:20 PM
Replies: 10
Views: 4,257
Posted By eDanny
Your curly brackets would have worked, i just...

Your curly brackets would have worked, i just removed them as unnecessary. The reason yours wasn't working correctly is because of the missing 'else' after the first Cross test. In other words you...
Forum: NinjaTrader March 17th, 2011, 07:51 PM
Replies: 10
Views: 4,257
Posted By eDanny
If you have two statements after an if() test you...

If you have two statements after an if() test you will need to enclose them ind curly brackets or else only the first one will execute according to the result of the test.

if (CrossAbove...
Forum: NinjaTrader March 17th, 2011, 07:09 PM
Replies: 10
Views: 4,257
Posted By eDanny
if (CrossAbove (+5,Value,1)) BarColor =...

if (CrossAbove (+5,Value,1))
BarColor = Color.Blue;
else
if (CrossBelow (-5,Value,1))
BarColor = Color.Magenta;
else
BarColor = Color.Gray;

Not sure if the logic here is good, if a...
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