Here's my scenario:
I have 4 custom indicators that work just fine on the charts, however, when I add them to MA all I get back is the last price of the stock. I'm not certain if I'm adding them wrong to the MA or if my indicators need to be tweaked to work within MA? the indicators are an EMA 8 crossover and their follow up confirmations. I've copied the code for one of them below.
Thanks in advance!
Brandon~
if (CurrentBar < 1) return;
// Crossover Up Indicator
if(Close[1] <= EMA(8)[1] && Close[0] > EMA(8)[0])
{
DrawTriangleUp(CurrentBar.ToString(), true, 0, (1.02 * (High[0] + TickSize)), Color.LimeGreen);
}
Comment