Code Exit/Close Criteria (Code Snippet For Existing Strategy)

Job ID: 33187511

Budget: $29 – $30 CAD

Hi! I have a strategy but need help creating a new close/exit criteria.

Please see this video showing the requirements: https://screencast-o-matic.com/watch/c3eIcmVFOXL

As note shows in video, please find text file description of requirements attached.

Please also find current script attached.

Notes:

I think I will only need 5 orders (pyramiding) max, so if it needs to be hard coded for up to 5 entries that may be ok. Otherwise maybe it can use a loop to allow for >5 if desired?

My desired budget is $30 CAD - depending on how long this will take I hope this is ok.

Anyways thank you for your interest, I look forward to chatting soon. All the best.
Related categories: Pine Script