Last updated on 2020-06-16
OK PIN junkies … I hear you! … this Multiplexer (MUX) will let you combine multiple PINs onto one EAX channel.
There are now four different logic modes:
- All Agree: All Normal and Reversed inputs must agree for an output signal to be given.
- Majority Agree: The Signal is based on the Majority Report from the Normal and Reversed inputs. E.g. if you have 3 input pins: 2 are buy, 1 is sell, the output will be buy.
- Any: Left Priority, opposites Ignored. Any signal will create an output. If there are opposite signals (E.g. channel A: buy and channel C: sell) the signal on the left (Channel A) will take priority. The opposite signal (channel B) will be ignored).
- Any: Left Priority, opposites Cancel. Any signal will create an output. If there are opposite signals (E.g. channel A: buy and channel C: sell) these will cancel each other and there will be no output.
In addition to the Normal and Reverse input modes, there are 2 Boolean modes. Inputs using one of these modes are not included in the All/Majority/Any calculations. Instead, the direction of the signal is ignored: either there is no signal (0); or there is a signal (buy, sell). This input is then used to override the output signal: to allow the output signal through or block it.
- Allow: If there is a signal on this input, the output will be allowed. No signal = output blocked.
- Block: If there is a signal on this input, the output will be blocked. No signal = output allowed.
When might you use this? Let’s say you have a strategy that you do not want to trade in a trending market (e.g. a ranging strategy). You could configure a PIN such as ADX to give a signal in a strong trend and then use this as a Block input. Now signals from your other pins will be blocked whenever there is a strong trend, regardless of the direction of the trend.
Trade of Day
You can now choose on which days the signal is allowed. e.g. if you set Trade on Friday = false, signals will be blocked on Fridays.
I have added Display Alert and Send Email options to my core PIN code, so as I update my PINS they will all inherit this ability. Meanwhile, if you have an older PIN without alerts, you can route its signal into the MUX, and use the MUX to send the alerts.
Have fun with these. I am sure there will be a few new bugs and a lot more confused people.
MUX can now generate TDesk signals.
Some of you may already be aware of the TDesk dashboard over on the Steve Hopwood Forum. If not you might want to take a look.
I’ve spent a bit of time experimenting with TDesk. Whilst it uses Global Variables to read signals from external indicators, unfortunately, it uses a different GV naming convention and different signal values than EAX.
So … I was pondering which EAX PINS it would be best to adapt for TDesk … and realized that if I made the MUX PIN compatible, it could then be used to translate any EAX PIN signals into TDESK.
UPDATE: Prompted by my comments about using EAX PINs, tomele (author) has added functionality allowing TDesk to directly read EAX Global Variables.