Hi.
Maybey it has been done but i need help make a strategy with these conditions:
Timeframe 1 min
Entry long: price candle close over centerline MACD. Filter price is over EMA200line
Trailing stop
Entry short: price candle close under centerline MACD. Filter price is under EMA200line
Trailing stop
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.