Cannot call 'printTradeExitLabel' with argument 'y'='call 'math.max' (series float)'. An argument of 'series float' type was used but a 'simple float' is expected.
Absolutely amazing script. I managed to change the strategy and include mine, but there is something I did not managed to reach: how to include a partial TP. I've tried many ways to do it, but no one has properly worked. My goal was to have a 3:1 RR, and then a first TP at half way (1,5:1 RR, moving the SL at the entry point). If later, you decide to include these features, I'd be happy to try it. Thanks again for the strategy :-)
kevinmck100
⋅
@carmen_guerrero, Thanks for the comment and I'm glad to hear the strategy has been useful for you. My hope was to keep this template as simple as possible as it's intended to be a base script for people to build on top of. However, if you do need some help with the coding aspect of integrating your strategy with this script please reach out in a DM and we can discuss it
BuDana22
⋅
Ohh Nice THing, do you have a quick documentation on how to use it with our strategy?
kevinmck100
⋅
@BuDana22, Thanks. Yeah, I've tried my best to document that throughout the code itself. Anything inside the "Replaceable section" blocks are designed to be stripped out and replaced with your own indicators/conditions
Flyte-X
⋅
This is Fan-fricken-tastic!
wujishequ
⋅
Is this a redrawing of metrics?
kevinmck100
⋅
@wujishequ, No there should be no repaint. Remember this is just a template to give a starting point to build your own strategies with proper risk management. The template just uses a simple EMA and RSI strategy but the idea is to swap that out with whatever strategy conditions you'd like
Cannot call 'printTradeExitLabel' with argument 'y'='call 'math.max' (series float)'. An argument of 'series float' type was used but a 'simple float' is expected.
code is unchanged