Ma crosses (shifted) ...
Try this out
I think that it will suite you. On example it is 12,SMMA of median shift 8 with 26,SMMA of median shift 10 (I placed the moving averages on chart only to see if it works OK)
Ma crosses ( shifted )
HELLO MLADEN, THANK YOU very much,its properly done now.
Will do the other request too, but a not today. Will ask you for details when I am ready. OK?
Market Sentiment indicator
Okay Mladen the GENIUS,thanks
(1) Any comment on the value of the request in post #1172 (perhaps better considered in the context of this request)
(2) A spread bet typically looks at two related instruments like gasoline and oil and plays the arbitrage between them. The same opportunity exists between correlated currencies (hence the request in #1172). Here is posted the indicator cobbled together from a few original ideas and mladen snippets (much thanks). However, using MarketInfo(contract,MODE_TICKVALUE) appears to use the host platform currency value at the time of the tick (that is, now) instead of the constituent currencies on the bar in the past. Please consider modifying this indicator to be general enough to determine whether a cross currency needs to be used to arrive at the value of the host platform currency. For example, in USD, what is the value of a position comprised of allocated lot sizes of GBPJPY and AUDCHF (they will not be the same lot size because each one 'costs' a different amount). Ideally the indicator would take a standard, base value of the platform currency (say 1000 notational; e.g. USD or AUD) and allocate it to the two currencies according to their cost on that platform. In summary, this indicator seems to do a reasonable job; however, it is not general enough and it appears to have errors in the way the value is computed for n-bars ago because it relies on TICKVALUE instead of using the actual, historical values of the currencies on the old bar.
By the way, for n-bars ago that may be missing a constituent currency or a cross currency required to compute the value of the host platform currency, interpolation of use of the last valid bar would seem a better choice than using zero or ignoring the value.
Thank you for considering this request. I suspect the members here could use this indicator to find tradable, arbitrage differences in currencies. If it is not too much to ask, it would be really great if the indicator were general enough to handle the CFD's that might be offered on the platform (or at least XAUUSD and XAGUSD - I've had a tough time reconciling the lot size differences in the indicator when XAU and XAG are selected). For these instruments, at least, the value/cost on the host platform will be easy to compute
about this part :
All MarketInfo() functions work like that (current data, not the data from some past time of the chart), That is reason that we do not have the historical bid and ask, for example, and why we do not have some possibilities to build some indicators depending on those values
Adjustments on osma and rsi t3 slope
HELLO MLADEN, Can you please create these two indicators. ( 1 ) USE OSMA indicator. Anytime a bar closes and the OSMA value is INCREASED POSITIVELY the OSMA HISTOGRAM will show LAWNGREEN,and when it closes with an INCREASE NEGATIVELY it will show RED. Anytime it closes AS THE SAME VALUE WITH THE PREVIOUS BAR it will show the SAME COLOR AS THE PREVIOUS BAR. INDICATOR NAME; Osma HISTOGRAM MOMENTUM. ( 2 ) USE RSI T3 SLOPE with the same specifications as above. INDICATOR NAME; Rsi t3 HISTOGRAM MOMENTUM. THANKS for your service.
Osma histogram ...
This is osma histogam with classical 12,26,9 settings
Rsi t3 slope histogram ...
And the rsi t3 slope histogram ...
Example with a comparison to the rsi t3 itself
it says invalid attachment when I try to download it