nolantx
05-25-2007, 10:57 AM
I'm trying to color an indicator (EMA) differently as its rising or falling. I have defined both components as separate plots but when I insert them in to a condition as below, or in an if loop: blank screen.
I understand the definition of thresholds in the context of Above zero or below zero type indicators but an unclear how they need or should be used in this instance.
T3_Down.Set((EMA(length1)[0] < EMA(length1)[1]) ? (EMA(length1)[0]) : 0);
I understand the definition of thresholds in the context of Above zero or below zero type indicators but an unclear how they need or should be used in this instance.
T3_Down.Set((EMA(length1)[0] < EMA(length1)[1]) ? (EMA(length1)[0]) : 0);