NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 4 of 4
Search: Posts Made By: Warren B.
Forum: NinjaTrader January 8th, 2010, 12:39 PM
Replies: 4
Views: 3,345
Posted By Warren B.
if (Math.Abs(Close[0] - Open[0]) >= 4*TickSize) ...

if (Math.Abs(Close[0] - Open[0]) >= 4*TickSize)
BarColor = Color.Yellow;


This works. Some C# thing with double values I think.
Forum: NinjaTrader January 8th, 2010, 12:24 PM
Replies: 4
Views: 3,345
Posted By Warren B.
Mike another problem: I tried this and it...

Mike another problem:

I tried this and it doesnt work:

if (Math.Abs(Close[0] - Open[0]) == 4*TickSize)
BarColor = Color.Yellow;

another variant:

...
Forum: NinjaTrader January 8th, 2010, 12:09 PM
Replies: 4
Views: 3,345
Posted By Warren B.
Yes. Where's my brain ? I don't know how ofter I...

Yes. Where's my brain ? I don't know how ofter I missed that...

Thanks Mike!
Forum: NinjaTrader January 8th, 2010, 11:56 AM
Replies: 4
Views: 3,345
Posted By Warren B.
SBS Renko +PaintBar

Hello,

I tried to paint some candles with the following code on a SBS Renko chart but
it seems that there is a problem to access historical values like Close[1] ?

Here the code:

if...
Showing results 1 to 4 of 4

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