I have written some amibroker code which visualizes his trade entry days for Long/Short on the chart (save code as an AFL file and drag drop on the main chart). Hope u enjoy!! :
_SECTION_BEGIN("GreatTrades");
// ============== Data ==============
H1="NIFTY-1,2012/01/03,L,4719.9";
H2="NIFTY-1,2012/01/06,S,4722";
H3="NIFTY-1,2012/01/06,L,4727";
H4="NIFTY-1,2012/01/09,L,4719";
H5="NIFTY-1,2012/01/30,S,5151";
H6="NIFTY-1,2012/01/31,L,5178";
H7="NIFTY-1,2012/02/22,S,5533";
H8="NIFTY-1,2012/02/28,L,5437";
H9="NIFTY-1,2012/03/01,S,5372";
H10="NIFTY-1,2012/03/02,S,5403";
H11="NIFTY-1,2012/03/06,L,5416";
H12="NIFTY-1,2012/03/06,S,5366";
H13="NIFTY-1,2012/03/09,L,5350";
H14="NIFTY-1,2012/03/15,S,5438";
H15="NIFTY-1,2012/03/16,L,5478";
H16="NIFTY-1,2012/03/16,S,5415";
H17="NIFTY-1,2012/03/21,L,5360";
H18="NIFTY-1,2012/03/22,S,5284";
H19="NIFTY-1,2012/03/28,S,5208";
H20="NIFTY-1,2012/03/30,L,5268";
H21="NIFTY-1,2012/04/04,S,5335";
H22="NIFTY-1,2012/04/12,L,5293";
H23="NIFTY-1,2012/04/13,S,5221";
H24="NIFTY-1,2012/04/17,L,5286";
H25="NIFTY-1,2012/04/23,S,5302";
H26="NIFTY-1,2012/04/30,L,5275";
H27="NIFTY-1,2012/05/03,S,5205";
H28="NIFTY-1,2012/05/07,L,5112";
H29="NIFTY-1,2012/05/08,S,5107";
H30="NIFTY-1,2012/05/17,S,4893";
H31="NIFTY-1,2012/05/18,L,4875";
H32="NIFTY-1,2012/05/22,S,4836";
H33="NIFTY-1,2012/05/24,L,4880";
H34="NIFTY-1,2012/05/30,S,4939";
H35="NIFTY-1,2012/06/05,L,4868";
H36="NIFTY-1,2012/06/12,S,5076";
H37="NIFTY-1,2012/06/12,L,5081";
H38="NIFTY-1,2012/06/14,S,5067";
H39="NIFTY-1,2012/06/18,L,5140";
H40="NIFTY-1,2012/06/18,S,5061";
H41="NIFTY-1,2012/06/21,L,5157";
H42="NIFTY-1,2012/06/22,L,5126";
H43="NIFTY-1,2012/06/25,S,5113";
H44="NIFTY-1,2012/06/26,L,5128";
H45="NIFTY-1,2012/07/06,L,5314";
H46="NIFTY-1,2012/07/09,S,5293";
H47="NIFTY-1,2012/07/10,L,5333";
H48="NIFTY-1,2012/07/12,S,5261";
H49="NIFTY-1,2012/07/19,S,5252";
H50="NIFTY-1,2012/07/27,L,5150";
H51="NIFTY-1,2012/07/27,L,5122";
H52="NIFTY-1,2012/07/31,L,5202";
H53="NIFTY-1,2012/08/10,S,5327";
H54="NIFTY-1,2012/08/10,L,5332";
H55="NIFTY-1,2012/08/17,L,5382";
H56="NIFTY-1,2012/08/23,S,5410";
H57="NIFTY-1,2012/08/23,L,5424";
H58="NIFTY-1,2012/08/24,S,5400";
H59="NIFTY-1,2012/08/31,L,5290";
H60="NIFTY-1,2012/09/05,S,5247";
H61="NIFTY-1,2012/09/06,L,5283";
H62="NIFTY-1,2012/09/26,L,5655";
H63="NIFTY-1,2012/09/28,L,5729";
H64="NIFTY-1,2012/10/05,S,5753";
H65="NIFTY-1,2012/10/11,L,5724";
H66="NIFTY-1,2012/10/15,S,5666";
H67="NIFTY-1,2012/10/15,L,5680";
H68="NIFTY-1,2012/10/16,S,5719";
H69="NIFTY-1,2012/10/18,L,5732";
H70="NIFTY-1,2012/10/19,S,5671";
H71="NIFTY-1,2012/10/19,L,5683";
H72="NIFTY-1,2012/10/22,S,5707";
H73="NIFTY-1,2012/11/02,L,5727";
H74="NIFTY-1,2012/11/09,S,5740";
H75="NIFTY-1,2012/11/21,L,5618";
H76="NIFTY-1,2012/11/23,S,5604";
H77="NIFTY-1,2012/11/23,L,5610";
H78="NIFTY-1,2012/12/06,L,5913";
H79="NIFTY-1,2012/12/11,S,5903";
H80="NIFTY-1,2012/12/11,L,5918";
H81="NIFTY-1,2012/12/12,S,5939";
H82="NIFTY-1,2012/12/20,L,5940";
H83="NIFTY-1,2012/12/20,S,5932";
H84="NIFTY-1,2012/12/26,L,5915";
H85="NIFTY-1,2012/12/27,S,5907";
H86="NIFTY-1,2012/12/28,L,5942";
H87="NIFTY-1,2013/01/08,S,6001";
H88="NIFTY-1,2013/01/09,L,6040";
H89="NIFTY-1,2013/01/09,S,6028";
H90="NIFTY-1,2013/01/14,L,6044";
H91="NIFTY-1,2013/01/15,S,6081";
H92="NIFTY-1,2013/01/17,L,6027";
H93="NIFTY-1,2013/01/23,S,6054";
H94="NIFTY-1,2013/01/24,L,6044";
H95="NIFTY-1,2013/01/31,S,6041";
H96="NIFTY-1,2013/02/01,L,6074";
H97="NIFTY-1,2013/02/01,S,6068";
H98="NIFTY-1,2013/02/13,L,5960";
H99="NIFTY-1,2013/02/14,S,5926";
H100="NIFTY-1,2013/02/18,L,5915";
H101="NIFTY-1,2013/02/21,S,5914";
H102="NIFTY-1,2013/03/05,L,5756";
H103="NIFTY-1,2013/03/12,S,5920";
H104="NIFTY-1,2013/03/14,L,5925";
H105="NIFTY-1,2013/03/19,S,5840";
H106="NIFTY-1,2013/04/01,L,5725";
H107="NIFTY-1,2013/04/03,S,5715";
H108="NIFTY-1,2013/04/09,L,5616";
H109="NIFTY-1,2013/04/09,S,5606";
H110="NIFTY-1,2013/04/11,L,5601";
H111="NIFTY-1,2013/04/30,L,5914";
H112="NIFTY-1,2013/05/07,L,6004";
H113="NIFTY-1,2013/05/13,S,6060";
H114="NIFTY-1,2013/05/15,L,6058";
H115="NIFTY-1,2013/05/20,S,6162";
H116="NIFTY-1,2013/05/27,L,6092";
H117="NIFTY-1,2013/05/31,S,6050";
H118="NIFTY-1,2013/06/06,L,5899";
H119="NIFTY-1,2013/06/06,S,5949";
H120="NIFTY-1,2013/06/07,L,5934";
H121="NIFTY-1,2013/06/07,S,5901";
H122="NIFTY-1,2013/06/14,L,5769";
H123="NIFTY-1,2013/06/20,S,5789";
H124="NIFTY-1,2013/06/25,L,5647";
H125="NIFTY-1,2013/06/27,L,5655";
H126="NIFTY-1,2013/07/03,S,5794";
H127="NIFTY-1,2013/07/04,L,5822";
H128="NIFTY-1,2013/07/04,S,5783";
H129="NIFTY-1,2013/07/04,L,5814";
H130="NIFTY-1,2013/07/08,S,5789";
H131="NIFTY-1,2013/07/09,L,5870";
H132="NIFTY-1,2013/07/09,S,5862";
H133="NIFTY-1,2013/07/11,L,5927";
H134="NIFTY-1,2013/07/18,L,6004";
H135="NIFTY-1,2013/07/24,S,6040";
H136="NIFTY-1,2013/08/01,L,5827";
H137="NIFTY-1,2013/08/01,S,5821";
H138="NIFTY-1,2013/08/12,L,5622";
H139="NIFTY-1,2013/08/16,S,5602";
H140="NIFTY-1,2013/08/23,L,5425";
H141="NIFTY-1,2013/08/27,S,5383";
H142="NIFTY-1,2013/08/28,L,5306";
H143="NIFTY-1,2013/08/30,L,5398";
H144="NIFTY-1,2013/09/03,S,5451";
H145="NIFTY-1,2013/09/04,L,5445";
H146="NIFTY-1,2013/09/16,S,5955";
TotalSymbolCount = 146;
SymList = "";
DatList = "";
TypList = "";
EntList = "";
BuyArr = 0;
SellArr = 0;
for( i=1; i < totalSymbolCount+1; i++ ) {
list = VarGetText( "H" + NumToStr(i, 1.0, 0));
if(i==1){comma = "";} else{comma = ",";}
SymList += comma + StrExtract( list, 0);
DatList += comma + StrExtract( list, 1);
TypList += comma + StrExtract( list, 2);
EntList += comma + StrExtract( list, 3);
}
for( i = 0; ( sym = StrExtract( SymList, i ) ) != ""; i++ ) {
tdate = StrExtract(DatList,i);
ttype = StrExtract(TypList,i);
Price = StrToNum(StrExtract(EntList,i));
if (ttype == "L") {
BuyArr += IIf(DateNum() == DateTimeConvert(0, StrToDateTime(tdate)), Price, 0);
}
else {
SellArr += IIf(DateNum() == DateTimeConvert(0, StrToDateTime(tdate)), Price, 0);
}
}
PlotShapes(IIf(BuyArr > 0, shapeUpArrow, shapeNone),colorGreen, 0, Low,-15);
PlotShapes(IIf(SellArr > 0, shapeDownArrow, shapeNone),colorRed, 0,High, -15);
_SECTION_END();