Author Topic: Backtesting Help  (Read 2421 times)

sunilnagmal

  • Newbie
  • *
  • Posts: 2
    • View Profile
Backtesting Help
« on: November 03, 2017, 04:12:20 am »
Hi I have a AFL strategy and signal is generated in the middle of the day say 9:15 am open 1000 and buy signal generated at 11:00 AM 1100.

While backtesting on daily buy is taken as open price of day whereas i want the buy price to be signal generated price.

Also once a buy signal is generated consecutive another buy after days is also genereated some times how i can modify code to show only 1st signal or supress another buy signal till there one open buy signal.

Any help would be much appreciated
Thanx in advance.

Regards,
Sunil Nagmal

EddieSvop

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • This is the topic
Backtesting Help
« Reply #1 on: June 09, 2019, 07:24:02 pm »
Thanks for that, I will give it a go.

A code example of this would be a great help too, when you have time.

Regards

Akhil