Hello,
I read manula, tried several examples. Not shows up. Of course, when I select Shows arrows for actual trades, it will show the built in arrows.
But, for example, I wanna draw a square to my Losser trades only, to see its circumtances, not do it. No error. No drawing.
Question1: Plotshapes work with exploration mode or should I need definn Buy and Shell arrays?
Question2: My own shapes should poped up automatically after Exploration or Backtest on the drawing or should I use right click->Shows arrows for actual trades?
Here is my snipet. "Looser" array true for each non profitable situation
if (S_touch AND H[i]>=S+myRangeRS){ //Short on support and failed
S_touch=False; check_S=True; profit_perc[i]=100*((-myRangeRS-spread)/S);
Cover[i]=True; CoverPrice[i]=S+myRangeRS-spread;
Trade++; SumProfit=SumProfit+profit_perc[i]; ProfitAvg[i]=SumProfit/Trade; Breakout[i]=-1;
CondV01[i]=CondV0[tS]; CondV11[i]=CondV1[tS]; CondV21[i]=CondV2[tS];
Failed[i]=i-tS;
Looser[i]=True;
}
} //That is an block end from the missing part.
Filter=profit_perc>-1000000;
PlotShapes(IIf(Looser,shapeSquare, shapeNone), colorRed, 0);
AddColumn(profit_perc, "Profit_perc", 1.2, colorDefault, IIf(profit_perc>0, colorGreen, colorred));
Addcolumn(Breakout, "R or S break", 1.0);
Addcolumn(ProfitAvg, "Avg. Profit%", 1.2);
I like Amibroker, I use Exploration toll is the Greates advanteage. But I need to khow to use this poltshape function.