Support Resistance Trading Strategy
Author: luv
Creation Date: 11/28/2009 12:33 PM
profile picture

luv

#1
CODE:
Please log in to see this code.
profile picture

luv

#2
It was posted under September 2005 in the Active Trader Magazine. It was written for Wealthlab 4.0. Is this easy to convert to Wealthlab Pro
profile picture

Eugene

#3
Try the WealthScript Translator tool. You'll find its download link if you scroll down to: Will Wealth-Lab Developer 5.x recognize my chartscripts?
profile picture

luv

#4
I copied the code and ran the translator. It didnn't like it. Simply copy and pasting the code results in a rather jumbled mess on the translator. Might be a snippet of code or not compatible. I do not have Wealthlab 4
profile picture

Eugene

#5
Unfortunately, it was not designed for simply copying and pasting -- but that is reflected in its online help file.

Save the code as a text file with .WS extension, configure the directories as its manual suggests, and run WSTL on the file.
profile picture

jalalfeghhi1

#6
Eugene,
Hi, I hope I have posted my question to the right thread. I have to assume this functionality exists but I have not been able to find it. Does WLP have any built-in support for finding support and resistance levels? I need to be able to plot them and execute trades when such support levels get broken.

-thanks, j
profile picture

Eugene

#7
WLP/D has support for utilizing manually created trendlines in code (TrendlineValue), finding support and resistance levels is up to you. Here's a bunch of assorted ideas from different times for you to start with:

Draw trendlines with own indicators?
Is there a channel function?
Generating MACD Trendline
InstantaneousTrendLine
Trading signal based on Manual trendline


Make sure you've went through all linked pages as there's a number of trendline indicators developed (e.g. TrendLinePeaks/TrendLineTroughs)
profile picture

jalalfeghhi1

#8
Eugene,
Great, thanks. I think this will keep me busy for a week :-)
profile picture

jalalfeghhi1

#9
Eugene,
Thanks again for your help. Perhaps I am doing something wrong but I have run into the following issues:
InstantaneousTrendLine: The page does not give an example, I don't know where this function is, how can I can access it?
Draw trendlines with own indicators: It refers to TrendLinePeaks/TrendLineTroughs, again I am not sure where the code is. The page shows an exmaple which is very hard to read due to formatting. It is not clear where this function is.

Another question, would that be easier to find support and resistance levels in other chart styles? Are there any examples?

Thanks for your help, -J
profile picture

Eugene

#10
QUOTE:
InstantaneousTrendLine: The page does not give an example,

That's right. There is no example because it does not exist.
QUOTE:
how can I can access it?

Exactly like you would do with any other DataSeries. Should not be a problem as you're a C# developer.
QUOTE:
It refers to TrendLinePeaks/TrendLineTroughs, again I am not sure where the code is.

There's not too much places to look for the code, and this time there's no surprise -- it's in the Wiki:

TrendLinePeaks
QUOTE:
Another question, would that be easier to find support and resistance levels in other chart styles?

No but that's a perfect task for Chart Drawing Objects (CDOs). Trend lines, Gann, Fibonacci... all you see on that toolbar is a CDO, and you can program your own. Unfortunately, Fidelity unpublished the documentation so no manual is available online.
profile picture

jalalfeghhi1

#11
Thanks Eugene -j
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).