yeah maybe this will help we are measuring bar lengths from open because we need a fixed point and variables. it doesnt much matter what you label it only the points the chance of it hitting distance points matter and how the bar forms.. all of these are equally important.Quote from bilbod:
Part of the confusion comes from swapping some LSD's with SLD's without changing the name!
i use 21 bars ... 20 ema bars +1 barI 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.
profit target = max(lsd,sld) -12. 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).
failed trades to 90% knocking off 4th or 3rd STDEV from the data5. 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?
higher vol. bars create further distances from open both ways trades could have been made in both direction if you had a entry point the SLD min if that was the case meaning the SLD is BO entrance price for the LSD to simplify that mathematically just move em over .I don't understand swapping LSD's with SLD's if LSD>SLD, what is the logic behind that rule?
Bill
if neither the stop get hit or the take profit and im still in the trade on close... i close the trade as i run stats on bars themselves i trade bars themselves and can say with accuracy the next bar will continue to moveQuote from Snaggleteefs:
Thanks for sharing your ideas with us. What do you do if the bar closes and neither your take profit nor your stop loss gets hit?