Hi Dendee
A little bit of work was required to adapt the Start Date formulas I suggested. The output from each is a single bar spike TRUE, and for that reason I suggested removing the Cum()=1 function from the output (result) expression to allow the output to stay TRUE through to the last bar. Dropping in a new start formula with Cum()=1 removed from its output expression gives a plot even when there is not an exact match for the date.
The essential problem with the original start date marker is that it relies on an equality test for day, month and year. The solutions I offered pick up the next available bar when the given date does not match any existing bar and cannot meet all equality tests.
Start:=Input("Start Date - YYMMDD ",101,991231,090101);
{Date concept by metastocktools.com}
N:=IsDefined(Rnd(Life(Start)));
TSE1:=LastValue(Cum(N))=Cum(N);
BPr:=Input("Buy Price ($):",0,15000,1);
TSE2:=HighestSince(1,Cum(TSE1)=1,C);
TSE3:=TSE2 - TSE2*15/100;
TSE4:=HighestSince(1,TSE1=0,TSE3);
If(TSE1=0,BPr-(BPr*15/100),Max(BPr-(BPr*15/100),TSE4));
I make no guarantee that this formula will do everything you want either. What I will say, though, is that almost any problem you strike WILL have at least one solution. As you gain confidence and experience with the MFL you’ll discover that most problems have several solutions.
Roy