Auto back test

Viewing 3 posts - 1 through 3 (of 3 total)
  • #70822

    Coding query

    What code do I require if = I want my current trade to close before another trade is opened? What I am finding in my back testing ‘order list’ is that I get multiple triggers. I only want to trigger a new trade entry once the prior trade has been closed by either my stop or take profit target.

    Thank you

    Chris Wilson

    #70824

    When you test conditions to enter a trade you should add the keyword ONMARKET to test whether you already have, or don’t have, any open trade

    also, you may add at the very beginning of your code (where DEFPARAMs need to be located)

    you can use both.

    #70826

    Thank you – I just saved this in my template

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login