Quote from Hombre:
Would you or someone else translate this code to plain english rules for us, computer language challenged?
Thanks,
hombre
Keep track of the high of the day for the first 15, 15 minute bars.
After 15, 15 minute bars from the open have passed
and the adv/(adv+dec) (ratio of advancing/declining issues) is greater than whatever value you want
and trin is less than the value you chose
then BUY on the next bar at the high of the 15 bar opening range + some amount you chose. I use 0.01 above the high of the opening range.
Keep the BUY at the high of the open range (also maintaining the ADVDEC ratio and trin requirements) active until 215 PM. NO opening trades after 315PM . Also, only take one opening trade a day. This means the first and only opening order can be placed after the close of the 115 PM bar and before the 315PM bar completes, times are for eastern time zone.
Sell if the price is below the low of the 15 bar opening range.
Exit on the close of the last bar of the day.
Also, I use a partial trailing stop, a breakeven stop and a stop loss of about 1%.
If you want, don't trade on a certain day of the week, eg-skip Thursdays.
I think this covers the logic for longs; for shorts, reverse the logic.
DS
