Simple signals example for Risk Management Wrapper

Simple signals example for Risk Management Wrapper

The unique part is that there is a single variable used for both Buy and Sell conditions.
Technically, a variable can have an infinity of values, so why not use that in our favour.

A value of -1 is used for the SELL alert condition, and a value of +1 is used for the BUY alert condition.
The Risk Management Wrapper can read them and act accordingly.

Any simple indicator on TradingView that gives Sell or Buy signals in a single variable should work.
More complex indicators that give multiple kinds of signals may not work due to TradingView limitations.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
Join the Discord Server for more info about the published tools.
a Discord bot for Charting (TradingView and Heatmaps) is available

🟣 If you like any of my Invite-Only Tools, let me know

(DM or Discord for inquiries)


thank you kind for this sir, very good script , please check my adaptation using it when u got some time:

KryptoNight scamArtist
@scamArtist, nice...
You should consider using something else for sharing, anonymousfiles is flagged for malware.
+1 Reply