djmad

[MAD MBS] L5 RiskManagement

djmad Uppdaterad   
L5 RiskManagement of the "Modular Backtest System" series is a part from a framework of modules to easily implement custom strategies more ore less like "drag and drop"

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
Wavebuilder module (SMA EMA HMA,..)
Multispikes module
..... no idea what will come here next

Bollinger module
Statistics module
..... some ideas here (Trends,... Multitimeframe stuff)

Processor x8
Processor x16-x64

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
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


Versionsinformation:
Alerts now with custom signaltexts per event
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
Versionsinformation:
bugfixing alerts
Versionsinformation:
MK7.0.A3

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
Versionsinformation:
Dynamic labels with information for packets(p) contracts(c) and % of Portfolo
Coloring of positions
Wickdetection for TP3
Lots of bugfixing --> Beta 1
Versionsinformation:
Liquidation Pre-Calculation
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
Versionsinformation:
libary update
Versionsinformation:
screenshot update, there was a link inside my screenshot, thanks fikira for the find before the TV-Admins ^^

no updates

Trader & coder. TA & NFTs.
bitblockwizard.com more at bitblockart.com
Endast inbjudanskript.

Tillgången till detta skript är begränsat till användare som har godkänts av författaren och kräver vanligtvis betalning. Du kan lägga till det till dina favoriter men du kan bara använda det efter att ha begärt och fått författarens tillstånd. Kontakta djmad för mer information eller följ författarens instruktioner här under.

TradingView rekommenderar inte att du betalar för ett skript och använder det om du inte litar till 100% på författaren och förstår hur skriptet fungerar. I många fall kan du hitta ett bra alternativ med öppen källkod gratis i våra Community skripts .

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Författarens instruktioner

This script is part of the bitblockartwizard ntf project and will be sold on the webpage named inside my Signature

Vill du använda det här skriptet i ett diagram?

Varning:Var god läs innan du begär åtkomst.