Need find H value > BV1 and to the left of xBV1. BV1 fine, but BV2 and BV values in Analysis 1 or 0 rather H price.
_section_begin("BV_Enter");
i=BarCount-1;
//i=SelectedValue(x);
Filter=1;
//Verify Buy Long **********************************
xBV=i-LastValue(LLVBars(L,3));
BV1=H[xBV];
BV2=H[i<xBV]>BV1;
BV= H[i<xBV]>BV2;
//Analysis******************************
AddtextColumn(FullName(),"Name",1.2);
addColumn(BV1,"s1",1.2);
AddColumn(BV2,"s2",1.2);
AddColumn(BV,"BV",1.2);
AddColumn(xBV,"xBV",1.2);
//Charts********************************
Plot(BV1,"BVsi",colorRed,styleDots);
Plot(BV2,"Bs2",colororange,styleDots);
Plot(BV,"BV",colorgreen,styleDots);
Plot(xBV,"xBV",colorBlue,styledots,1.2);
_SECTION_END();