Hi, just looking to get some help into calculate Entry price for my Strategy.
I have been trying with valuewhen(Buy,Buyprice) and after Exrem(buy,sell), but valuewhen() always uses the last buy signal and dont the first of the trade. All based on BacktestmodeRegular.
I need the Entry price in order to use it into sell condition.
I can provide you the readymade code to do this. I am working with Amibroker Software Since 2013 TO Till Date Data Service For Amibroker OR CSV Format(IEOD Data) Only Indian Market I can setup or Provide 1min Equity( Daha Fazla