If I understand correctly, this is what you are looking for. Done 2 things : upgraded the demand index a bit (to show a bit more information by adding colored histogram, so now it is more visible when the DI crosses zero lines) and made a "filter" version of the indicator. In the filter version you can specify any lever for up (by signal) and down (sell signal). They can be set to different values even though, as far as I see, the default value for both is symmetrical (+15 and -15)
Here is and example with the "new" (upgraded) demand index (upper) and the "filter" version (lower). on a 1 minute chart in this case
I would like to remind that volumes in forex are different than volumes in stocks. In forex (and metatrader) they are actually ticks not an actual volume, so results might differ when applied to fore. Other than that, the formula used and applied in the indicator is of the original Demand Index indicator and as far as I am aware is coded the same way in metastock too (here is a link where I was able to find the reference and the "what is done" in it : Equis International Online Community - Demand Index BuyP() and SellP() Formulae... . It was done by "wabbit" and as far as I know he can be used as a kind of a reference in the metastock community. As it is seen, they started from the same source as we did when converting code to metatrader. The filter version is done according to the description and should be OK (the description is clear enough not to leave any doubt as to what has to be done in order to make a "filter" version)
What about doing a demand index for EUR,another one for USD,another for GBP?...etc,then we can use their crosses to trade on any specific pair.
I got the idea from Aleksei Yudin article Reading forex memory with five-day Markov chains - Education - Futures Magazine ,of course if you do it with the original Markov chains,no problem with that.
Is it posible for you to check the Repeated median line with slope and Auto channel indicator with slope indicators. After I remove them from the chart the text(slope info) still remains there.
Line 60 starts with stringand it should start with int. Only that needs to be changed and it will work OK. Or use the one attached (easier yet )
Thank you Mladen
Hi Mladen, if I plot 2 instances of the atatched indicator with differente settings, I can't get the arrows from the 2 instances to appear, I can only get arrows from one of the instances to appear and not all the arrows, could you fix this?
For cases like that set the arrowsUniqueIDparameter to different values.
Here is an example of the two indicators (one is current time frame and the other is 1 hour) where current time frame has arrowsUniqueID set to velPaArrows1and the 1 hour one has that same parameter set to velPaArrows2. Blue and red arrows are from 1 hour while green and orange ones are from current time frame
Zero Lag TDI /MTF
Hi Mladen, can you make a Zero Lag TDI like the Zero Lag Macd?
And can you give it an alert when the Lt blue line cross the red line?
Also can I get a version that is on the Main Chart?
Here is this one
It adds zero lag calculation and alerts. To enter zero lag calculation mode you have to enter 4 in any of the 3 MaModes in parameters (actually, if you enter any value that is not in the 0-3 range in MaMode it will calculate zero lag, but better to remember it as 4 ) Alerts are working as you asked for. Here is a comparison of a zero lag turned on deviations and middle (golden) line calculation (upper) and regular calculation (lower)
As of "on chart" - will try to find some acceptable solution for that (the way I used on the "on chart" versions I made long time ago is rather crudu and will try to find some better way of doing it)
Thank you for the Zero Lag TDI Mladen.
It looks great.
I will wait patiently for the on chart version.
hi Mladen, could you please make a delayed version of the attached indicator?