| 
 Roger, The brains are workingon the problems. The formula below is what I am trying to use. It gives me the up arrows, but no down.  Try it and see what you can do with it.  Marshall 
  
LRSBval= -0.12; LRSSval = 0.11;  Length3 = Length4 = FDBLen = FDSLen = MAvgLen = 20; FDBuy = 6; FDSell = 94; PctAbvMA = .1; PctBlwMA = .05; PctAbvMAValue = MA(C,MAvgLen) * (100- PctAbvMA) / 100; PctBlwMAValue = MA(C,MAvgLen) * (100+ PctBlwMA) / 100;  FDBVal = StochD(FDBLen);
  FDSVal = StochD(FDSLen);  condition1 = C < PctAbvMAValue; condition2 = C > PctBlwMAValue;  condition3 = LinRegSlope(C,length3)*LRSSval; condition4= LinRegSlope(C,20)>LRSSval; condition5= (FDBVal <= FDBuy AND FDBVal > Ref(FDBVal,-1)) OR (Ref (FDBVal, -1) <= FDBuy AND FDBVal > Ref(FDBVal,-1));  condition6= (FDSVal >= FDSell AND FDSVal < Ref(FDSVal,-1)) OR (Ref (FDSVal,-1) >= FDSell AND FDSVal < Ref(FDSVal,-1))! ; PlotShapes((condition1 AND condition3 AND condition5)*shapeUpArrow,  colorBrightGreen,0,L); PlotShapes((condition2 AND condition4) *shapeDownArrow,colorYellow,0,H); Plot(C,"",colorGreen,64);
 
   |