+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

Elder Safe Zone Stop Long

Elder Safe Zone Stop Long in Amibroker sets stop-loss levels for long positions using the Elder Safe Zone strategy. Utilizing the Amibroker data feeder, this tool helps traders protect long positions by defining exit points based on the Safe Zone method.

/_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

Open chat
1
Hi, how can I help you?