What is the problem with this simple code and why it DOESNT show Buy Sell arrows??
Title = "Bernstein MOM Close - Ref(Close,-7)";
GraphXSpace = 5;
Graph0 = MA(Close - Ref(Close,-7),1);
Graph0Style = 8;
Graph0Color = 1;
Graph1 = MA(Graph0,5);
Graph1Style = 1;
Graph1Color = 4;
_SECTION_END();
_SECTION_BEGIN("");
Buy=Cross(Graph0,Graph1);
Sell=Cross(Graph1,Graph0);
shape=Buy*shapeUpArrow+Sell*shapeDownArrow;
PlotShapes(shape,IIf(Buy,colorGreen,colorRed),0,IIf(Buy,L,H),-10);
_SECTION_END();
Title = "Bernstein MOM Close - Ref(Close,-7)";
GraphXSpace = 5;
Graph0 = MA(Close - Ref(Close,-7),1);
Graph0Style = 8;
Graph0Color = 1;
Graph1 = MA(Graph0,5);
Graph1Style = 1;
Graph1Color = 4;
_SECTION_END();
_SECTION_BEGIN("");
Buy=Cross(Graph0,Graph1);
Sell=Cross(Graph1,Graph0);
shape=Buy*shapeUpArrow+Sell*shapeDownArrow;
PlotShapes(shape,IIf(Buy,colorGreen,colorRed),0,IIf(Buy,L,H),-10);
_SECTION_END();