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

Profile: tommystam
About
User Name: tommystam
Groups: Gold User, Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Gender:
Statistics
Joined: Thursday, January 19, 2012
Last Visit: Monday, April 2, 2012 9:59:54 AM
Number of Posts: 13
[0.00% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: TTM Squeeze indicator
Posted: Monday, April 2, 2012 9:11:28 AM

Hello, I am clicking on Add Indicator on a chart, than I click on Write Indicator Formula, than I copy paste your code and it says Formula Error in red?? Why isnt this working?

 

This is the formula I am copying/pasting:

Static Sum As Single
Static SumSq As Single
Static BB As Single
Static Keltner As Single
If isFirstBar Then
    Sum = 0
    SumSq = 0
    Keltner = 0
Else
    Sum += Price.Last
    SumSq += Price.Last^2
    Keltner += 1.5*(System.Math.Max(Price.High,Price.Last(1)) - _
        System.Math.Min(Price.Low,Price.Last(1)))/20
    If CurrentIndex >= 21 Then
        Sum -= Price.Last(20)
        SumSq -= Price.Last(20)^2
        Keltner -= 1.5*(System.Math.Max(Price.High(20),Price.Last(21)) - _
            System.Math.Min(Price.Low(20),Price.Last(21)))/20
    End If
End If
If CurrentIndex >= 20 Then
    BB = 2*((SumSq - Sum^2/20)/20)^.5
    Plot = BB/Keltner
Else
    Plot = Single.NaN
End If

Topic: Haurlan Index
Posted: Saturday, March 10, 2012 6:37:23 PM
Is it possible to have this index somehow, and is there any condition or scan, etc that can give you a stock's EV (Enterprise Value) or a sales minus capitalization indicator?
Topic: Trin or Arms Index
Posted: Friday, March 9, 2012 7:55:19 PM
Great! Thank you!
Topic: Trin or Arms Index
Posted: Friday, March 9, 2012 11:24:24 AM
Hello,How can I get the Market Breadth, Advance Decline Line (number of up ticking stocks minus the number of down ticking stocks)(SP500) and the TRIN or Arms Index indicators, as well as ATR for SP500 stocks?Also, is there a quick way to add a sector watch list?Thank you.
Topic: Volume Signals
Posted: Wednesday, March 7, 2012 6:42:21 PM
Hi, can you please give me 2-3 useful volume indicators or oscillators? Thx
Topic: Trending stock finder
Posted: Wednesday, March 7, 2012 6:12:14 PM
I am using TC2000 Version 12 btw.
Topic: Trending stock finder
Posted: Wednesday, March 7, 2012 6:11:25 PM
Ouch, sorry Bruce, I'm new on the boards and thought this section was for scanning advice/talk. I'm just a gold subscriber at the moment, if that is allowed to upload on premium only, please let me know, thanks!
Topic: Trending stock finder
Posted: Tuesday, March 6, 2012 5:54:21 PM
I would like to know, (if possible), how many times per day, the Ema of any stock's SMI Ergonic Indicator crosses over, upwards and downwards of course. Is it possible to calculate all those breaks?Thank you.
Topic: Trending stock finder
Posted: Monday, March 5, 2012 7:16:54 PM
Hi, Is there any way to search for stocks that trend better than others, without too many shakeouts and false breaks?
Topic: TSI - True Strength Index code
Posted: Saturday, March 3, 2012 5:42:18 PM
Nevermind, I just realized that I can scan my list now, thx.