/_SECTION_BEGIN("ElderSafeZoneStopLong"); // // According to my tests this provides the same results as the Excel // spreadsheet detailed in the Trading Room book, with one modification. // Instead of giving today's stop using the data from the previous day, it // provides tomorrow's stop using today's end-of-day data. If you need the // stop for today, click on the previous day in the chart. For long positions // only (use the companion file for shorts). // //------------------------------------------------------------------------------ L1=Ref(L,-1); Pd=Param("Period",10,1,50,1); DnPen=IIf(L