Quote from stevegee58:
There's more to it than that, at least more than in the diagram.
Here's how I think of it in my head:
"If price moves X pips from some starting point A to a point B, then it will continue Y pips to point C without returning to point A with a probability P."
Hi steve,
This is generally how i think of it. As far as i can tell, we're on the same page here. Whether this works or not is up to the bits and bytes to decide whenever i get around to running some more tests. It was feeling like work so i took a break to so something more fun, like retro programming in old MBASIC on IBM PC and/or CP/M emulators.
Quote from stevegee58:
Nuke's initial analysis in the early part of the thread looked at candlestick data, measuring the distances from the open to the high/low to find the longest short distances and shortest long distances.
I looked at bar data pretty extensively a couple of months ago via Excel 97. I'm including the spreadsheet in this post if anyone is interested. I believe i've done the math, as well as it can be done on bar data. If anyone doubts they can check my work.
Quote from stevegee58:
The weakness of the LSD/SLD price bar method is that you're taking snapshots of price action and not looking at all the ticks. It's like lossy compression in a way; the data is more succinct but you lose information in the process.
This is what my tick data tests seem to suggest, unless i've miscalculated somewhere.
Quote from stevegee58:
One other thing to consider is that the LSD/SLD bar analysis also imposes a time constraint. The movement from point A to B to C is defined to be within the time period of 1 bar. So if you're looking at 1 hour bar data, the whole movement from A to B to C has to take place within 1 hour.
With code, any scenario can be tested to see if it works. The question here is should the trade be ended at the end of each time interval...or should the trade be allowed to go until it takes profit or stops out. By changing a couple of variables, both can be tested. Whichever one i've tested so far , it doesn't seem to work.
Quote from stevegee58:
If you analyze tick data directly, it begs the question about timing. Do you constrain the traversal of points A, B and C within some time period? Or do you just say that the traversal can occur within any time period as long as it's in sequence?
Or in other words, if a trade has been initiated, should it be allowed to end according to the take-profit/stop parameters...or should it get terminated at a time-stop. As mentioned, it's relatively easy to test either scenario, once the code is set up.
ABOUT THE SPREADSHEET:
The calculations are done completely without any macros. I used only cell formulas to accomplish all the math. I wrote some macros just to automate the loading of data into the spreadsheet. I doubt i can upload a sheet with macros so what i did is i put all the code in a comment box that's located at cell A1 of the sheet "SPREADSHEET". Just put it into a module and click on any of the macros. They're all safe. The spreadsheet comes with a ton of bar data that that i collected from Yahoo for various time frames. The macros load this data into the "SPREADSHEET", where the formulas take over and get all the calculations done. The cells are not locked so be careful about accidentally erasing some formulas. That won't happen if you use the macros.
Data is loaded into cell C6 as DATA, HIGH, LOW, CLOSE.
Ok, it appears the data laden spreadsheet is too heavy to be uploaded so i've stripped the sheet down to the one sheet with formulas.
Ok...forget it. I can't even upload a simple spreadsheet.