Not showing last sell

Unfortunately, my Amibroker code does not show me the sale on 01/08/2022. Can anyone help me why this is the case?
Thank you very much

//************************************************************************************************************************************************************************************************

SetTradeDelays(0,0,0,0);

SetOption("InitialEquity", 10000); // Eigenkapital = 100000

dn = DateNum();

Buy = (dn == 741101) OR (dn == 780102) OR (dn == 801103) OR (dn == 820901) OR (dn == 841101) OR (dn == 851202) OR (dn == 980102) OR (dn == 921102) OR (dn == 981102) OR (dn == 1011101) OR (dn == 1021101) OR (dn == 1031201) OR (dn == 1041101) OR (dn == 1050701) OR (dn == 1081103) OR (dn == 1101101) OR (dn == 1120102) OR (dn == 1160701) OR (dn == 1180301) OR (dn == 1181101) OR (dn == 1221101);

Sell = (dn == 770801) OR (dn == 790502) OR (dn == 810601) OR (dn == 840801) OR (dn == 850801) OR (dn == 870601) OR (dn == 980803) OR (dn == 1000502) OR (dn == 1020502) OR (dn == 1030503) OR (dn == 1040701) OR (dn == 1050502) OR (dn == 1060502) OR (dn == 1100503) OR (dn == 1110502) OR (dn == 1160502) OR (dn == 1170601) OR (dn == 1180702) OR (dn == 1210503) OR (dn ==1220801);

BuyPrice = Open;

SellPrice = Open;

Filter = 1;

AddColumn(Equity(),"Close",1.4);

AddTextColumn(FullName(),"Full Name",77);

//************************************************************************************************************************************************************************************************

Your final Buy takes place on 1-Nov-2022, but the Sell is coded for 1-Aug-2022 (before the Buy).

Thanks - i will check again!

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.