I have to rely on the wonderful WLP 5.3 Wizard. Is there any way to easily accomplish any of the following, by using the Wizard? Hopefully yes, because if I have to get into the code, I will easily get lost and mess it all up.
1. Condition: Price exceeds X% of price Y weeks earlier.
2. Condition: External symbol - indicator1 crosses above indicator2; indicator1 is above indicator2; indicator1 turns up; indicator1 is above or below value; etc. For example, .SPX stochastic K crosses above D; .SPX MACD turns up; .SPX DMI+ is above DMI-; .SPX ADX is above 15 and below 50;
3. Condition: If Condition1 and Condition2 or Condition3, Do Not Buy.
Size:
Color:
Congratulations, you've stepped over what the wizard has to offer. ;)
QUOTE:
1. Condition: Price exceeds X% of price Y weeks earlier.
CODE:
Please log in to see this code.
QUOTE:
2. Condition: External symbol - indicator1 crosses above indicator2; indicator1 is above indicator2; indicator1 turns up; indicator1 is above or below value; etc. For example, .SPX stochastic K crosses above D; .SPX MACD turns up; .SPX DMI+ is above DMI-; .SPX ADX is above 15 and below 50;
CODE:
Please log in to see this code.
QUOTE:
3. Condition: If Condition1 and Condition2 or Condition3, Do Not Buy.
CODE:
Please log in to see this code.
Size:
Color:
Not sure how to incorporate this script for "Price exceeds X% of price Y weeks earlier."
For example, I'd like add to some strategies, code saying: if Price exceeds 11% of Price 20 bars ago, then Buy at Market.
Thanks for clarifying.
Size:
Color:
CODE:
Please log in to see this code.
Size:
Color:
Got it; and got it working. Thanks Eugene.
Size:
Color: