|
Quote: |
|
 |
|
|
Well, thanks, but I think everyone here is getting a bit sidetracked by trying to determine what is or isn't a trend. Really, the only definition I'm interested in is the one I defined -- 4 full points on the ES in one direction (doesn't matter which) without a 6 tick retracement in the midst of that trend. That's not something I made up -- the system I'm trading has a higher probability of working by not trading a reversal of such a trend. I don't expect there to be anything with those exact parameters, of course. I was just hoping there might maybe be a code in which I could just plug in those numbers. For all I know, it's a ridiculous question. I'm still fairly new to trading, and even newer to TradeStation (I had used Sierra Chart before). Furthermore, I know NOTHING about coding! The only reason I think it might NOT be a ridiculous question is that I've already found myself amazed at what's out there, and what's possible even if not yet out there. Hope that clears things up! Thanks again. |
|
|
|
|
J-S
Thrunner has posted some excellent material for you, but you seem to have dismissed it. I don't mind coding something up for you, but what you're describing without a pic doesn't make sense, as you can see in my chart below all 4 point moves are not equal.
Now seriously, I've asked 3 times for you to post a chart, but nothing yet, you keep saying just a 4 point move without a 6 tick retracement.
Heres the code you're after but it's missing a vital part:
Inputs:
UpColor( Green ),DownColor ( Red);
Condition1 = UpTrend
{ this being your version of an uptrend, eg 3 higher highs or 3 higher closes, or 3 closes above a moving average, above ATR.....etc }
Condition2 = DownTrend
{ Opposite criteria for uptrend }
If Condition1 then Plot1(high,"UpTrend", UpColor);
If Condition2 then Plot2(Low,"DownTrend", DownColor);
Cheers
Blu-Ray