Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 6/17/2008 Posts: 22
|
I am looking for a scan this will show me when the ave price on a Heiken Ashi Candle crosses the 8 EMA. Thank you for any and all help
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
You don't need a PCF for that. Set your plot style to Heiken- Ashi and add an 8 period EMA to the price. Then click on Price and select Create Scan Condition and set the Condition to Crossing Up Exp Mov Avg 8.
http://support.tc2000.com/m/33348/l/375851-how-to-create-a-scan-condition-for-for-price-crossing-a-moving-average-and-save-it-to-the-condition-library
|
|
Registered User Joined: 6/17/2008 Posts: 22
|
I am not looking for just the price to be above the 8EMA. I am looking for the main body of the Heiken Ashi Candle to be crossing above the 8EMA . The price and the body of a Heiken Ashi are never the same . The body is just an Ave of the price. If it were a simple candle what you told me would of worked fine.
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
The Close of an HA candle is the average of price. But I understand what you're asking for now. You want the candle body straddling the EMA. I don't know how to do that with a PCF.
Calculating the Modified Bars
Normal candlestick charts are composed of a series of open-high-low-close (OHLC) bars set apart by a time series. The Heikin-Ashi technique uses a modified formula:
-
xClose = (Open+High+Low+Close)/4
o Average price of the current bar
-
xOpen = [xOpen(Previous Bar) + Close(Previous Bar)]/2
o Midpoint of the previous bar
-
xHigh = Max(High, xOpen, xClose)
o Highest value in the set
-
xLow = Min(Low, xOpen, xClose)
o Lowest value in the set
|
|
Registered User Joined: 6/17/2008 Posts: 22
|
Ok thanks for the try . Any of the members reading this . Do you guys know how to write they type of PCF?
|
|
Registered User Joined: 10/9/2011 Posts: 485
|
Try something like this and see if this works for you
(h+l+o+c)/4 > (xavgh8+xavgl8+xavgo8+xavgc8)/4
Good luck
|
|
Registered User Joined: 6/17/2008 Posts: 22
|
Thank you busterram ! I was able to make what you sent me in the PCF work . Thanks for taking the time to write the PCF out.
|
|
Guest-1 |