This is my first posting to ninjatrader. Let me know if there's a more appropriate place for posting these types of requests. I'm a former Tradestation user, and am looking forward to learning NT.
Part of a strategy I'm working on is to keep track the most recent low. I used the Wizard to set up the following, but get an error code CS0021 when trying to save. Here's the code-
// Condition set 1
if (Low[0] < Low[1])
{
Variable0 = Low[0];
}
All values should be integers, so I don't see where the problem is. I would appreciate if someone could shed more light on what's causing the error, or recommend another way to keep track of a recent low (or high).
Thanks.
Comment