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

Profile: montecarlos
About
User Name: montecarlos
Groups: Gold User, Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Tuesday, April 10, 2007
Last Visit: Sunday, February 9, 2014 9:49:13 PM
Number of Posts: 38
[0.01% of all post / 0.01 posts per day]
Avatar
Last 10 Posts
Topic: TC2000 Mobile
Posted: Thursday, July 5, 2012 9:26:13 PM

(Q1)

I purposely created a thinned down set of columns in a new TC2000 V12 workspace and named it "iPad" in order to use it on my iPad in a TC2000 Mobile environment, and to see only the columns I deemed most important in an iPad landscape viewing area. About 10 of them.

For the life of me I then saved the workspace, saved the desktop, etc. and couldn't get "iPad" to show up.

That's when I remembered I likely needed to save the column set with the "save columns" command which is buried inside the little watchlist top right side gear gizmo which pop-up flags as Change List / Scan Properties.

Once I did that, and re-booted TC2000 Mobile, bingo, all was as originally desired.

Perhaps the global commands such as this set of commmands, save columns included would merit a dropdown right between File - Tools - Help.

 

Not so fast: That simple notion sounds real good til you realize that the save columns is watchlist specific, and a window might contain several watchlists stacked onto one another, each containing different columns, which is a good thing.

May I suggest another more obvious Edit Columns & Save Column buttons placed right next to the current Change Columns button ?

 

(Q2)

The chart templates presented in TC2000 Mobile seem helter-skelter, kinda legacy from Telechart, and mostly uneditable, and IMHO, not nearly as useful or friendly as they should be.

Is there a way we can choose our desired iPad chart templates on a web page, then name & save them right to the cloud server for TC2000 Mobile access ?

Monte

Topic: what's wrong with this formula?
Posted: Tuesday, January 4, 2011 1:11:03 AM

Consider this:

SMA10 crossing SMA20 today & the Slope of SMA10 > 5% in five days
and slope of SMA20 > 8% in ten days

Taking Diceman's syntax fix and screen additionally for 

.... an upsloping SMA10 over 5 days 

.... and/or an SMA20 over 10 days.

Just cut & paste as you see fit:

(AVGC10.1<AVGC20.1ANDAVGC10>AVGC20) and

( 100 * ((SMA10 / SMA10.5) -1) > 5 and

( 100 * ((SMA20 / SMA20.10) -1) > 8

This will eliminate "flat" trending SMA crossovers (which aren't
exactly the holy grail) and keep you focused on crossover charts 
which also possess currently upsloping SMA10's or SMA20's.

Experiment with additional filter's, market cap, ROE,
etc. and adjust the "5" or "8" price percent gain value to any other 
(PPG) you deem appropriate for a 10 or 20 day period.

Slope of the SMA is measured as a PPG to normalize the various price
values.

I think you will be pleased.

Note that your "today only" crossover screen will not produce symbols tomorrow which 
have continued upward after today's crossover - so you may be missing some
good crossover trades who left the station yesterday and are now headed
steadily northeast.

You can adjust your screen back a day like this to find yesterdays 
SMA10/20 crossovers, and then see how they are doing today:

(AVGC10.2<AVGC20.2ANDAVGC10.1>AVGC20.1)

and the day before yesterday's SMA10/20 crossovers

(AVGC10.3<AVGC20.3ANDAVGC10.2>AVGC20.2)

and so forth.

You can also screen for crossovers based upon an average
of the high's vice a close price ... just substitute an "H" for the 
C's.

Or the SMA20 crossing the SMA50:

AVGC20 > AVGC50
Topic: ATR as a Sell Stop
Posted: Tuesday, January 4, 2011 12:06:43 AM

No single concept exists in a vacuum, and ATR stops 
are no different.

Curtis Faith discusses ATR stops, breakouts, and positon sizing
in The Way of the Turtle

It's a great intermediate level trader book written by a real pro, 
who learned from some of the best in the business how to bring
some numerical order into the chaos
.

Using breakouts to enter & ATR trailing stops to remain is in effect, 
a concept wrapped within a concept.

Which works.

ATR is built into TC2000, and SF5, and there is a Telechart
PCF somewhere that will do it using Absolute values.

Recall that TC2000, SF5, and Telechart (TC2007) are three 
different products with different strengths in each platform. 

Average True Range incorporates the magnitude of the "price gaps" - otherwise 
you could just average the highs and lows (the range) and be done with it.

J. Welles Wilder knew he couldn't overlook those gaps in producing
a useful trader metric.

http://en.wikipedia.org/wiki/Average_True_Range

ATR stops work in a clean uptrend if you set it to allow the trade a
reasonable amount of wiggle: say 2 ATR's or more.

It's your choice, of course, and your whipsaw if you over-tighten
the stops too early in the trade.

Curtis discusses the use of other filters (such as price GT 300EMA) to 
consider in accepting a given breakout as a buy signal. 

C > XAVG300 ... or C > AVG50

Filters for Price GT EMA300 or Price GT SMA50 for example.

He cites extensive backtesting of the broad market as proof of 
his hypothesis.

ATR & portfolio size are used to size your position: to objectively 
pre-determine
 your maximum initial trade size & allowable trade loss.

Objective, not subjective.

You are working backward from a possible worst case, and assuming
the worst, first.

Once in the long trade, and the trade is in motion you use the ATR stops 
to guide your decision making in adjusting your trailing stops to remain 
long or exit. 

Short trades are exactly opposite.

I like to use ATR stops with 2h bars, 3h bars, and even
2d bars to avoid some of the whipsaw out of a good idea.

I routinely filter for stocks with the price currently trading
above my comfort level ATR stop price.

1.8 ATR's to 3.5 ATR's

TC2000 Version 11 has a new feature, called "volatilty stops" that 
is the same idea, displaying an auto trail stop under the price which 
you get to easily self calibrate.

There is a free Van der Voot macro available for ATR TS in SF5's 
shared items files, and it plots very nicely. 

I use it in a separate tabbed chart window in SF5.


Realcode ATR TS:

'# StartMonth = UserInput.Integer = 1
'# StartDay = UserInput.Integer = 1
'# StartYear = UserInput.Integer = 2009
'# Long1Short2 = UserInput.Integer = 1
'# InitStop = UserInput.Single = 0
'# ATRperiod = UserInput.Single = 5
'# ATRmultiple = UserInput.Single = 3.5
'# Cumulative
Static State As Integer
Static Trail As Single
Static Start As Date
Static TR As Single
Static ATR As Single
Static sumWeight As Single
Static termRatio As Single
If isFirstBar Then
 sumWeight = 1
 termRatio = (ATRperiod - 1) / ATRperiod
 TR = Price.High - Price.Low
 If Long1Short2 = 2 Then
  State = -1
 Else
  State = 1
 End If
 Start = New Date(StartYear, StartMonth, StartDay)
 Trail = Single.NaN
Else
 TR = System.Math.Max(Price.High, Price.Last(1)) - _
  System.Math.Min(Price.Low, Price.Last(1))
End If
Dim Weight As Single = 1 / sumWeight
ATR = ATR * (1 - Weight) + Weight * TR
sumWeight = sumWeight * termRatio + 1
If State = 2 Then
 If Price.Last < Trail Then
  State = -2
  Trail = Price.Last + ATR * ATRmultiple
  Label = "Short"
 Else
  Trail = System.Math.Max(Trail, Price.Last - ATR * ATRmultiple)
 End If
Else If State = -2 Then
 If Price.Last > Trail Then
  State = 2
  Trail = Price.Last - ATR * ATRmultiple
  Label = "Long"
 Else
  Trail = System.Math.Min(Trail, Price.Last + ATR * ATRmultiple)
 End If
Else If State = 1 Then
 If Price.DateValue >= Start Then
  State = 2
  If InitStop > 0 Then
   Trail = InitStop
  Else
   Trail = Price.Last - ATR * ATRmultiple
  End If
  Label = "Long"
 End If
Else If State = -1 Then
 If Price.DateValue >= Start Then
  State = -2
  If InitStop > 0 Then
   Trail = InitStop
  Else
   Trail = Price.Last + ATR * ATRmultiple
  End If
  Label = "Short"
 End If
End If
Plot = Trail


It isn't supposed to be luck, it gut's, 
preparation, and objective entry.

Protect capital with sensible stops.
Topic: PPG & TC2007 Arithmetic elegance
Posted: Monday, January 3, 2011 2:06:59 AM


((C12/31/2010 - C'12/31/09') / C'12/31/09') * 100

or in elegant algebraics which merely rearrange and
eliminate a parenthetic: 

100 * (C'12/31/2010' - C'12/31/09') / C'12/31/09'

or this simplicity masterpiece of TC2007 
arithmetic elegance:

100 * (C'12/31/2010' / C'12/31/09' - 1)

All three return the same mathematical
result:

PPG ... price percent gain


Example: SPY CY2010

100.00 * (125.75 / 110.86 - 1)

The PCF returns: 13.4314 representing 13.43%


YTD CY2011, as it unfolds, will be:

((C - C'12/31/10') / C'12/31/10') * 100

or 

100 * ( C / C'12/31/10' - 1)

Note that 12/31/2010 and 12/31/2009 were both 
market open trading days, not weekends or holidays.

May the force
be with us.
Topic: Closing price comparison by percentage
Posted: Monday, January 3, 2011 1:18:22 AM
Wouldn't that be .... ABS(C /C2 -1) <= 0.001
Topic: Earnings Date for Stocks - An Idea
Posted: Tuesday, December 21, 2010 11:51:35 PM
Earnings dates are an important metric.
Topic: Price Percent Gain From User Specified Calendar Date
Posted: Sunday, December 5, 2010 10:06:38 PM

Price Percent Gain from a User Specified Date

Calculates price percent gain from 
a specified calendar date.

(1) Use "+" to create a new real code indicator

(2) Copy & Paste in the text below

(3) Click Apply, Save, OK

(4) I named it PPG-FD Price Percent Gain - From Date

(5) Drag chart indicator over as a column, or columns
then "unlink" it

(6) Consider deleting the plot, or just enjoy seeing it rise
from your accurate tactical entry. 

The columns will remain intact, and the date editing feature (to adjust the 
date from which you are measuring) will appear inside the column edit 
as soon as you "unlink" it.




'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0
'|*** Copy and paste this header and code into StockFinder
'|*** Indicator:PPG-FD Price Percent Gain From Date
'|******************************************************************


'# BasisDate = UserInput.Date = "12/31/2009"
Static BasisPrice As Single
If isFirstBar Then
 BasisPrice = Single.NaN
End If
If Price.DateValue = EndOfDay(BasisDate) Then
 BasisPrice = Price.Last
End If
Plot = 100 * (Price.Last / BasisPrice - 1)

Topic: PPG - Price Percent Gain between dates
Posted: Sunday, December 5, 2010 6:37:24 PM
If you build this and get "Infinity" in all column cells ... try "unlinking" the column from the chart
and then delete the green PPG in the chart box area.

When I imported this indicator into my desktop PC, this is how I resolved my 
own set of "infinities."

The data was accurate as compared to another, independent measurement
realcode indicator.

It never hurts to crosscheck the columns with some real world, hand 
calculated data.

Monte
Topic: PPG - Price Percent Gain between dates
Posted: Sunday, December 5, 2010 6:15:07 PM
My apologies to all, I was busy and previously posted this (twice) in the wrong forum area. Ready, fire, aim. 
Hopefully it is both useful and properly placed here. Thank you.

PPG - Price Percent Gain between dates

 XRAY vision into actual price movement using this now stable realcode indicator to rank order 
price movement performance. 

IMHO Ignorance isn't bliss, but timely market intelligence is. 

I can't ride what I can't see and I can't manage what I can't measure.

(1) Use the Green "+" symbol in the chart window to "create a new realcode indicator" 
and name it "PPG"

(2) Copy and paste in the code below. Delete the other header text. 
Click Apply, Save, and OK.

(3) Use the indicator to create one or more watchlist columns of "values." 

You do this by dragging the indicator over to your column area, use "values"
then you can delete the part below the chart box.

Your column will display PPG as a positive or negative gain/loss to 2 decimal places. 

It doesn't plot, so it is useless in the chart area. And it won't work without the "Plot=Change" realcode line, so don't try removing that. I already did.

(4) Use column to click-rank-order & measure the actual relative price movement of stocks, ETF's, or mutual funds you are interested in, or have available to you in your plans, between desired SPY pivot points or other calendar points of interest.

(a) With the indicator built, and the column functional, right click and "edit column" to easily adjust the dates.

Recent dates of interest:

31 Dec 2009 ............ YTD
09 March 2009 ..........Market Low
30 June 2010 ............Q3 CY2010, and a rally begin point
25 August 2010 .........another approximate SPY pivot point

Suggestion: Learn to use the "Add Date Pointer" in SF5 ... it is very useful in marking visual pivot points. 

Right click in the monthly calendar date area to access it, then you can click & drag it left right, and place it into different timeframes with various bar lengths.

(b) Select the fund style or family ... if you have SF5 with Mutual Funds... which I recommend. 

(c) Click your PPG column once or twice to rank the funds or stocks in descending order of performance. 

Now click & type in SPY or other desired index ETF or fund, etc. in the chart window to place that benchmark at the top of the watchlist screen. 

Compare relative price percent performance in the PPG column.


The net SF5 result is very similiar to using the "C" function ... Custom Date Sort... in Telechart
and then creating a "sort value" column to display the value of the movement of the
ranked securities. 

To the advanced user-analyst this is all child's play, but to the new market participant
it may be salvation.

http://www.worden.com/legacy/TeleChartHelp/Content/Sorting/Custom_Date_Sort.htm


Mutual Fund Managers ?  

They can run, but they cannot hide, from accurate, timely numerical analysis.
Think Fantasy Football.

Retirement investing is no football game, I'll grant you, but it is not supposed to
be an easter egg hunt done without battlefield intelligence.

Semper Fidelis.
Monte


Example:

GE 12/03/2010 ........$16.78
GE 12/31/2009 ....... $15.13

16.78 / 15.13 = 1.1091

PPG = 10.91%

PPG realcode indicator 
column's output = 10.91

Credit for the coding goes to Bruce Loebrich & the support team at Worden. 

I had to tweak a parenthese or two to get the code to output the number I wanted, but the 
real code authorship is theirs, responding to a request I submitted. 



'|******************************************************************
'|*** StockFinder RealCode Indicator
'|*** Indicator: PPG - Price Percent Gain between Dates
'|******************************************************************
'# Cumulative
'# StartDate = UserInput.Date = "12/31/2009"
'# EndDate = UserInput.Date = "12/03/2010"
Static Ref(1) As Integer
Static Change As Single
If isFirstBar Then
    Ref(0) = Math.Min(IndexForDate(StartDate), IndexForDate(EndDate))
    Ref(1) = Math.Max(IndexForDate(StartDate), IndexForDate(EndDate))
    Change = (Price.Bar.Value(Ref(1)) / Price.Bar.Value(Ref(0)) - 1)*100
End If
Plot = Change

Topic: PPG - Price Percent Gain between user specified Calendar dates
Posted: Sunday, December 5, 2010 5:35:35 PM

PPG - Price Percent Gain between dates

 XRAY vision into actual price movement using this realcode indicator to rank order 
performance. Ignorance isn't bliss.

(1) Use the Green "+" symbol in the chart window to "create a new realcode indicator" 
and name it "PPG"

(2) Copy and paste in the code below. Delete the other header text. 
Click Apply, Save, and OK.

(2) Use the indicator to create one or more watchlist columns of "values." 

You do this by dragging the indicator over to your column area, use "values"
then you can delete the part below the chart box.

Your column will display PPG as a positive or negative gain/loss to 2 decimal places. 

It doesn't plot, so it is useless in the chart area. And it won't work without the "Plot=Change" realcode line, so don't try removing that. I already did.

(3) Use column to click-rank-order & measure the actual relative price movement of stocks, ETF's, or mutual funds you are interested in, or have available to you in your plans, between desired SPY pivot points or other calendar points of interest.

The net SF5 result is very similiar to using the "C" function ... Custom Date Sort... in Telechart
and then creating a "sort value" column to rank selected securities. 

To the advanced user-analyst this is all child's play, but to the new market participant
it may be salvation.

http://www.worden.com/legacy/TeleChartHelp/Content/Sorting/Custom_Date_Sort.htm


Many active manager pro's work the relative performance of their stock, mutual fund or ETF 
portfolios against a market index benchmark like the SP500. 

We will use the granddaddy ETF ... SPY as a "proxy" for that.

(1) Select fund style or family if you have SF5 with Mutual Funds... which I recommend. 

(2) Click your PPG column once or twice to rank the funds or stocks in descending order of performance. 

Now type in SPY or other desired index ETF in the chart window to place that benchmark at 
the top of the watchlist screen. 

Walla: You are seeing the best in breed item-in-watchlist percent gain performance with the SPY 
or other appropriate benchmark ... over same time period. This does not take into account Sharpe ratio's
and other portfolio risk metrics, just raw percent gain performance.

Mutual Fund Managers ?  They can run, but they cannot hide, from realtime numerical analysis.

Think Fantasy Football.


Example:

GE 12/03/2010 ........$16.78
GE 12/31/2009 ....... $15.13

16.78 / 15.13 = 1.1091

PPG = 10.91%

PPG realcode indicator 
column's output = 10.91

Credit for the coding goes to Bruce Loebrich & the wonderful support team at Worden. 

I had to tweak a parenthese or two to get it to output the number I wanted, but the 
real code authorship is theirs, upon a previous request I submitted to them. 

Semper Fidelis.
Monte


'|******************************************************************
'|*** StockFinder RealCode Indicator
'|*** Indicator: PPG - Price Percent Gain between Dates
'|******************************************************************
'# Cumulative
'# StartDate = UserInput.Date = "12/31/2009"
'# EndDate = UserInput.Date = "12/03/2010"
Static Ref(1) As Integer
Static Change As Single
If isFirstBar Then
    Ref(0) = Math.Min(IndexForDate(StartDate), IndexForDate(EndDate))
    Ref(1) = Math.Max(IndexForDate(StartDate), IndexForDate(EndDate))
    Change = (Price.Bar.Value(Ref(1)) / Price.Bar.Value(Ref(0)) - 1)*100
End If
Plot = Change