Platinum Customer
Joined: 12/20/2005 Posts: 13
|
How do I plot the mov. average of the price bar high(10 period) and of price bar low(8 period)?
I also want to scan for symbols that have closed outside this envelope fo 2 consecutive days.
Thanks.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The Indicator Realcode topic contains instructions for creating a Moving Average of a Bar component Indicator from the basic Moving Average Indicator in the Web Library.
If the assumptions are made that the 10-Period Moving Average of the High will always be at or above the 8-Period Moving Average of the Low and that closed above for 2 consecutive days or closed below for 2 consecutive days is the same as closed outside for 2 consecutive days, you can create the Rule as follows:
- Drag and Drop Price History onto the MA of the High and select Create Rule.
-- Above MovAvg 10
-- True 2 of 2 Bars
- Drag and Drop Price History onto the MA of the Low and select Create Rule.
-- Below MovAvg 8
-- True 2 of 2 Bars
- Drag and Drop the two Rule you just created onto each other and select Create New Combo Rule.
- Give it a Name.
- Change the And to an Or and select OK.
These assumptions are both bad however and I've created a RealCode Rule called piyushk38945 that does not make them along with creating the Drag and Drop Rules above for comparison purposes. You should be able to Open the attached Chart directly into a running copy of StockFinder.Attachments: piyushk38945.sfChart - 86 KB, downloaded 165 time(s).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|