Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Need help coding this telechart scan in Stock finder Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
hklala
Posted : Monday, August 30, 2010 6:33:38 PM
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
jas0501
Posted : Monday, August 30, 2010 8:38:00 PM
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
Bruce_L
Posted : Tuesday, August 31, 2010 8:57:05 AM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.