|
|
|
|
|||||||
| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() |
|
|
LinkBack (3) | Thread Tools | Display Modes |
|
||||
|
Re: REQ Help with Trend Indicator
Thanks a lot guys for the help.
gassah Last edited by gassah; 11-29-2007 at 07:58 PM. |
|
|||||||||||||||
|
Re: REQ Help with Trend Indicator
Here's a revised version, using BlowFish's observations, I've compared it with the original picture JJ posted at the start of the thread. It's very close to Traderguiders version using, as you can see on the charts below, there are 3 rogue dots. So the code might not be exact, but this could be down to different platforms handling different data.
![]() ![]() Here's the code for it.
Blu-Ray
__________________
Remember - Take the path of least resistance. |
|||||||||||||||
|
||||
|
Re: REQ Help with Trend Indicator
hi guys...
I have been working on something similar so thought I would chime in... rather than have the indicator follow price as in a close relative to a moving average, personally I find it more useful to compute a price in advance that signals a 'reversal' if touched. Thus you can see a 'mechanical trigger point' in advance rather than having to wait for a bar to close. I realize this is really only a minor difference in what you are doing but thought I would throw this in anyway. Linda Rashke just did a presentation using her own indicator here: https://lbrgroup.com/images//Bloombe.../bloomberg.pdf her indicator paints the bar depending on where the current bar closes relative to the trailing 16 bar high/low. thus, if in a downtrend -- the bar would be red and switch to green on any close that is above the 16-bar low +2.5 avgtruerange's --- she uses: avgtruerange(9), btw. I have played around these settings and like 1.5 true ranges better and like computing a price in advance rather than waiting for the bar close -- you can use buy and sell stops to enter when you have the computed price in advance. Here is an example: ![]() |
|
|||||
|
Re: REQ Help with Trend Indicator
Just had another thought...we still haven't explained 2 whites. I'm confident in guessing (not even going to look at the chart again!) that if the MA is up and you close below you get white and will continue to get white until the MA turns down (red) or you get a close back over the MA (Green).
I think that will make it identical. Its not a bad little indicator though I rather like a 3 period SMA. Cheers. |
|
||||||||||||||||||||||||
|
Re: REQ Help with Trend Indicator
|
||||||||||||||||||||||||
|
||||
|
Re: REQ Help with Trend Indicator
here is an example from today.
I entered ES when it appeared price failed just under VWAP. I did this with a market order before the 'confirmation' of the reversal price triggered. I set a stop-market order at the computed reversal price to enter YM as a way to add to my initial order. I totally screwed up on the YM exit as you can see. The key here was not this indicator -- but it was nice in the heat of battle to have a computed price to go with. Just an example. ![]() |
|
|||||
|
Re: REQ Help with Trend Indicator
Yes there does appear to be more to it. There seems to be a condition of the closes closeness to the MA. It's almost like there's a very small MA envelope around the MA and until it breaks out of that the second close won't change from white.
There's the added observation that if you're closing above the MA then you get a drastic close below, bypassing that "envelope", it will go straight from green to red and bypass white all together. I've posted a 5min chart of the ES with the diamonds on so if you guys would like to trouble shoot you can. I can post any chart you like with them on to test with. |
|
|||||
|
Re: REQ Help with Trend Indicator
Blu-Ray, I'm just trying to make your life difficult. But here's another condition for you that will explain some of the white diamond action.
As you can see in the attached pic, point A should be "green" (mine are blue) because it's the 2nd close above the MA. But it closes below the previous bar which keeps the diamonds white. Then point B closes level to A which also keeps it white. If that would have closed up it would have been green. Then we see Point C is white as well because it closes below the MA after a close above it. But then look at the next bar. It's wide range up and goes straight to green (blue in my case) because of my MA envelope theory. So did I ruin your weekend thinking about programming this? lol |
![]() |
LinkBacks (?)
LinkBack to this Thread: http://www.traderslaboratory.com/forums/f56/req-help-with-trend-indicator-2428.html
|
||||
| Posted By | For | Type | Date | |
| REQ Help with Trend Indicator - Page 3 - Traders Laboratory | This thread | Refback | 12-12-2007 11:08 AM | |
| Traders Laboratory - forumdisplay | This thread | Refback | 11-27-2007 12:50 PM | |
| Traders Laboratory - forumdisplay | This thread | Refback | 09-10-2007 03:20 PM | |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Heikin Ashi Trend Indicator | Soultrader | Trading Indicators | 25 | 02-21-2008 06:24 PM |
| 3bar trend | waveslider | Trading Indicators | 18 | 01-29-2008 06:39 PM |
| Trend lines on an indicator | zardoz | Technical Analysis | 1 | 05-16-2007 12:59 PM |
| Volume Gradient + Heikin Ashii Trend Indicator | GCB | Trading Indicators | 27 | 04-07-2007 08:29 AM |
| Trend Trading vs Counter Trend Trading | Soultrader | Technical Analysis | 9 | 10-29-2006 11:32 AM |
|
|
|