Quote:
Originally Posted by camisa
Can someone help me out? Should be pretty straightforward...
Sometimes an arrow appears and then disappear...
|
fasterEMAnow = iMA(NULL, 0, FasterEMA, 0, MODE_EMA,
PRICE_CLOSE, i);
fasterEMAprevious = iMA(NULL, 0, FasterEMA, 0, MODE_EMA,
PRICE_CLOSE, i+1);
fasterEMAafter = iMA(NULL, 0, FasterEMA, 0, MODE_EMA,
PRICE_CLOSE, i-1);
slowerEMAnow = iMA(NULL, 0, SlowerEMA, 0, MODE_EMA,
PRICE_OPEN, i);
slowerEMAprevious = iMA(NULL, 0, SlowerEMA, 0, MODE_EMA,
PRICE_OPEN, i+1);
slowerEMAafter = iMA(NULL, 0, SlowerEMA, 0, MODE_EMA,
PRICE_OPEN, i-1);
Change
PRICE_OPEN to
PRICE_CLOSE that should help the repaint issue.