you could do this very easily with the Simplified creation tool.
Start with a 1m chart that has those indicators loaded.
Click NEW and the Simplified creation will walk you through it. I can’t remember if it has built in trailing stop code but you can find all sorts in the snippet library.
it’s a good way of learning how different ideas get represented in code.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok