Max profit and loss each day in a trading strategy

Resetting each day the daily target profit and maximum allowed loss.

This code snippet that can be added to any trading strategy.

 

Share this

  1. sophie riordan • 82 days ago #

    Hi Wing  

    Thanks for the code, I am new to this and I have added the snippet to my code but I am not able to make it run I need to add the buy conditions but not coding properly any help would be really appreciated.

    Thank you.

    Leigh

    • Wing • 82 days ago #

      The easiest would be if you posted here or in a forum thread your code so far and I or someone else can see how it should look with this code snippet added.

avatar
Register or

Top