Converting Simple Parabolic Rules to Strategy
Author: zozzy
Creation Date: 5/16/2010 2:38 PM
profile picture

zozzy

#1
I used Rules to create a simple strategy to SEll at Parabolic Stop and BUY at Parabolic Stop. I checked all 3 sliders for both SELL and BUY. That gave me 6 slider, which seemed like 3 too many. The strategy worked, but there were only BUY signals, no SELL signals. Plus optimization says that 6 are too many variables.

Attached is the Script that resulted. What can I do to amke this BUY and SELL and be optimizable?

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

Eugene

#2
Very simple:

1. Eliminate the 3 unnecessary (duplicating) variables (slider4..6).
2. Replace the missing variable names accordingly (i.e. slider4 should become slider1 etc.)
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).