Thanks again Bruce. Have a great day!
|
Thanks Bruce, your help is greatly appreciated. Just one more thing, in order to have the channel created by the EMA of both the High and the Low of the Heikin-Ashi candle, could you please post both the 10-Period Exponential Moving Average and the 20-Period Exponential Moving Average of the Heikin-Ashi High?
|
Hi,
How could you convert the relationship betwen the same two moving averages (20-sma and 50-sma) into an oscillator?
|
Heikin Ashi Close for Today's Candle is
(L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2
What is the formula for the 10 and the 20 exponential MA of the Heikin Ashi candle Close?
|
Thanks for your response. I posted this before (below). If you could suggest an alternative that would not involve StockFinder it would be fantastic.
"I would like to implement the following indicator formula on my tc2000 platform:
Momentum of Comparative Strength (MoCS)
MoCScombines relative strength (RS) and the MACD indicator.
MoCS replaces the closing prices used in the traditional MACD formula with a RS calculation.
The formula for MoCS is:
MoCS = (12-period EMA of (Stock/S&P 500)) - (26-period EMA (Stock/S&P 500))
Where:
-- EMA represents an exponential moving average
-- Stock represents the closing price of the stock or ETF being studied
-- S&P 500 represents the closing price of the S&P 500 index"
The folowing RealCode implementation was suggested:
Please try the following RealCode Indicator:
'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:Momentum of Comparative Strength
'|******************************************************************
'# Cumulative
'# ShortPeriod = UserInput.Single = 12
'# LongPeriod = UserInput.Single = 26
Static Comparison As PriceScripting
Static EMA(1) As Double
Static termRatio(1) As Double
Static sumWeight(1) As Double
If isFirstBar Then
Comparison = PriceData("SP-500")
EMA(0) = 0
EMA(1) = 0
termRatio(0) = (ShortPeriod - 1) / (ShortPeriod + 1)
termRatio(1) = (LongPeriod - 1) / (LongPeriod + 1)
sumWeight(0) = 1
sumWeight(1) = 1
End If
Dim ratio As Double = Price.Last / Comparison.Last
For i As Integer = 0 To 1
Dim weight As Double = 1 / sumWeight(i)
EMA(i) = EMA(i) * (1 - weight) + weight * ratio
sumWeight(i) = sumWeight(i) * termRatio(i) + 1
Next
Plot = EMA(0) - EMA(1)
|
I am TC2000 Gold member. I do NOT need intraday indicators. In order to use RealCode Indicators, is it enough to upgrade to tc2000 Platinum or do I need to subscribe to StockFinder Platinum in addition to TC2000?
|
I meant Open vs Close but is good to have both. Thanks a lot.
|
Could anyone help me formulate the following PCF?
Three previous red candles and the current candle trading above the high of the previous one.
Thanks in advance.
|