Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 4/5/2010 Posts: 11
|
hi...
Can you make me a new condition with smi ergodic indicator that find divergences ?
my condition are smi 7.20.7 in 5 min candles...
do you need something else?
thank you.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Do you have a particular unambiguous objective definition of divergence in mind?
To check for opposite signs in the Linear Regression Slopes, you could add Linear Regression Slope of Indicator to the SMI Ergodic Indicator and a regular Linear Regression Slope Indicator to the Charts. You could then Drag and Drop them onto each other and select Plot Comparison | Multiply. You could then right-click on the Multiply Indicator and select Create Condition | Less Than: 0.0000 to find instances where the slopes are in the opposite direction.
You would probably want to set the Periods of the Linear Regression Slope Indicators so they match. You might also want to check for the Condition to be Passing X of X Bars where X is a number greater than 1 to reduce the sensitivity of the Condition somewhat if you get too many results.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 2/9/2010 Posts: 3
|
I tried to that one, but no...thank you
I think is more like this..
'# MACD = indicator.unlinked.MACD
'*********************************************
'* if Price.Close > Price.Close(1) then Pass *
'*********************************************
'# Period = userinput.integer = 50
If price.Close = price.MinClose(period) And price.Close < price.MinClose(period, period) * 1.01 AndAlso _
macd.value = macd.minlow(period) and macd.minlow(period) > macd.MinLow(period, period) + .5 Then pass
.but with the condition I said before (smi ergodic indicator 7,20,7, 5 min candles)
|
|
Registered User Joined: 2/9/2010 Posts: 3
|
can I send you a picture? ...email?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The best topic of which I'm aware on how to post charts in the forums is Inserting A Chart into A Worden post. That said, a picture does not an objective definition make. While it can help clarify an unambiguous definition, on its own, it is the very definition of subjective (I know it when I see it).
Customer training is only provided in the forums and at our live events. It is not provided via email, chat or phone.
If you like that RealCode, you can just appropriate it for your RealCode Condition. All you need to do is reference SMI Ergodic Indicator instead of MACD in the RealCode. You can right-click on the Condition and select Edit to adjust the settings for the SMI Ergodic Indicator. If it is on the Chart it will use the Bar Interval of the Chart. If you Save the Condition and load it as a WatchList Column or as part of a Filter, it will use whatever Bar Interval you choose.
'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:SMI Ergodic Indicator Divergence
'|******************************************************************
'# SEI = indicator.Library.SMI Ergodic Indicator
'# Period = userinput.integer = 50
If Price.Last = Price.MinClose(Period) AndAlso _
Price.Last < Price.MinClose(Period, Period) * 1.01 AndAlso _
SEI.Value = SEI.MinLow(Period) AndAlso _
SEI.MinLow(Period) > SEI.MinLow(Period, Period) + .5 Then Pass
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 2/9/2010 Posts: 3
|
amigo
de la emocion se me olvido agradecerte....GRACIAS
THANK YOU!!!!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |