ronun 27 posts msg #79752 - Ignore ronun |
9/21/2009 4:18:11 AM
Cacher, Chetron, Kevin_in_GA
I finally worked out the bugs in the Value Charts from the book "Dynamic Trading Indicators." I haven't figured out how to make it clickable.
/* Calculate FLOATING AXIS*/
SET{VAR1,HIGH + LOW}
SET{VAR2,SUM(VAR1,5)}
SET{FLOATINGAXIS,VAR2 / 10}
AND ADD COLUMN FLOATINGAXIS
/*Calculate VOLITILITY UNIT*/
SET{DIFF1,HIGH - LOW}
SET{DIFF2,SUM(DIFF1,5)}
SET{VOLITILITYUNIT,DIFF2 / 25}
AND ADD COLUMN VOLITILITYUNIT
/*Calculate VALUE CHART HIGH*/
SET{VALUEHI,HIGH - FLOATINGAXIS}
SET{VALUECHARTHIGH,VALUEHI / VOLITILITYUNIT}
AND DRAW VALUECHARTHIGH
AND DRAW VALUECHARTHIGH LINE AT 4
AND DRAW VALUECHARTHIGH LINE AT 8
/*Calculate VALUE CHART LOW*/
SET{VALUELO,LOW - FLOATINGAXIS}
SET{VALUECHARTLOW,VALUELO / VOLITILITYUNIT}
AND DRAW VALUECHARTLOW
AND DRAW VALUECHARTLOW LINE AT -4
AND DRAW VALUECHARTLOW LINE AT -8
AND ADD COLUMN HIGH
AND ADD COLUMN LOW
AND ADD COLUMN VALUECHARTHIGH
AND ADD COLUMN VALUECHARTLOW
SHOW STOCKS WHERE VALUECHARTLOW IS BELOW -8
SHOW STOCKS WHERE CLOSE IS BETWEEN 1 AND 300
AND AVERAGE VOLUME(30) IS ABOVE 100000
Kevin_in_GA, the buy/sell signals generated are largely in agreement with your Bollinger(16,2.5) entries, although I think Bollinger(16,2) fits better. Let me know how it works for you.
|
chetron 2,817 posts msg #79754 - Ignore chetron |
9/21/2009 6:45:27 AM
CLICKABLE...
|
chetron 2,817 posts msg #79755 - Ignore chetron |
9/21/2009 6:51:24 AM
VERY NICE = D
|
Kevin_in_GA 4,599 posts msg #79758 - Ignore Kevin_in_GA |
9/21/2009 8:37:56 AM
Kevin_in_GA, the buy/sell signals generated are largely in agreement with your Bollinger(16,2.5) entries, although I think Bollinger(16,2) fits better. Let me know how it works for you.
+++++++++++++++++++
Possibly, but to me the important question is which setting generates more profit and a higher reward to risk ratio. So far, it looks like 2.5 SD works out to be a little better than 2.0, especially when trade costs are factored in.
|
Cacher 121 posts msg #79760 - Ignore Cacher modified |
9/21/2009 9:09:32 AM
ronun ... nice job, interesting results ! I will be watching how it performs ....
to make you screen "clickable" ... begin by typing "fetcher" , then (with no space between) type the opening bracket "[" ....... then paste your screen ,,,, then the closing bracket "]" .... that's it !
|
chetron 2,817 posts msg #79807 - Ignore chetron modified |
9/21/2009 8:49:41 PM
FOR THE CHEAP SEATS...
FOR THE ADVANCED FOLKS....
|
Stringman808 1 posts msg #91443 - Ignore Stringman808 |
4/20/2010 5:02:08 PM
I hope the indicator is working for you, but I don't think you're getting the MEDIAN. You're getting an average (MEAN). If anyone knows how to find a MEDIAN using stockfetcher, please let me know.
Obviously, the median is the middle value when you rank all the values. 50% of the values should be above it and 50% below it. MEDIAN will not be as affected by outliers as the mean will.
|