How to test and find the highest price reached after a buy triggered?

#1
Dear traderji friends,
I want to test a few strategies in amibroker. I would like to know how much is the highest price hitted after a buy signal was triggered(no time limit). How can this be done?
 
#7
Dear johnypareek/abcpankaj/other tj companions,

next doubt that has come up during testing for which I couldn't get enough resource on net: Is it possible to optimise stoploss and profit targets automatically to get the most profits.
For example, I have a simple formula that produces 12 percent returns for a year. Instead of trying all combinations of sl and profit manually, is it possible to find the correct combination of sl and profit for achieving maximum net profit?
May be it is the lazy part inside me that is asking this question..
 
#8
Try like:

ApplyStop(stopTypeProfit, stopModePercent,Optimize("pft",3,1.1,9.9,0.2) , 1 );

ApplyStop( stopTypeNBar, stopModeBars, Optimize("sellbars",5,3,50,1) );
 
#10
Dear tj friends,

I am stuck up elsewhere and cant find a simple answer on net. I am a bit bad in understanding programming. While backtesting, I want the report to contain columns for close prices when the buy and sell are triggered. How to do it?