[MAD MBS] L5 RiskManagement

This is the risk management module that uses my "multibit" signal communication
All this here in the interactive screenshot represents the whole framework, when interconnected and after propper configuration.
Some modules that have already been released or are planned to be released in the near future
[L1] Wavebuilder module (SMA EMA HMA,..)
[L1] Multispikes module
[L1] ..... no idea what will come here next
[L1 L2] Bollinger module
[L2] Statistics module
[L2] ..... some ideas here (Trends,... Multitimeframe stuff)
[L3] Processor x8
[L4] Processor x16-x64
[L5] Risk management (contains an alert builder to generate commands for external webhook trading bots.
------------------------
What can this risk management do?
Classic position handling from DCA to breakout
Multiple targets
position risk management by intelligent reduction of positions in case of overinvestment
Stop
Marketmaking
SL automatically move profit after takeprofits
Position change strategies
and much more...
Statistics about all your positions including TP1, TP2, TP3, SL's,...
Testing own indicators:
Create a signal like this here inside your indicator and map the two outputs correctly
<CODE>
signalout = 0
signalout := (signal_buy? 1: signal_sell? -1: 0)
BM_color_signal = signal_buy? #4C9900 : signal_sell? #CC0000 : color.black
L_digital_signal = plot(signalout, title ="Digital signal", color=BM_color_signal, transp=0, style=plot.style_columns, display=display.none)
</CODE>
after this you use
![[MAD MBS] L3 Processor x8](https://s3.tradingview.com/2/2XCihL3n_mid.png)
set input to -1 0 1
daisychaint the stuff correctly together including signal mapping and you are ready to go
Chain looks like this:
L1 (your indicator)
L3 processor
L5 risk management
Some screenshots with finished configuration and different L1 signalsources
The libary used for this project

More Signals for controll from outside via Multibit (TP,SL,Reduce,..)
Smaller and cleaner infobox for mobile
Showing now the start of the backtest in the info panel
SL handling re-done
now its possible to prohibe displaying of entry SL (in case for DCA, where SL=-99%)
or all SL´s (Moving + Trail + Entry) together
clean up for smaller infovox
many small features
UI-Cleanup
Code Cleanup
Digits selection for positionsize and price
Coloring of positions
Wickdetection for TP3
Lots of bugfixing --> Beta 1
optional Liquidation simulation (close Position next candle is the only way, so the loss is may to small or to big, depending on the move)
in the end its the point to see in the result that there was a liquidation at all.. before no way to simulate this
no updates
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact djmad directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Disclaimer
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact djmad directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.