Trading between Support & Resistance
Author: Investit
Creation Date: 7/4/2015 3:06 PM
profile picture

Investit

#1
I am looking for a simple strategy to buy at a % close to the support and sell at resistance levels. I am not a programmer although have in years past modified code once I understand the example, however even though I prefer the rules based method (which do not exist at this time) I would be glad for any code at this time.

I use the Fidelity ATP which includes S&R lines (individual charts only) created from Recognia data. After talking with Recognia they say the data is available to Fidelity to incorporate in their screener, however after talking with Fidelity they say it is a great idea for a next release ----- basically I'm out of luck here.

I know that there are various methods, hopefully someone has calculated a support and resistance level in some way (any way or various ways) that I could initially use. I will take the raw code.

I am accustomed to the ATP levels and what I hope to do is learn and modify the code variables to closely match the ATP levels
profile picture

Eugene

#2
I have no idea how these levels are coded in ATP. Maybe these methods could be of some help:

Support and Resistance Zones
TASC 2014-04 | Evidence-Based Support & Resistance (Dickover)
profile picture

WEALTHPRO25

#3
i have the following code it compiles but support and resistance are not showing in the chart please help, can you please help to show support and resistance on the chart, thank you

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

Cone

#4
Well, you're in luck. "Support and Resistance Zones" per Fidelity was programmed long ago (2008) by Glitch and is available using the convenient "Strategy Download" feature (found in Wealth-Lab's Open Strategy dialog, Ctrl+O).



The problem with your code is that you've combined two scripts into one file. That's not going to work. It looks like you may already have the S&R script. If that's the case for the code above, delete it using the Strategy Explorer and download it again.
profile picture

WEALTHPRO25

#5
i have it but i am not able to see it superimposed on the TMV_1202Star : WealthScript chart, please help

i can see each chart individually but not togather, i composed a code for both but i can only see the tmv chart, thanks

so is there any way to see the tmv chart and the support and resistance on the same chart

it really helps to see both togather on a chart to make trade decisions
profile picture

Cone

#6
Very easily. For the best organization, create a method for each script, and call both methods from WealthScript's Execute() method. Like this -

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

Eugene

#7
QUOTE:
i can see each chart individually but not togather, i composed a code for both but i can only see the tmv chart, thanks

"Composed"? What a well-chosen epithet for "made a hit or miss attempt to throw two separate strategies together"! :)

What I'm trying to tell is that you're doing yourself a bad service when attempting to copy/paste instead of starting from such basics as C# (WealthScript) structure.
profile picture

WEALTHPRO25

#8
thanks i got it
profile picture

Ayjahsun1

#9
Hello, whats a good timeframe to run this on to get results I am currently not getting any results at all.
profile picture

Eugene

#10
Depends on what results you expect. This is a utility script that plots S&R levels (no trading). Works just great on daily and intraday timeframes.
profile picture

Ayjahsun1

#11
It would be great if this could be added to community indicators this way it can be plotted on my charts and also I would like to be able to generate tradable alerts when the ticker is at the 40 100 250 or 500 support or resistance level. Currently, in ATP, I set an alert at those levels however I would like to use WLP to generate the alert do backtesting and execute the trade any chance this can be done?
profile picture

Eugene

#12
Unfortunately it cannot be added to Community Indicators because it's not an indicator. It's a routine that draws polygons using WealthScript.
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).