Has anyone built code for FIB Retracements that could be plugged-in to a buy/sell strategy?
Size:
Color:
since the FIB lines are defined by the user picking a high and low point on the chart. How could you set it up for a program to pick the high and low points that would form the FIB lines? What type of rules do you have in mind for this aspect of FIB retracements.
Size:
Color:
You may wish to study this thread:
/Forum/Posts/Fib-Retracement-mod-22311&start=0. Its in WL4 format but perhaps you can convert it to WL5/.NET, or ask Cone/Eugene to do so.
Also, I believe the code should be included in the Code Library equivalent in WL5.
Good luck with your trading.
Size:
Color:
Reply to Gymcoach...I would look at my buy price and set that as the current low, if I'm going long...I'd like retracements to be at higher retracement prices. But I need code to pick the buy price and use it for a subsequent sale price at a Fib retracement level....Also thanks for the lead to WALL....regards....IAMSTEVE
Size:
Color:
Here is some code for creating Fibs based on the code found in the link provided by Wall that will work with WL5.
CODE:
Please log in to see this code.
Size:
Color:
Hi Gymcoach or Eugene,
Can you post a script which includes the above code? Thanks a lot.
Size:
Color:
Click the link in Wall's post above (it's for WL4).
Size:
Color:
Hi Eugene,
It is not working now in WL4.5. Should I translate for WL 5.5 and add the code above?
Size:
Color:
There are no less than 3 code snippets of V4 code by the link; which one and how exactly is "not working"?
The snippet by gymcoach right here is for V5 and it works, no need to translate anything extra.
Size:
Color:
Eugene,
could you help me to add the above code in the following published WL script? Thanks.
--
CODE:
Please log in to see this code.
Size:
Color:
Firstly, you need to use the
CODE button whenever posting code.
The Fib retracement code can safely be added right after these lines:
CODE:
Please log in to see this code.
Size:
Color:
It worked. :) :) :)
Thank you.
Size:
Color: