How to use the Multibit-System x8 ProcessorFirst, the bases of this chart:
what is multibit:
its a way to transmit 16 bools from one indicator to the next, based on the library
this is called daisy chaining, so to use that stuff u need at least a TV-pro+ license, but i would recommend
premium, as you also have more data to analyze
here you see how its basically looking, x8 can do 8 channels, starting from the bottom which is 0 to the
top which is channel 7
what is a classic signal:
its a signal for daisy chaining based on a trigger line which can do -1, 0, +1 for short,long, neutral
What to see in that Idea:
5 indicators chained into a row which are finally a combined to a strategy
almost Nadaraya-watson -- configured to deliver classic signal on cross-inside
--> to Digitalsignal plot
x8 L3 Processor -- configured to convert a classic to a multibit to channel 0(L),1(S)
--> to Multibit plot
L1 L2 RSI -- configured to deliver a multibit signal on channel 2(oversold),3(overb.)
--> to Multibit plot
all the data is now into the daisychain multibit link (so channel 0 1 2 3 used)
x8 L3 Processor --
here a lot more of the magic begins:
MDB: channel 0 to ch. 0 (filtering small moves (+-4%)
MDB: channel 1 to ch. 1 (filtering small moves (+-4%)
TON: channel 2 to ch. 4 prolonging 2 by 10 bars
TON: channel 3 to ch. 5 prolonging 2 by 10 bars
AND: channel 0 and 4 to channel 6
AND: channel 1 and 5 to channel 7
finaly its configured to send out a classic signal from channel 6 and 7 -> 6 is +1 7 is a -1 else 0
--> to Digitalsignal plot
you can now do alarms on the x8 processor Digitalsignal (trigger above and below 0 for long short)
FINISHED, OR:
L5 Backtest MK5.5
grabbs the x8 processor (Digitalsignal) and does the risk management and does its magic
with the settings in the indicator
--> delivers alarms how the position gets managed with a alarmmessage
{{strategy.order.alert_message}} in the alarmconfig,
than you get the custom texts from the module
Functions inside the x8 Processor (you can read the signaltranscoder library for more details)
And and condition - 1 2 or 3 signals to on channel line 2 output channel
Or condition - 1 2 or 3 signals to on channel line 2 output channel
XOR, XAND, NAND, NOR (this are basic Logic combiners)
TON - wants a signal over a minumum selectable length to let it pass
TOF - prolongs a signal by length selected
next 2 are little bit more tricky
MDP (MinimumPercentagePromille)
- only lets pass a signal if it minimum grows or shrinks xxxx promile
Parameters: would be: 1=Input, 2= 950(5% shrink), 3= 1050(5% grow)
4=outputchannel 5= MDP
RATE - wants a amount of signals in a defined length
Parameters: 1= input, 2= candleamount, 3= minimum count
4= output 5= RATE
that list are most functions a strategy uses, so you can combine more indicators in a row without the need to code around every time you wanna try something.
There are now several multibit indicators out in the wild from me, each of my indicators which i touch again or update will be compatible. at least for Level 1 Indicators i do a 1,0 -1 Classic signal which a x8 can turn into a multibit very quicky.
a implementation reference code you can see here:
at the bottom of the script, both versions, classic and multibit
have fun
Daisychain
Modular backtesting system V7.0.Alpha1While debugging the new development,
i did test some of the old Indicators which where in the storage for continue on, when more advanced...
here we are, welcome a solid P/L from 8.2 ^^
actually impressed, just did take 20 minutes for setup
Used combiners:
MDP
AND
TOF
TON
AND
both for short and long, so quite some operations ^^
Testing new 16 Bit binary logic Binary Bool Operations for indicators incoming.
Indicator on Indicator communication based on 16 Bits to include: Trends / Signals / dca Signals...
Modular Backtest System V7 in pre-Alpha but in a more or less "working state"
release coming soon.
Transcoder Libary Update V4
ugraded tp include all that bool suff and some timer functions from the plc world (TON TP TOF TPD)