| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Trend Trader code convert https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5085 |
Page 1 of 1 |
| Author: | grimweasel [ Mon Feb 20, 2017 11:44 pm ] |
| Post subject: | Trend Trader code convert |
Hi folks. A little code conversion help please. This is plots the indicator developed by Andrew Abraham in the Trading the Trend article of TASC September 1998 but in ProRealTime. Is there anyway this could be converted into Empty4/5 code enabling it's use on my FX price chart window please? The calculation uses a 21-period weighted average of the true range, giving higher weight to the true range of the most recent bar. The final value is then multiplied by 3. The volatility indicator is used as a stop-and-reverse method. Let's say the market has been rising, then the volatility indicator is calculated each day and subtracted from the highest close during the rising market. The highest close is always used, even if there has been a series of lower closes since the highest close. If the market closes below the volatility indicator, then for the next day, the current reading of the volatility indicator is added to the lowest close. This step is followed each day until the market closes above the trailing volatility indicator. We now have a definition of the trend. An upward trend exists as long as the volatility indicator is below the market and a downtrend is in force if the volatility indicator is above the market. Code: Select all Best Grim |
|
| Author: | xrismak [ Tue Feb 21, 2017 12:04 pm ] |
| Post subject: | Trend Trader code convert |
Grimzizzy, You like that Gizmo.... :!: Hehehehehehehehe, Enjoy. xrismak |
|
| Author: | grimweasel [ Tue Feb 21, 2017 4:57 pm ] |
| Post subject: | Trend Trader code convert |
xrismak old bean. I like to use it for visual placement of vola related stops |
|
| Author: | SteveHopwood [ Tue Feb 21, 2017 10:26 pm ] |
| Post subject: | Trend Trader code convert |
Cannot help with the programming here. Just posting in the hope that one of the Resident Coding Genius' here will notice that I have posted, will read your post and step in to help. It happens sometimes. I hope you get sorted out. |
|
| Author: | renexxxx [ Wed Feb 22, 2017 7:21 am ] |
| Post subject: | Trend Trader code convert |
I attach the AbrahamTrendIndi with the following disclaimer: 1. I don't know ProRealTime code. Never heard of it, never seen it before. 2. I don't know Andrew Abraham, nor the article in the TASC September 1998. So, I totally miss the background and context for this indicator. The attached code is my interpretation of the ProRealTime code -- it could be totally wrong, but it may inspire some other coders to correct my mistakes. Have fun! |
|
| Author: | grimweasel [ Wed Mar 01, 2017 7:44 am ] |
| Post subject: | Trend Trader code convert |
Hey guys and Steve. Thanks so much for the help with this. I just wanted to forward test this as it came up in a book I was reading about trends. I have a VERY good and accurate Support and Resistance (SR) Indicator (TLB - Three Line Break) attached but I was wondering if a KIND coder would be able to add another SR line so that it shows x2 for each TF? This Indy gives the next SR levels for 'y' time frame on your chart, but as I use limit orders in my trading I need 2 levels for each TF on my charts allowing for stop placement. Does the code allow for this? Currently it will show say H1 and H4 levels nearest price but I wanted it to show the next level, so two levels above and below price for each chart? Thanks kindly in advance. |
|
| Author: | milanese [ Wed Mar 01, 2017 8:44 am ] |
| Post subject: | Trend Trader code convert |
De-compiled code is strictly prohibited to post in our forum, you should now this rule, I have deleted your attachments. Cheers Tommaso |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|