Quote from bilbod:
Part of the confusion comes from swapping some LSD's with SLD's without changing the name!
I have a better understanding of what you are doing now but some questions still remain.
Let me write a description of my understanding and you can point out what is incorrect.
1. Look at the previous 20 (could be variable depending on the instrument traded) bars.
2. Compute the H-O and O-L for each bar. SD=min(H-O,O-L) and LD=max(H-O,O-L).
3. Compute LSD and SLD. LSD=max(SD for previous 20 bars) and SLD=min(LD for last 20 bars).
4. Compute BO Size and Profit Target. BO Size=min(LSD,SLD)+1 and Profit Target=max(LSD,SLD).
5. Test the BO Size and Profit Target on previous 20 bars, if 90% profitable, trade the current bar.
I programmed 1-4 into the attached spreadsheet, 5 will require programming a macro.
One question is that you are excluding some values from the above calculations but I don't understand your explanation of which to exclude?
I don't understand swapping LSD's with SLD's if LSD>SLD, what is the logic behind that rule?
Bill
Yes, this could be an indicator, too.
NTW: please send me an email to gmail.