Stop Loss as % of trade after 30 periods

Forums ProRealTime English forum ProOrder support Stop Loss as % of trade after 30 periods

Viewing 2 posts - 1 through 2 (of 2 total)
  • #201557

    Hello. I have been running my own basic trading systems on  UK and USA markets,  4 hours, 1 trade open at a time, for a while now but have recognised that I need to add in a stop loss after a certain period of time. I have been researching all the stop loss coding but I am struggling to make a start.

    I want to include additional code that does the following:

    Open 1 trade and ONLY after 30 periods, close it at a loss of 0.5%

    Could someone please assist me – either direct me to a reference or provide some simple code to adapt.

    Thankyou

    Sean

    #201577

    There you go:

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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