Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 4/7/2010 Posts: 12
|
I am new to this programming world. Telechart functions are easy..Need help to code this in Stockfinder.. thanks in advance..50 * (C - XAVGC3.1) / 2 / (.500030519440884 * (ABS(C - C1) + .5 * (ABS(C1 - C2) + .5 * (ABS(C2 - C3) + .5 * (ABS(C3 - C4) + .5 * (ABS(C4 - C5) + .5 * (ABS(C5 - C6) + .5 * (ABS(C6 - C7) + .5 * (ABS(C7 - C8) + .5 * (ABS(C8 - C9) + .5 * (ABS(C9 - C10) + .5 * (ABS(C10 - C11) + .5 * (ABS(C11 - C12) + .5 * (ABS(C12 - C13) + .5 * (ABS(C13 - C14)))))))))))))))) + 50
|
|
Registered User Joined: 12/31/2005 Posts: 2,499
|
QUOTE (hklala) I am new to this programming world. Telechart functions are easy..Need help to code this in Stockfinder.. thanks in advance..
50 * (C - XAVGC3.1) / 2 /
(.5 * (ABS(C - C1) +
.5 * (ABS(C1 - C2) +
.5 * (ABS(C2 - C3) +
.5 * (ABS(C3 - C4) +
.5 * (ABS(C4 - C5) +
.5 * (ABS(C5 - C6) +
.5 * (ABS(C6 - C7) +
.5 * (ABS(C7 - C8) +
.5 * (ABS(C8 - C9) +
.5 * (ABS(C9 - C10) +
.5 * (ABS(C10 - C11) +
.5 * (ABS(C11 - C12) +
.5 * (ABS(C12 - C13) +
.5 * (ABS(C13 - C14))
)
)
)
)
)
)
)
)
)
)
)
)
)
) + 50
reformatted
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Just use Wilder's RSI and set the RSI Period to 2 and the Avg Period to 1 (or use the Relative Strength Index with RSI set to Relative Strength Index - Wilder's smoothing, Period set to 2 and Smooth set to 1).
If you want to do it in RealCode, use the following and the Edit the Indicator to adjust the RSI Period to 2 and the Avg Period to 1.
'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:Wilders RSI
'|******************************************************************
'# RSI = indicator.Library.Wilders RSI
Plot = RSI.Value
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |